summaryrefslogtreecommitdiff
path: root/dev-python/ruamel-yaml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-01 09:25:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-01 09:25:36 +0100
commit9b9c22874161d13ca8d50c952d549f2390f3f179 (patch)
tree008ed76c56f51f6f3c30370c7b6109476f3dd4e4 /dev-python/ruamel-yaml
parent51f111b675c30c05f05128be7836616634098bae (diff)
gentoo auto-resync : 01:06:2023 - 09:25:35
Diffstat (limited to 'dev-python/ruamel-yaml')
-rw-r--r--dev-python/ruamel-yaml/Manifest2
-rw-r--r--dev-python/ruamel-yaml/ruamel-yaml-0.17.31.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest
index b2d91fb327bf..82f03dca51dc 100644
--- a/dev-python/ruamel-yaml/Manifest
+++ b/dev-python/ruamel-yaml/Manifest
@@ -5,6 +5,7 @@ DIST ruamel.yaml-0.17.24.tar.xz 186504 BLAKE2B d5bd5240c3ad68309ad9382dd076111f5
DIST ruamel.yaml-0.17.26.tar.xz 186752 BLAKE2B ce3d914ac27df2d038a882535f3559b47051a1fb1206a3ab6cab7c2ee0ee9fcfb5fc0babfb3a3488e7d074798bcbdb24d67d2a37a00c9d9210e96f13bb5bcdbb SHA512 40a91002f904621632acaa73b5bd3095f933369d354a8e7579a5afe4c171ceefadb76d5ecbdd3ef6202833874ba19ed518ce5ac5c7dbf15b698dd07b95260d33
DIST ruamel.yaml-0.17.28.tar.xz 187800 BLAKE2B 24dbf1c3fc76ec2f6255a7771dfa3bae24bf97c7014bd3205dd4968d73bdd9c4fc9e3adf721dba89c50554d13dbdd528f5f67c99692ef15b361119330b35005e SHA512 313bd7e4cfa559f90e150cf5a522b5c690b680b38df24ea3b4320484012b6e4c841f94fd21ca33283dfc0a1d04c465d38d4b5d48f95d2f1f9b876dc371a74f35
DIST ruamel.yaml-0.17.30.tar.xz 189936 BLAKE2B 9e662551527372b3a1654d8e5da8c1e0a22f432d6564a807fe89bee7f93e2878d47e6a97f50475643575e89eb03564beb86daa7295d14513ff09615d38441f3b SHA512 0e460fa05e69d99591ff4dd1b35ae3be4ba40f21bcf514f16256a56a346b570c7c41a56e1ccf7c1d3ff14beb53800a4f0752243aa20fc37df345509c293d351a
+DIST ruamel.yaml-0.17.31.tar.xz 190068 BLAKE2B cb5682ca184d86f8acb2516f0ce515deb81f3eb1bd9ea0b340c588e738f657076d589424e71492cf8fe37f5a2f62e0c9881644770c23ef1cb8a6d42cae48a86c SHA512 5a453a31babe1b9ad3b782ae06598f5f65d5e6aee167beaf7b898a2b624578245915ef0579bb7f9eefbecee28a472d6f3e04cc721b0c7b320e79f5986225986c
EBUILD ruamel-yaml-0.17.21-r2.ebuild 1416 BLAKE2B 7c5fec37a294037618a2f9d21788154fb806d6fc1575d622b7b8140f994395c4eb92be635f9f8ac11df318e37e72623ec68ecc6ac273e1961fcf99bfa88c95ba SHA512 2c2f983c303a954b217667a3c0034d14d422cb5e2473b79fe9ece4dc9e43a4f032dbeb74a6d78ef3c6d463f31f69e4ea63fd0679bfdecaf4a0c8e08267686ca2
EBUILD ruamel-yaml-0.17.22.ebuild 1423 BLAKE2B 5e168553d3cae61fe84f729c50a299633d9a56e476676c2c762f5776c95b5173743e2a554209c3309c6baefae8abf882197f71c4e6efaa4cc5a5970c5f462b91 SHA512 999fbcc45460816f74fa1aef11b09a52221ee49b5a661381dbbdf01e067da037060e5df91a2ca62415480754c57a3f13bd75f8019bd947e4bf69b90dc7d43943
EBUILD ruamel-yaml-0.17.23.ebuild 1423 BLAKE2B 5e168553d3cae61fe84f729c50a299633d9a56e476676c2c762f5776c95b5173743e2a554209c3309c6baefae8abf882197f71c4e6efaa4cc5a5970c5f462b91 SHA512 999fbcc45460816f74fa1aef11b09a52221ee49b5a661381dbbdf01e067da037060e5df91a2ca62415480754c57a3f13bd75f8019bd947e4bf69b90dc7d43943
@@ -12,4 +13,5 @@ EBUILD ruamel-yaml-0.17.24.ebuild 1424 BLAKE2B 2eb712c34d3de058093abab29e683061e
EBUILD ruamel-yaml-0.17.26.ebuild 1424 BLAKE2B 2eb712c34d3de058093abab29e683061e0d8c2fbd3e42e7b99acf2ff3d169bd5eb5fb8c579535f109c69f75d7b64f4f369859d01da85df7b3fb893d515977eac SHA512 ee4b07d307ca7fa0d0c984c0c26862529ef5a846b81ac01a143e40266df025b96faa64731470c93ccf1921e3b5e2c1faec7fb7c876a0580ada2af6ac7c07ae0c
EBUILD ruamel-yaml-0.17.28.ebuild 1424 BLAKE2B 6582ff97f1e9f98e7d9e606132418bd6c4dab4549e374fd86957cae8f3639eded3696b1715323d4f4fc2ae15578426fa1f27c216d54fa51dd77e5d65fca70eac SHA512 9eb853351400ff0357adf8887ada641fdacf7dfc31052862997f18c133d70570ee4ed83183ae0b9aed7cf34fa0e3575b1da4a95d3b1c2ec4ec44eb74085d806a
EBUILD ruamel-yaml-0.17.30.ebuild 1424 BLAKE2B 6582ff97f1e9f98e7d9e606132418bd6c4dab4549e374fd86957cae8f3639eded3696b1715323d4f4fc2ae15578426fa1f27c216d54fa51dd77e5d65fca70eac SHA512 9eb853351400ff0357adf8887ada641fdacf7dfc31052862997f18c133d70570ee4ed83183ae0b9aed7cf34fa0e3575b1da4a95d3b1c2ec4ec44eb74085d806a
+EBUILD ruamel-yaml-0.17.31.ebuild 1424 BLAKE2B 6582ff97f1e9f98e7d9e606132418bd6c4dab4549e374fd86957cae8f3639eded3696b1715323d4f4fc2ae15578426fa1f27c216d54fa51dd77e5d65fca70eac SHA512 9eb853351400ff0357adf8887ada641fdacf7dfc31052862997f18c133d70570ee4ed83183ae0b9aed7cf34fa0e3575b1da4a95d3b1c2ec4ec44eb74085d806a
MISC metadata.xml 759 BLAKE2B ce5ec2429c5fe84587d1b5e7744055e1e8e91eae8dec780a4654cab405df46350d1c8175827351948364255b8fcd62ea234239260c01b8ce23b8db182e6514e6 SHA512 faa587083ffa9af40108e2ca9cfb7a4e2c3e19a731b39241a7ec62d6fca051ace92bcff3fa9896a343fdc196a04fe1d132bcbb7bfa3fd96401ac996b76bba4ee
diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.17.31.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.17.31.ebuild
new file mode 100644
index 000000000000..171e0b89375a
--- /dev/null
+++ b/dev-python/ruamel-yaml/ruamel-yaml-0.17.31.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 ~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
+}