diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-03 21:56:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-03 21:56:14 +0000 |
commit | 9d352bec7c48de973d3fa345f92f733fe075f19a (patch) | |
tree | 64f90676327e8109f90198f42bb1f1784c68e969 /dev-python/ruamel-yaml | |
parent | 782ce86e028f083bc3ad28d3a1fd28a344f0413b (diff) |
gentoo auto-resync : 03:11:2023 - 21:56:13
Diffstat (limited to 'dev-python/ruamel-yaml')
-rw-r--r-- | dev-python/ruamel-yaml/Manifest | 2 | ||||
-rw-r--r-- | dev-python/ruamel-yaml/ruamel-yaml-0.18.5.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest index 93dd7059ec47..d101d4d4d291 100644 --- a/dev-python/ruamel-yaml/Manifest +++ b/dev-python/ruamel-yaml/Manifest @@ -1,7 +1,9 @@ DIST ruamel.yaml-0.17.40.tar.xz 193424 BLAKE2B 80405ef0c85af476ef0e996b1da5aba1a116e8c181d18f40fb4fd86093a512c09cf0da30d52d85946c524e86e10379cb11154cb08a7ea7b054ba9379996de4f4 SHA512 848af49430b9c028a6676a159915c66e29f4290374ba0863e4fd87527f3178bb303a80f4ba97139fc8cbcd01f7f7782a4b3112325237a39659e227afda61fcb8 DIST ruamel.yaml-0.18.3.tar.xz 195928 BLAKE2B e0986dfdf45b67baab83a49f5380f43a87c388a5b6ebe06ee0518013630e9577cbf06dc9457b53a10a74af13b3e976593fae08d19fb2ff242e35ca6238aaecc9 SHA512 80d9032cb67a434633b61fb321b82dd39403058c8bcab4480ddca7053801722d5763765de426f68fcd5a2ef923f98ca29c4efdd4f749a52872ef10ddf7a8cd6e DIST ruamel.yaml-0.18.4.tar.xz 197060 BLAKE2B 7ae048fce52979268fbdf5a3779fc6068b713d04e27bfd70d167208f967a9e96682b4e0b54011f44a205597ccd95227a7bc40b9d4e814bcd836e9b57e8c58ff4 SHA512 d9cf0572b6d29c3c7f6ee0e7a638f4f0df5c3c9005c69a666a7b7ddb378f97ff7a9be52f6576b1b2e2bca9ff5edde209cd7577ed4b4bf1ac4dd15c9efad6f547 +DIST ruamel.yaml-0.18.5.tar.xz 197372 BLAKE2B ebb48da26e1e9ced585d78d4ca27359cf72891dcd2cd6793711cebcb67e5d18212992216bc8658c169c8df06847d8f70e3ce5c60ff8cdb8eaecacf3695a2e0d8 SHA512 8f299190ad9e32122fd15b80b8b53c8909df078d1575612c11a50d46eec93f25375d2c3368fb637bf83e3bd7b4eaa6ddfcd8cd90540130b4e1fb5654bc847e9a EBUILD ruamel-yaml-0.17.40.ebuild 1423 BLAKE2B ac245790e464a3adcc237f79aa0c7c3c2a1cebeed02ae5baf7cecab10e7b1288b16d7e89698696acee6c1e8baeb95ce4382338070535532436f8f0abf66fbb03 SHA512 1c5a462810dee1dc6e2702f1c7ab4a2a7deb1291be8e51ac60d7765ec1ce602e4052552acc8c822443b557efba5d7b18739c61ecbd9e6b1b8aa701e9dd798921 EBUILD ruamel-yaml-0.18.3.ebuild 1431 BLAKE2B 7bd7d97b61c6bf340f3ede09866015551ea50a2c87bb28babd9430a23b7b28abf23fca908ca2f1ed54faa1107c7558473e03d6380b6c78ecd217cabf3af0ab51 SHA512 a426551ff55a3402079a64328185aab0a8d79aad45c596e4d750714f5aae4285e617857b8fa757c7ffadef003b61b7606b9e0ac295a4e5b5fd1b8bb381ca6485 EBUILD ruamel-yaml-0.18.4.ebuild 1431 BLAKE2B 7bd7d97b61c6bf340f3ede09866015551ea50a2c87bb28babd9430a23b7b28abf23fca908ca2f1ed54faa1107c7558473e03d6380b6c78ecd217cabf3af0ab51 SHA512 a426551ff55a3402079a64328185aab0a8d79aad45c596e4d750714f5aae4285e617857b8fa757c7ffadef003b61b7606b9e0ac295a4e5b5fd1b8bb381ca6485 +EBUILD ruamel-yaml-0.18.5.ebuild 1431 BLAKE2B 7bd7d97b61c6bf340f3ede09866015551ea50a2c87bb28babd9430a23b7b28abf23fca908ca2f1ed54faa1107c7558473e03d6380b6c78ecd217cabf3af0ab51 SHA512 a426551ff55a3402079a64328185aab0a8d79aad45c596e4d750714f5aae4285e617857b8fa757c7ffadef003b61b7606b9e0ac295a4e5b5fd1b8bb381ca6485 MISC metadata.xml 759 BLAKE2B ce5ec2429c5fe84587d1b5e7744055e1e8e91eae8dec780a4654cab405df46350d1c8175827351948364255b8fcd62ea234239260c01b8ce23b8db182e6514e6 SHA512 faa587083ffa9af40108e2ca9cfb7a4e2c3e19a731b39241a7ec62d6fca051ace92bcff3fa9896a343fdc196a04fe1d132bcbb7bfa3fd96401ac996b76bba4ee diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.18.5.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.18.5.ebuild new file mode 100644 index 000000000000..128dbc52c0bb --- /dev/null +++ b/dev-python/ruamel-yaml/ruamel-yaml-0.18.5.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}] + !dev-python/namespace-ruamel +" +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 +} |