From 387c862b5d9ce2d129a2a15a2764c1d5e7fc859b Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Sun, 19 Feb 2023 10:06:28 +0500 Subject: [PATCH] dev-python/pysaml2: revbump for deps and PEP517 Signed-off-by: Anna (cybertailor) Vyalkova --- dev-python/pysaml2/Manifest | 2 +- .../{pysaml2-7.1.2.ebuild => pysaml2-7.1.2-r1.ebuild} | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) rename dev-python/pysaml2/{pysaml2-7.1.2.ebuild => pysaml2-7.1.2-r1.ebuild} (83%) diff --git a/dev-python/pysaml2/Manifest b/dev-python/pysaml2/Manifest index e97e39f1c3..6b1504666f 100644 --- a/dev-python/pysaml2/Manifest +++ b/dev-python/pysaml2/Manifest @@ -1 +1 @@ -DIST pysaml2-7.1.2.tar.gz 6017150 BLAKE2B e14bff119e5f6e477244820887ed76531acad5d7207cfc6ca398eaeaa0f5649e168bd6322d50e29560e8ad78e8da66d47b9d293ffcedee4358e288640931df96 SHA512 cf13ef0f74785bac357b2871f1ab521e60720cb236881fbc6c93d0eaca5323d198952392fa8a13850060a54757b1ff06a959e723bc7aeb5db9c8b2522b3c859b +DIST pysaml2-7.1.2.gh.tar.gz 6017150 BLAKE2B e14bff119e5f6e477244820887ed76531acad5d7207cfc6ca398eaeaa0f5649e168bd6322d50e29560e8ad78e8da66d47b9d293ffcedee4358e288640931df96 SHA512 cf13ef0f74785bac357b2871f1ab521e60720cb236881fbc6c93d0eaca5323d198952392fa8a13850060a54757b1ff06a959e723bc7aeb5db9c8b2522b3c859b diff --git a/dev-python/pysaml2/pysaml2-7.1.2.ebuild b/dev-python/pysaml2/pysaml2-7.1.2-r1.ebuild similarity index 83% rename from dev-python/pysaml2/pysaml2-7.1.2.ebuild rename to dev-python/pysaml2/pysaml2-7.1.2-r1.ebuild index ff3c8b1823..c338e77f4d 100644 --- a/dev-python/pysaml2/pysaml2-7.1.2.ebuild +++ b/dev-python/pysaml2/pysaml2-7.1.2-r1.ebuild @@ -3,13 +3,14 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1 DESCRIPTION="Python implementation of SAML Version 2 to be used in a WSGI environment" HOMEPAGE="https://github.com/rohe/pysaml2" -SRC_URI="https://github.com/IdentityPython/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/IdentityPython/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="Apache-2.0" SLOT="0" @@ -20,12 +21,11 @@ RDEPEND=" dev-python/defusedxml[${PYTHON_USEDEP}] dev-python/pyopenssl[${PYTHON_USEDEP}] dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-xmlsec[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] >=dev-python/requests-1.0.0[${PYTHON_USEDEP}] dev-python/six[${PYTHON_USEDEP}] dev-python/xmlschema[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' python3.8) + dev-python/xmlsec[${PYTHON_USEDEP}] " BDEPEND=" test? ( @@ -37,10 +37,11 @@ BDEPEND=" ) " -distutils_enable_tests --install pytest +distutils_enable_tests pytest python_prepare_all() { # No module named 'pymongo.mongo_replica_set_client' because pymongo should be <4 but we only have >=4 rm tests/test_{75_mongodb,76_metadata_in_mdb}.py || die + distutils-r1_python_prepare_all }