commit:     82a66c40fa05a392ec21e04b77f21ce939817358
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Jul 17 22:28:17 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon Jul 17 23:00:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=82a66c40

dev-python/pysaml2: drop 7.1.2, add 7.4.2

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

 dev-python/pysaml2/Manifest                |  2 +-
 dev-python/pysaml2/pysaml2-7.1.2-r1.ebuild | 47 ------------------------------
 dev-python/pysaml2/pysaml2-7.4.2.ebuild    | 43 +++++++++++++++++++++++++++
 profiles/package.mask                      |  1 -
 4 files changed, 44 insertions(+), 49 deletions(-)

diff --git a/dev-python/pysaml2/Manifest b/dev-python/pysaml2/Manifest
index 6b1504666..2d286b086 100644
--- a/dev-python/pysaml2/Manifest
+++ b/dev-python/pysaml2/Manifest
@@ -1 +1 @@
-DIST pysaml2-7.1.2.gh.tar.gz 6017150 BLAKE2B 
e14bff119e5f6e477244820887ed76531acad5d7207cfc6ca398eaeaa0f5649e168bd6322d50e29560e8ad78e8da66d47b9d293ffcedee4358e288640931df96
 SHA512 
cf13ef0f74785bac357b2871f1ab521e60720cb236881fbc6c93d0eaca5323d198952392fa8a13850060a54757b1ff06a959e723bc7aeb5db9c8b2522b3c859b
+DIST pysaml2-7.4.2.gh.tar.gz 6059879 BLAKE2B 
46e319b288f792c2bf352dfaca507b24a1d23e1f4e7d1cc85685cc82a38103d113a6ec6d5d31608a226873cc5dab774689625f0437146befc43a33cafe641e78
 SHA512 
4a125cf08e7eb4856aea87eb7cad0539b1e520d44cf7a6a6fcb52185ab2acf05efe773165614f9b633c85f46ca4b189ee6038aaa51fe8343d75ab3bf0e06d43e

diff --git a/dev-python/pysaml2/pysaml2-7.1.2-r1.ebuild 
b/dev-python/pysaml2/pysaml2-7.1.2-r1.ebuild
deleted file mode 100644
index 685a28023..000000000
--- a/dev-python/pysaml2/pysaml2-7.1.2-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..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}.gh.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-       >=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/xmlschema[${PYTHON_USEDEP}]
-       dev-python/xmlsec[${PYTHON_USEDEP}]
-"
-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}]
-       )
-"
-
-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
-}

diff --git a/dev-python/pysaml2/pysaml2-7.4.2.ebuild 
b/dev-python/pysaml2/pysaml2-7.4.2.ebuild
new file mode 100644
index 000000000..3cffc8c30
--- /dev/null
+++ b/dev-python/pysaml2/pysaml2-7.4.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..11} )
+inherit distutils-r1
+
+DESCRIPTION="Python implementation of SAML Version 2 Standard"
+HOMEPAGE="
+       https://pypi.org/project/pysaml2/
+       https://github.com/rohe/pysaml2
+"
+SRC_URI="https://github.com/IdentityPython/${PN}/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.gh.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-libs/xmlsec[openssl]
+       >=dev-python/cryptography-3.1[${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-3[${PYTHON_USEDEP}]
+       >=dev-python/xmlschema-1.2.1[${PYTHON_USEDEP}]
+"
+# TODO: package 'repoze-who' for s2repoze tests
+BDEPEND="
+       test? (
+               dev-python/pyasn1[${PYTHON_USEDEP}]
+               <dev-python/pymongo-5[${PYTHON_USEDEP}]
+               dev-python/responses[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+distutils_enable_sphinx docs \
+       dev-python/alabaster

diff --git a/profiles/package.mask b/profiles/package.mask
index 88fc89fc9..dcdaaa0dc 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -27,7 +27,6 @@ app-office/lotus123r3
 # Anna Vyalkova <cyber+gen...@sysrq.in> (2023-05-16)
 # Depend on masked dev-python/toml.
 # Removal on 2023-06-15.
-dev-python/pysaml2
 dev-python/usort
 # and revdeps
 dev-python/hypothesmith

Reply via email to