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@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2021-12-12 13:25:57 +05:00
parent ae5dbfbc27
commit 6b0a41b0ac
3 changed files with 45 additions and 44 deletions

View File

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