commit:     78d7d50e02b40a6c7cb799e3d81ab4241360ed79
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  9 13:45:09 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct  9 13:59:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78d7d50e

dev-python/python3-saml: Bump to 1.16.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python3-saml/Manifest                   |  1 +
 dev-python/python3-saml/python3-saml-1.16.0.ebuild | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/python3-saml/Manifest b/dev-python/python3-saml/Manifest
index d0f41245fdee..3e07812b42b8 100644
--- a/dev-python/python3-saml/Manifest
+++ b/dev-python/python3-saml/Manifest
@@ -1 +1,2 @@
 DIST python3-saml-1.15.0.gh.tar.gz 511199 BLAKE2B 
c1dafb5ff9c45a79042915261cdc380a1ca77b56d518999164f48c904e53a486d157e5b522b77df9abea2b3306f8b17a06a7ac3e41ad0c86bea2c08468199e60
 SHA512 
8ecfd827e3b90f65a04ed46f8efd49680d42ecaa46b46857e0f712c2996207a8aa38834f55ec35e599845f6921bd4d82d76e549494c71cc5ffd918e70b87b6a8
+DIST python3-saml-1.16.0.gh.tar.gz 3578998 BLAKE2B 
94fc65caf978aeb30577ff435ce874c1fbb15dac0c5028e15a8adb21631496b9382d538c80ae77e1ba4166d2fbf22c7ac96bce7b6e3533589a6b8654f5be35ee
 SHA512 
77e779a3d3190f3164105bbc2943b54729dfef12c71b0303a523acada95da291bc77b331a83726f00c503ef09040a05180c234620e5a65d4ea4fd88da24eeade

diff --git a/dev-python/python3-saml/python3-saml-1.16.0.ebuild 
b/dev-python/python3-saml/python3-saml-1.16.0.ebuild
new file mode 100644
index 000000000000..cf677a8893b4
--- /dev/null
+++ b/dev-python/python3-saml/python3-saml-1.16.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2020-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="OneLogin's SAML Python Toolkit"
+HOMEPAGE="
+       https://github.com/SAML-Toolkits/python3-saml/
+       https://pypi.org/project/python3-saml/
+"
+SRC_URI="
+       https://github.com/SAML-Toolkits/python3-saml/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+RDEPEND="
+       >=dev-python/isodate-0.6.1[${PYTHON_USEDEP}]
+       >=dev-python/lxml-4.9.0[${PYTHON_USEDEP}]
+       >=dev-python/xmlsec-1.3.9[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/freezegun[${PYTHON_USEDEP}]
+               dev-python/pytest[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # Internet
+               
tests/src/OneLogin/saml2_tests/idp_metadata_parser_test.py::OneLogin_Saml2_IdPMetadataParser_Test::testGetMetadataWithHeaders
+               
tests/src/OneLogin/saml2_tests/idp_metadata_parser_test.py::OneLogin_Saml2_IdPMetadataParser_Test::testParseRemoteWithHeaders
+       )
+
+       # The tests are horribly fragile to paths.
+       local -x PYTHONPATH=src
+       epytest -o 'python_files=*_test.py'
+}

Reply via email to