commit:     6b0a41b0ac68ba281763b5f0d9210c8dddef4034
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Dec 12 08:25:57 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Dec 14 07:08:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6b0a41b0

dev-python/pysaml2: add 7.1.0, drop 7.0.1

Closes: https://bugs.gentoo.org/820251
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/pysaml2/Manifest             |  2 +-
 dev-python/pysaml2/pysaml2-7.0.1.ebuild | 43 --------------------------------
 dev-python/pysaml2/pysaml2-7.1.0.ebuild | 44 +++++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+), 44 deletions(-)

diff --git a/dev-python/pysaml2/Manifest b/dev-python/pysaml2/Manifest
index 950ed1634..746fe3e3c 100644
--- a/dev-python/pysaml2/Manifest
+++ b/dev-python/pysaml2/Manifest
@@ -1 +1 @@
-DIST pysaml2-7.0.1.tar.gz 5996999 BLAKE2B 
51b8d3eed54bdcc2f6730d1b5cc6db3d1163479c6d5845945d626a439c4130993a17656ee644165c18d87d4f0b9f61cc7dcf8ccedfac91b34afb7f5544e8a520
 SHA512 
915ea083fe0fa55fb91015c6ef743c0a63feb4c4b75542be9c7dd7b0ec19edd679d313cb47737c990381c4a9b3c46e8351e4a83006819bc9b090a7061d2cc4d1
+DIST pysaml2-7.1.0.tar.gz 6014410 BLAKE2B 
0ba8645d30aed9e1403dab25ab2a81984bfe8777750e25def242fbc3f2f2d5bc00559e5d911d7593c7bf2d6dfb8224533adfd5396fd713091b5881fafb50eb3b
 SHA512 
7b4016221bba17b3819e4b8ad0b7c2c4f3b44035998f3357473c643d96b8d2b31226d83a2b5df06618a9891bf06a9a59a35cbdbe8cbe622680d399dec478039c

diff --git a/dev-python/pysaml2/pysaml2-7.0.1.ebuild 
b/dev-python/pysaml2/pysaml2-7.0.1.ebuild
deleted file mode 100644
index 36cb926ef..000000000
--- a/dev-python/pysaml2/pysaml2-7.0.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_SETUPTOOLS=bdepend
-PYTHON_COMPAT=( python3_8 )
-
-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/pysaml2/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-       dev-libs/xmlsec
-       >=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/pytz[${PYTHON_USEDEP}]
-       >=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
-       dev-python/six[${PYTHON_USEDEP}]
-       dev-python/importlib_resources[${PYTHON_USEDEP}]
-       >=dev-python/xmlschema-1.2.1[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-       test? (
-               dev-python/toml[${PYTHON_USEDEP}]
-               dev-python/pyasn1[${PYTHON_USEDEP}]
-               dev-python/pymongo[${PYTHON_USEDEP}]
-               dev-python/responses[${PYTHON_USEDEP}]
-
-               dev-python/mock[${PYTHON_USEDEP}]
-       )
-"
-
-distutils_enable_tests pytest

diff --git a/dev-python/pysaml2/pysaml2-7.1.0.ebuild 
b/dev-python/pysaml2/pysaml2-7.1.0.ebuild
new file mode 100644
index 000000000..cddfaf49c
--- /dev/null
+++ b/dev-python/pysaml2/pysaml2-7.1.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2021 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"
+HOMEPAGE="https://github.com/rohe/pysaml2";
+SRC_URI="https://github.com/IdentityPython/${PN}/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-python/cryptography[${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/six[${PYTHON_USEDEP}]
+       dev-python/xmlschema[${PYTHON_USEDEP}]
+       $(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[${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'
+       rm tests/test_{75_mongodb,76_metadata_in_mdb}.py || die
+       distutils-r1_python_prepare_all
+}

Reply via email to