diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-28 08:51:29 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-12-28 09:17:46 +0100 |
commit | 48416d990fa0e2290b7d8f011f926688bcd8a1bd (patch) | |
tree | 5a1fa06233273b6e08e0912403a97b1791490660 /dev-python/python3-saml | |
parent | dev-python/qtawesome: Bump to 1.2.2 (diff) | |
download | gentoo-48416d990fa0e2290b7d8f011f926688bcd8a1bd.tar.gz gentoo-48416d990fa0e2290b7d8f011f926688bcd8a1bd.tar.bz2 gentoo-48416d990fa0e2290b7d8f011f926688bcd8a1bd.zip |
dev-python/python3-saml: Bump to 1.15.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python3-saml')
-rw-r--r-- | dev-python/python3-saml/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python3-saml/metadata.xml | 2 | ||||
-rw-r--r-- | dev-python/python3-saml/python3-saml-1.15.0.ebuild | 43 |
3 files changed, 45 insertions, 1 deletions
diff --git a/dev-python/python3-saml/Manifest b/dev-python/python3-saml/Manifest index 04780796bcb9..a0e74dcfa8b0 100644 --- a/dev-python/python3-saml/Manifest +++ b/dev-python/python3-saml/Manifest @@ -1 +1,2 @@ DIST python3-saml-1.14.0.gh.tar.gz 510031 BLAKE2B 10c1102b29b58017a39241dbab7d2fb85231f051e3701ff24197f2e501ae19b1889d4032fe86a60ed5ee708380d44111dc6ab87900c8463a141ea911fe774eeb SHA512 6807a4741164dfdf185a4c63691d5a1f0e91feff387265dc8b54b135d44158c751c2274eb1f47eb71d61c7e233d38ddc83f34d092cb842676830699ad6ee8af4 +DIST python3-saml-1.15.0.gh.tar.gz 511199 BLAKE2B c1dafb5ff9c45a79042915261cdc380a1ca77b56d518999164f48c904e53a486d157e5b522b77df9abea2b3306f8b17a06a7ac3e41ad0c86bea2c08468199e60 SHA512 8ecfd827e3b90f65a04ed46f8efd49680d42ecaa46b46857e0f712c2996207a8aa38834f55ec35e599845f6921bd4d82d76e549494c71cc5ffd918e70b87b6a8 diff --git a/dev-python/python3-saml/metadata.xml b/dev-python/python3-saml/metadata.xml index 2d72864bd0f7..a3b24bec325e 100644 --- a/dev-python/python3-saml/metadata.xml +++ b/dev-python/python3-saml/metadata.xml @@ -11,6 +11,6 @@ </maintainer> <upstream> <remote-id type="pypi">python3-saml</remote-id> - <remote-id type="github">onelogin/python3-saml</remote-id> + <remote-id type="github">SAML-Toolkits/python3-saml</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/python3-saml/python3-saml-1.15.0.ebuild b/dev-python/python3-saml/python3-saml-1.15.0.ebuild new file mode 100644 index 000000000000..e6ccb181054a --- /dev/null +++ b/dev-python/python3-saml/python3-saml-1.15.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..10} ) + +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/python-xmlsec-1.3.9[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +python_test() { + # The tests are horribly fragile to paths. + local -x PYTHONPATH=src + eunittest -p '*_test.py' +} |