dev-python/python3-saml: Bump to 1.15.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-12-28 08:51:29 +01:00
parent 5ef7cdfbc1
commit 48416d990f
3 changed files with 45 additions and 1 deletions

View File

@@ -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

View File

@@ -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>

View File

@@ -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'
}