diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-16 13:07:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-16 13:07:24 +0100 |
commit | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (patch) | |
tree | 464c922e949c7e4d5d891fb2cdda5daee5612537 /dev-python/ruamel-yaml | |
parent | e68d405c5d712af4387159df07e226217bdda049 (diff) |
gentoo resync : 16.04.2022
Diffstat (limited to 'dev-python/ruamel-yaml')
-rw-r--r-- | dev-python/ruamel-yaml/Manifest | 3 | ||||
-rw-r--r-- | dev-python/ruamel-yaml/metadata.xml | 4 | ||||
-rw-r--r-- | dev-python/ruamel-yaml/ruamel-yaml-0.17.21-r1.ebuild | 57 |
3 files changed, 59 insertions, 5 deletions
diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest index 29d6e3045c93..052765e4c154 100644 --- a/dev-python/ruamel-yaml/Manifest +++ b/dev-python/ruamel-yaml/Manifest @@ -1,3 +1,4 @@ DIST ruamel.yaml-0.17.21.tar.xz 184612 BLAKE2B cc7e2a336d3c77a9f2d7e5d7233ceb4d15fddca3a97ec0e54427469fd24c7c63fc70b258adbad92a816d99a1f9839d41eccb9f3224e7a23884914755fa424bc9 SHA512 87f4723bfc76b1b21168852aabe4b49921f175294ac05b4e3f292f2bcf23fe6595df3e066843d193f881b274be2a7b358bd04625afef913bb0e5811efe98b761 +EBUILD ruamel-yaml-0.17.21-r1.ebuild 1393 BLAKE2B 013f2a2ce71ebe9383ba9a765aa230b0825f2978fa6f53f8b2cfe826b12c6c522c1079639fee074e0db8f9633aad895f785ca6a44e95aa1ba8a11ee822a340a3 SHA512 15bc06351c27703c72d19712e077b1e872747e9a02e62659be28a0970dc39c15e5da3e07f62999e80aa4e7cc3047c39ae0aebd4d83dd7ce2e761a9975d5a9795 EBUILD ruamel-yaml-0.17.21.ebuild 1264 BLAKE2B e83e161b6ff1b67a74f7bd4993c129b22613c4981a1c124b37e89afc226db80f5a4eaa96e0aa0e9ddf0bdd670899bdfde75be821ad571f92479e5e685e15a9d7 SHA512 11e3dd3e090ef8470825de7d23e856c725c066eaafbb367a319ee1f76ccb224b252893837cbaf223c90eb2776c5305f2eea79d153bd774a2782209befaa2a7a2 -MISC metadata.xml 871 BLAKE2B 6564544cff4338a49a824966fba46176125f3318f3a53fd11a1983f3c2f08524dbb9479f3ddd16a58367e4e044aee1d9c14779a425b84a1d80e5e14a59a9eab7 SHA512 9edf1d1c08b976f51e8eae4582d56d99ea1e47a9da29c62e3e3a9402cc616bc587c7d9d8324660485a10f5547d18df270fa3aca21d198d56d886a53978c2ef75 +MISC metadata.xml 759 BLAKE2B ce5ec2429c5fe84587d1b5e7744055e1e8e91eae8dec780a4654cab405df46350d1c8175827351948364255b8fcd62ea234239260c01b8ce23b8db182e6514e6 SHA512 faa587083ffa9af40108e2ca9cfb7a4e2c3e19a731b39241a7ec62d6fca051ace92bcff3fa9896a343fdc196a04fe1d132bcbb7bfa3fd96401ac996b76bba4ee diff --git a/dev-python/ruamel-yaml/metadata.xml b/dev-python/ruamel-yaml/metadata.xml index 5214b2a0fc07..005ccc63c8de 100644 --- a/dev-python/ruamel-yaml/metadata.xml +++ b/dev-python/ruamel-yaml/metadata.xml @@ -2,10 +2,6 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>andrey_utkin@gentoo.org</email> - <name>Andrey Utkin</name> - </maintainer> - <maintainer type="person"> <email>marecki@gentoo.org</email> <name>Marek Szuba</name> </maintainer> diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.17.21-r1.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.17.21-r1.ebuild new file mode 100644 index 000000000000..a5c9a8fbd528 --- /dev/null +++ b/dev-python/ruamel-yaml/ruamel-yaml-0.17.21-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..10} ) + +inherit distutils-r1 + +MY_P="${P/-/.}" +DESCRIPTION="YAML parser/emitter that supports roundtrip comment preservation" +HOMEPAGE=" + https://pypi.org/project/ruamel.yaml/ + https://sourceforge.net/projects/ruamel-yaml/ +" +# PyPI tarballs do not include tests +SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz" +S="${WORKDIR}"/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ruamel-std-pathlib[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + local EPYTEST_DESELECT=() + [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( + _test/test_deprecation.py::test_collections_deprecation + ) + local EPYTEST_IGNORE=( + # Old PyYAML tests from lib/ require special set-up and are + # invoked indirectly via test_z_olddata, tell pytest itself + # to leave the subdir alone. + _test/lib/ + ) + + # this is needed to keep the tests working while + # dev-python/namespace-ruamel is still installed + distutils_write_namespace ruamel + epytest +} |