djangosaml2-1.5.7.ebuild

This commit is contained in:
Anton Bolshakov 2023-05-30 00:06:30 +08:00
parent 3c078a2d91
commit 9550d1e51e
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
5 changed files with 126 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST djangosaml2-1.5.7.tar.gz 2676060 BLAKE2B 9c7184a9c1a8ca6ff0d3bae881244d0f9a5dca5c9dc3cb168646677fef4e3c565423130182075d4a1c5257e9f907ac46e2c6a6f9b6786306d98969b6652d85b4 SHA512 957e39d2f3dcb4b4fb0ce1bda9f3e1af34add856813e45e8597ef1815f1e1ad3e96619dae5b77a9b851420e5cf5c06ff185e07c8e89f67cb6f6e73eb0c5a3228

View file

@ -0,0 +1,28 @@
# 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_{10..11} )
inherit distutils-r1 pypi
DESCRIPTION=""
HOMEPAGE=""
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE=""
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
IUSE=""
RDEPEND=">=dev-python/defusedxml-0.4.1[${PYTHON_USEDEP}]
>=dev-python/django-2.2[${PYTHON_USEDEP}]
>=dev-python/pysaml2-6.5.1[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
#distutils_enable_tests pytest

View file

@ -0,0 +1,2 @@
DIST pysaml2-7.2.1.gh.tar.gz 6026305 BLAKE2B bffba1fddb4391ae70f35d47b04886634d0e0cc6b5b9826bc8d2fa56898678e7873a766c55aee7ae1aa512158150759552e857feae33a5ae6c59e2b8eb57ed46 SHA512 524ca16553514104205346d5b5c784fe373a4e118d55b24244aa2e084bb40ccb2cd210975aa1d12602b3f1b83100e94a7b5a5112a31d0b63d13f1d8a7986d8d8
DIST pysaml2-7.4.1.gh.tar.gz 6059455 BLAKE2B be9c39e97c7587a292b772dcabea9fb1c46e0f27f455fe38456602671f7435544d228a6b0ea1786f43e7e568596f1d829e2a7c1a6053a8a59e8eac82ac5a0115 SHA512 0af160026cb07c97232af4d54b160b21980060f6f76d5ea36a002af15e18168230dd977996e5be300af36628a16bcfe80048f7109676345745fdafa27a54d686

View file

@ -0,0 +1,47 @@
# 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_{10..11} )
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
}

View file

@ -0,0 +1,48 @@
# Copyright 1999-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="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"
#FIXME: check, requires 9999 versions?
#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
}