commit:     387c862b5d9ce2d129a2a15a2764c1d5e7fc859b
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Feb 19 05:06:28 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Feb 19 05:07:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=387c862b

dev-python/pysaml2: revbump for deps and PEP517

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/pysaml2/Manifest                                   |  2 +-
 .../pysaml2/{pysaml2-7.1.2.ebuild => pysaml2-7.1.2-r1.ebuild} | 11 ++++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/dev-python/pysaml2/Manifest b/dev-python/pysaml2/Manifest
index e97e39f1c..6b1504666 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 ff3c8b182..c338e77f4 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
 }

Reply via email to