commit:     b9249a5886a080f23ce4b977192cfb2802bce253
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Mar 14 02:28:14 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Mar 14 02:41:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b9249a58

dev-python/pysaml2: add 7.1.2, drop 7.1.0

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/pysaml2/Manifest                        |  2 +-
 .../{pysaml2-7.1.0.ebuild => pysaml2-7.1.2.ebuild} | 28 ++++++++++++----------
 2 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/dev-python/pysaml2/Manifest b/dev-python/pysaml2/Manifest
index 746fe3e3c..e97e39f1c 100644
--- a/dev-python/pysaml2/Manifest
+++ b/dev-python/pysaml2/Manifest
@@ -1 +1 @@
-DIST pysaml2-7.1.0.tar.gz 6014410 BLAKE2B 
0ba8645d30aed9e1403dab25ab2a81984bfe8777750e25def242fbc3f2f2d5bc00559e5d911d7593c7bf2d6dfb8224533adfd5396fd713091b5881fafb50eb3b
 SHA512 
7b4016221bba17b3819e4b8ad0b7c2c4f3b44035998f3357473c643d96b8d2b31226d83a2b5df06618a9891bf06a9a59a35cbdbe8cbe622680d399dec478039c
+DIST pysaml2-7.1.2.tar.gz 6017150 BLAKE2B 
e14bff119e5f6e477244820887ed76531acad5d7207cfc6ca398eaeaa0f5649e168bd6322d50e29560e8ad78e8da66d47b9d293ffcedee4358e288640931df96
 SHA512 
cf13ef0f74785bac357b2871f1ab521e60720cb236881fbc6c93d0eaca5323d198952392fa8a13850060a54757b1ff06a959e723bc7aeb5db9c8b2522b3c859b

diff --git a/dev-python/pysaml2/pysaml2-7.1.0.ebuild 
b/dev-python/pysaml2/pysaml2-7.1.2.ebuild
similarity index 61%
rename from dev-python/pysaml2/pysaml2-7.1.0.ebuild
rename to dev-python/pysaml2/pysaml2-7.1.2.ebuild
index cddfaf49c..ff3c8b182 100644
--- a/dev-python/pysaml2/pysaml2-7.1.0.ebuild
+++ b/dev-python/pysaml2/pysaml2-7.1.2.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
+
 inherit distutils-r1
 
 DESCRIPTION="Python implementation of SAML Version 2 to be used in a WSGI 
environment"
@@ -15,30 +16,31 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 RDEPEND="
-       dev-python/cryptography[${PYTHON_USEDEP}]
+       >=dev-python/cryptography-1.4[${PYTHON_USEDEP}]
        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[${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)
+       $(python_gen_cond_dep 
'dev-python/importlib_resources[${PYTHON_USEDEP}]' python3.8)
+"
+BDEPEND="
+       test? (
+               dev-python/mock[${PYTHON_USEDEP}]
+               dev-python/pyasn1[${PYTHON_USEDEP}]
+               >=dev-python/pymongo-3[${PYTHON_USEDEP}]
+               dev-python/responses[${PYTHON_USEDEP}]
+               dev-python/toml[${PYTHON_USEDEP}]
+       )
 "
-BDEPEND="test? (
-       dev-python/mock[${PYTHON_USEDEP}]
-       dev-python/pyasn1[${PYTHON_USEDEP}]
-       dev-python/pymongo[${PYTHON_USEDEP}]
-       dev-python/responses[${PYTHON_USEDEP}]
-       dev-python/toml[${PYTHON_USEDEP}]
-)"
 
 distutils_enable_tests --install pytest
 
 python_prepare_all() {
-       # No module named 'pymongo.mongo_replica_set_client'
+       # 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