dev-python/pysaml2 - 7.2.1 (blshkv)

Search

Install

Install this version:

emerge -a =dev-python/pysaml2-7.2.1

Package Information

Description:
Python implementation of SAML Version 2 to be used in a WSGI environment
Homepage:
https://github.com/rohe/pysaml2
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
7.2.1 8 amd64 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )

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
}

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/cryptography-1.4[]
	dev-python/defusedxml[]
	dev-python/pyopenssl[]
	dev-python/python-dateutil[]
	dev-python/pytz[]
	>=dev-python/requests-1.0.0[]
	dev-python/six[]
	dev-python/xmlschema[]
	dev-python/xmlsec[]

BDEPEND

	test? (
		dev-python/mock[]
		dev-python/pyasn1[]
		>=dev-python/pymongo-3[]
		dev-python/responses[]
	)

Manifest for 7.2.1

Type File Size Source URLs
DIST pysaml2-7.2.1.gh.tar.gz 6026305 bytes https://github.com/IdentityPython/pysaml2/archive/refs/tags/v7.2.1.tar.gz