diff options
Diffstat (limited to 'dev-python/pyyaml')
-rw-r--r-- | dev-python/pyyaml/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyyaml/pyyaml-6.0.1.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/pyyaml/Manifest b/dev-python/pyyaml/Manifest index 531968553845..68aa736692e3 100644 --- a/dev-python/pyyaml/Manifest +++ b/dev-python/pyyaml/Manifest @@ -1,3 +1,5 @@ +DIST pyyaml-6.0.1.gh.tar.gz 120376 BLAKE2B c34f2169f6eb6aa718aeb53dbfaf02590e11e504d16cc85a802e1a1191f296ef9aa2501db683e1a48173ce6adeaeca09f2ab989581dcf1c1ba4004831bb4cf47 SHA512 1c74a92a4ad7d47854dc7bcb2e89b3c8e0b14fa815c7dbfbc22b24480dbba6c81e971c77ee384c494a960914b95f06edf943d7431925a5ed674a0ba830d258e0 DIST pyyaml-6.0.gh.tar.gz 119855 BLAKE2B 286678ac81f2e6c252d285d2f98dab98894787e3aa164a29a697986f56200c7b71b0a768edf6d50e61065efcd054078673270872162a4975409928d7dd67aacc SHA512 cbcacc3560a035e2082867e93a9733f8660ea4c7f60573d07642f33a5453dcdc88d67299c3bcb97c27b843202a45d40de7444eb5e815bd4955129c9fc8ae04ad EBUILD pyyaml-6.0-r1.ebuild 1001 BLAKE2B 5426c1d8eb6e6c3f4a38552cde9b95ba28117754533b2663547ad354c6f34399a6f5181ad2aa19f584d1c964183f905faea2e3530b816a898718f931dd4f25fa SHA512 a287ad775eaadbf63851437e001cc018f4eba7f265e4bc73b4de6d18fa2882a162b9b95d0a46693bb9f7130a00b92beada115eb784ad37a2b25b8cb231b979f2 +EBUILD pyyaml-6.0.1.ebuild 1009 BLAKE2B f50ab419ecd6f7a493746deac68d0c304f1d95b12553f31595ab502b38b253d1696cdc03bb664f6798908f4774919c88978c3d4a1b41824827918d261736a671 SHA512 bb448d24da014321751473dc002829c009f2bd87e83db7c7b96b2a04ca058eaf05790a85f892f08e7472d7674c5dd0e699bf5e7657b296a0b784e087b5e54dfb MISC metadata.xml 426 BLAKE2B 6216e38c3e79e811aced6c777b49779953abf4f1b0a1185947f6a6fdc851fdf4cc973092024a6cb2d76bf06863feb49742c7a6892a8761b48a5e74902757a610 SHA512 f549b70fcf1588625fcc2bc33ad0c41faa267ad5bb84d564f5502dee1ad2340a663d1a2b92cf9fdeed827a5f7cebdbe76d59166e89de6d03e7933141029c051d diff --git a/dev-python/pyyaml/pyyaml-6.0.1.ebuild b/dev-python/pyyaml/pyyaml-6.0.1.ebuild new file mode 100644 index 000000000000..f641cb040b2b --- /dev/null +++ b/dev-python/pyyaml/pyyaml-6.0.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="YAML parser and emitter for Python" +HOMEPAGE=" + https://pyyaml.org/wiki/PyYAML + https://pypi.org/project/PyYAML/ + https://github.com/yaml/pyyaml/ +" +SRC_URI=" + https://github.com/yaml/pyyaml/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="examples" + +DEPEND=" + dev-libs/libyaml:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + <dev-python/cython-3[${PYTHON_USEDEP}] +" + +distutils_enable_tests setup.py + +src_configure() { + export PYYAML_FORCE_CYTHON=1 +} + +python_install_all() { + distutils-r1_python_install_all + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF} + fi +} |