diff --git a/dev-python/social-auth-core/Manifest b/dev-python/social-auth-core/Manifest index 863ab7f..6b7d3e0 100644 --- a/dev-python/social-auth-core/Manifest +++ b/dev-python/social-auth-core/Manifest @@ -1 +1,2 @@ DIST social-core-4.5.1.tar.gz 210594 BLAKE2B 387dd43415903081c5313bf1cd698e52ef5f15a06f633633ae57c7380dd0564dd6993ac4cd6562c19b6c48e59202e63f4698e693a4952d1159740f619a798e24 SHA512 184940d9c37ec0d9f2b4c93f9dac38d3f89b3929da31e1f6caaa6b9cdcced6092a79ec39ed3a79e429bac930bb8cc04c9efaf04989ee718fbd372bff941618b3 +DIST social-core-4.5.4.tar.gz 211976 BLAKE2B ce79b0b23e60f6867e40efc1efc4ba4005e065f6e2e1a0a723692eddb81b498996690e6449e4b2bf419db22f2e115dce9712ce3fa88d42d73c5a3b7ae35f24ba SHA512 841e3cb4f02f8a347b5989a07c9fc088786f283c901bbf2906b82b8918aa98de07288b57d2d99f9b9d08475398583cb2bfde744dc2247b9a9a2c0cdc6c0c21c4 diff --git a/dev-python/social-auth-core/social-auth-core-4.5.4.ebuild b/dev-python/social-auth-core/social-auth-core-4.5.4.ebuild new file mode 100644 index 0000000..5f94650 --- /dev/null +++ b/dev-python/social-auth-core/social-auth-core-4.5.4.ebuild @@ -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.7.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 +}