diff options
author | Marek Szuba <marecki@gentoo.org> | 2021-03-11 10:23:15 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2021-03-11 10:26:13 +0000 |
commit | ea23638561d14582d2c15a5404f6e25bd3f75498 (patch) | |
tree | c874e878f3ef4b74426646d58c330ab4110fdd78 /dev-python | |
parent | net-misc/oidc-agent: remove old (diff) | |
download | gentoo-ea23638561d14582d2c15a5404f6e25bd3f75498.tar.gz gentoo-ea23638561d14582d2c15a5404f6e25bd3f75498.tar.bz2 gentoo-ea23638561d14582d2c15a5404f6e25bd3f75498.zip |
dev-python/ruamel-yaml-0.16.13: use different source tarball + instrument tests
Mind you, actually running the tests is still restricted because quite
a few of them fail due to pytest not finding the fixtures defining names
of data files. We'll get there yet, stay tuned.
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/ruamel-yaml/Manifest | 2 | ||||
-rw-r--r-- | dev-python/ruamel-yaml/ruamel-yaml-0.16.13-r1.ebuild (renamed from dev-python/ruamel-yaml/ruamel-yaml-0.16.13.ebuild) | 16 |
2 files changed, 15 insertions, 3 deletions
diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest index 4edd43dd1f4b..b1b31045d2fd 100644 --- a/dev-python/ruamel-yaml/Manifest +++ b/dev-python/ruamel-yaml/Manifest @@ -1,2 +1,2 @@ +DIST ruamel-yaml-0.16.13.tar.xz 178756 BLAKE2B 19ee4713786a33853f42256e5cd3187e9e19b931ebd83a133365de3f080721c5a6f5fb41ff3079473461df47a0ab149981c5e94d08321da8b3c9eb311c226945 SHA512 1366fc0b3b5ea2699ca324636403576134ccc7c725b13c21a7752d1b16c644c93c7f7d82ddc337087d2c02947f95263d7a3fdd162f552ac3a78fa36f1f17b3f1 DIST ruamel.yaml-0.16.12.tar.gz 147355 BLAKE2B 6e91116029dba57b81580f4ce34a066fc49ec2c6167c2bd6ec2ae940b16bc12ba53cbd4c62f9ae3975664917ce990b050e9f15b434f5ff66f9dece5426049c9d SHA512 21be4d956d01164b84233c3d3945a4e56351a8fc59c35a8e71b1276da84aa43b125e3860f9884e95a1f895bc53e0b85b6d3f0f4b03512d629a892d8664e3ecd6 -DIST ruamel.yaml-0.16.13.tar.gz 149073 BLAKE2B 3def6cd6fad4acb86d1cfd70394a50c7e71fcc7f4ca454794c34dcff5a17fae572002c05f29b7094edcea8fddcb8eade1762a62b7e464c35779d60014cab2994 SHA512 5373f944c852be6d185555b61e2db51f4d0ceb2ad666cd4efa116eace116ad7132e80b41867396491019ded6523ec3de26800c1365f767bbf91c68dda0b56d3c diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.16.13.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.16.13-r1.ebuild index cc1234828b4c..e9ee0a56b9bf 100644 --- a/dev-python/ruamel-yaml/ruamel-yaml-0.16.13.ebuild +++ b/dev-python/ruamel-yaml/ruamel-yaml-0.16.13-r1.ebuild @@ -12,16 +12,28 @@ MY_P="${MY_PN}-${PV}" DESCRIPTION="YAML parser/emitter that supports roundtrip comment preservation" HOMEPAGE="https://pypi.org/project/ruamel.yaml/ https://sourceforge.net/p/ruamel-yaml" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +# PyPI tarballs do not include tests +SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz -> ${P}.tar.xz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" -RDEPEND="dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}]" +#RESTRICT="!test? ( test )" +# Running the test suite is broken for now, WIP +RESTRICT="test" + +RDEPEND="dev-python/namespace-ruamel[${PYTHON_USEDEP}] + dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}]" +BDEPEND="test? ( + dev-python/ruamel-std-pathlib[${PYTHON_USEDEP}] +)" S="${WORKDIR}"/${MY_P} +distutils_enable_tests pytest + python_install() { distutils-r1_python_install --single-version-externally-managed find "${ED}" -name '*.pth' -delete || die |