dev-python/social-auth-core: add 4.4.2
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
4def5a2ce1
commit
8b3c324e61
|
@ -1,2 +1,3 @@
|
|||
DIST social-core-4.2.0.tar.gz 193508 BLAKE2B 17aad9b12b49176bdd958995240121f66c664da97c2b8a53405fc067ee27174fc9c7ba504ef6026981c7d4286a8796f3ff05a2e2ebae8d038aa81d20e3c8234c SHA512 17fc36dfca6aabce9dbf622f6b2e6ce4eb1577d4df7b4a2b85a67b1131a5a2970b5a0ac4462bf5600ef62419da5e262955b2a2e00ec9bd222a7c2700f6199f64
|
||||
DIST social-core-4.3.0.tar.gz 195616 BLAKE2B 1f49a5ef3a79b004a01bafa691b0d0bc7945f7f0e784a14724a216f44495477d74a8d0938013fc6869666bf3022a6253cd6baa298384cdd0a3ee68c3ee85bdd9 SHA512 fedeefb3c3feb40e074d39e85ead5f56d039d630d9988f42669bb962b627dbf93d34178a3eb961cc90319d957023d1c04c2813559e823588af0c72a742915ddb
|
||||
DIST social-core-4.4.2.tar.gz 198722 BLAKE2B 2091c54a70dc9bd3e17828f09474714db17e20083b751f4dfd1212826f5ac070b1c53b41eddafe1e0d8a6c340a66e153323399be576db08872daefc765dc3779 SHA512 20044391a683369ca8aa1a614c2af609b5d4be43f6814faa9ba31c31e2abeba1515a245616faa05eaa2f5c220553d856f78a6daee6d6d082a5d7b4afd51ad5a7
|
||||
|
|
62
dev-python/social-auth-core/social-auth-core-4.4.2.ebuild
Normal file
62
dev-python/social-auth-core/social-auth-core-4.4.2.ebuild
Normal file
|
@ -0,0 +1,62 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
MY_PN="${PN//-auth/}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Python Social Auth - Core"
|
||||
HOMEPAGE="https://github.com/python-social-auth/social-core"
|
||||
SRC_URI="https://github.com/python-social-auth/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/oauthlib-1.0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-oauthlib-0.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyjwt-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/defusedxml-0.5.0_rc1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python3-openid-3.0.10[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="test? ( dev-python/httpretty[${PYTHON_USEDEP}]
|
||||
dev-python/python-jose[${PYTHON_USEDEP}]
|
||||
dev-python/python3-saml[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# need network / credentials
|
||||
social_core/tests/backends/test_livejournal.py::LiveJournalOpenIdTest::test_login
|
||||
social_core/tests/backends/test_livejournal.py::LiveJournalOpenIdTest::test_partial_pipeline
|
||||
social_core/tests/backends/test_ngpvan.py::NGPVANActionIDOpenIDTest::test_association_uid
|
||||
social_core/tests/backends/test_ngpvan.py::NGPVANActionIDOpenIDTest::test_extra_data_phone
|
||||
social_core/tests/backends/test_ngpvan.py::NGPVANActionIDOpenIDTest::test_login
|
||||
social_core/tests/backends/test_ngpvan.py::NGPVANActionIDOpenIDTest::test_partial_pipeline
|
||||
social_core/tests/backends/test_ngpvan.py::NGPVANActionIDOpenIDTest::test_user_data
|
||||
social_core/tests/backends/test_steam.py::SteamOpenIdTest::test_login
|
||||
social_core/tests/backends/test_steam.py::SteamOpenIdTest::test_partial_pipeline
|
||||
social_core/tests/backends/test_ngpvan.py::NGPVANActionIDOpenIDTest::test_setup_request
|
||||
social_core/tests/backends/test_steam.py::SteamOpenIdMissingSteamIdTest::test_login
|
||||
social_core/tests/backends/test_steam.py::SteamOpenIdMissingSteamIdTest::test_partial_pipeline
|
||||
)
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
find "${ED}" -type d -name "tests" -exec rm -rv {} + || die "tests removing failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "integration with OpenID Connect" dev-python/python-jose
|
||||
optfeature "integration with SAML" dev-python/python3-saml dev-python/lxml
|
||||
}
|
Loading…
Reference in a new issue