diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-07-18 18:28:14 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-07-18 18:28:14 +0000 |
| commit | 4b7c39595a2c648992d637e2284e6e961f773db2 (patch) | |
| tree | c478107fb27964d9740f000a5f26421b8a67ec88 /dev-python/pyyaml | |
| parent | c539ac4c3221b0e4fc8d010406689c93f119d644 (diff) | |
| download | baldeagleos-repo-4b7c39595a2c648992d637e2284e6e961f773db2.tar.gz baldeagleos-repo-4b7c39595a2c648992d637e2284e6e961f773db2.tar.xz baldeagleos-repo-4b7c39595a2c648992d637e2284e6e961f773db2.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pyyaml')
| -rw-r--r-- | dev-python/pyyaml/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyyaml/pyyaml-6.0.1.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/pyyaml/Manifest b/dev-python/pyyaml/Manifest index a415685ef288..6c5246976908 100644 --- a/dev-python/pyyaml/Manifest +++ b/dev-python/pyyaml/Manifest @@ -1 +1,2 @@ +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 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..9de8bc8c5fbf --- /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_{7,8,9,10,11} 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 +} |
