From 12d66102ecbcb4a4eef51d1b7f06abe9080be243 Mon Sep 17 00:00:00 2001 From: Crucible Date: Thu, 15 Oct 2026 03:05:03 -0500 Subject: Publish srcux candidate 0000000656-20261015-030307 --- dev-python/authlib/Manifest | 2 +- dev-python/authlib/authlib-1.7.2.ebuild | 70 --------------------------------- dev-python/authlib/authlib-1.9.1.ebuild | 68 ++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+), 71 deletions(-) delete mode 100644 dev-python/authlib/authlib-1.7.2.ebuild create mode 100644 dev-python/authlib/authlib-1.9.1.ebuild (limited to 'dev-python/authlib') diff --git a/dev-python/authlib/Manifest b/dev-python/authlib/Manifest index 6338faa49ee0..3aeb1b892a9b 100644 --- a/dev-python/authlib/Manifest +++ b/dev-python/authlib/Manifest @@ -1,2 +1,2 @@ -DIST authlib-1.7.2.gh.tar.gz 356607 BLAKE2B 60d232c26a672bdbd2cb57073ed05bcde2d5ed1caa143cb1d64760758c0a93adf0cde3db579c787d219fd741c50eb182d932c91e3a23251837784e963dc2b37c SHA512 814d5160baec83de80ba4a9bed86a611ae4b2605c3674dc6fe24844bd5da1bb9dc2d73e8c42bb44e378991f2479ed478477e42535cf2888c29506ee25e629aa7 DIST authlib-1.8.0.gh.tar.gz 361890 BLAKE2B 3aaaea7334859b19f1bc4c0acfd0e17d40f79f9ee183a9d4a6bfec68d761e6b740cac4fe092a5b0b4c4a60f30873ed58dd55088f708139c4564a74877458969e SHA512 c75e5e97461c23b26511fefa442e24b1d0467d45d7521e702d9d399680235cb4dd15645085a702bd158e1523f41b07308995e9586f2d5bc46ec6396bf8babbe0 +DIST authlib-1.9.1.gh.tar.gz 388395 BLAKE2B 20579375edb0965c5ff6755eefcc43c69c35352f43db71be86087ef1c8a6b462dd477add868d55d332c7f3367f6ad330f916e1b495d87180ab89ec227657d006 SHA512 3f106f800a668c0f2f11fab6cbe56185975c5ad9a9509637055ca6d5528006c88c17dc6980bfc78cdda8e719c7823aee86c64dd3e939829f93ef250e0939809f diff --git a/dev-python/authlib/authlib-1.7.2.ebuild b/dev-python/authlib/authlib-1.7.2.ebuild deleted file mode 100644 index ef399ad123b4..000000000000 --- a/dev-python/authlib/authlib-1.7.2.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517="setuptools" -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 - -DESCRIPTION="A Python library in building OAuth and OpenID Connect servers and clients" -HOMEPAGE=" - https://authlib.org/ - https://github.com/authlib/authlib/ - https://pypi.org/project/Authlib/ -" -# pypi source distribution excludes the tests -SRC_URI=" - https://github.com/authlib/authlib/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64" -IUSE="django jose test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/cryptography[${PYTHON_USEDEP}] - django? ( - dev-python/django[${PYTHON_USEDEP}] - ) - jose? ( - dev-python/joserfc[${PYTHON_USEDEP}] - ) -" -BDEPEND=" - test? ( - dev-python/anyio[${PYTHON_USEDEP}] - dev-python/cachelib[${PYTHON_USEDEP}] - dev-python/django[${PYTHON_USEDEP}] - dev-python/flask[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/joserfc[${PYTHON_USEDEP}] - >=dev-python/pycryptodome-3.10[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/starlette[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-asyncio ) -# EPYTEST_XDIST makes tests flaky -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # convert from pycryptodomex to pycryptodome - sed -i -e 's:from Cryptodome:from Crypto:' \ - authlib/jose/drafts/_jwe_enc_cryptodome.py || die -} - -python_test() { - local -x DJANGO_SETTINGS_MODULE=tests.django_settings - epytest tests/{core,jose,clients} - - # TODO: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet. - #epytest tests/django -} diff --git a/dev-python/authlib/authlib-1.9.1.ebuild b/dev-python/authlib/authlib-1.9.1.ebuild new file mode 100644 index 000000000000..a5be86c9252e --- /dev/null +++ b/dev-python/authlib/authlib-1.9.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="A Python library in building OAuth and OpenID Connect servers and clients" +HOMEPAGE=" + https://authlib.org/ + https://github.com/authlib/authlib/ + https://pypi.org/project/Authlib/ +" +# pypi source distribution excludes the tests +SRC_URI=" + https://github.com/authlib/authlib/archive/refs/tags/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="django test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/cryptography-45.0.1[${PYTHON_USEDEP}] + >=dev-python/joserfc-1.6.8[${PYTHON_USEDEP}] + django? ( + >=dev-python/django-3.2.9[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + dev-python/anyio[${PYTHON_USEDEP}] + dev-python/cachelib[${PYTHON_USEDEP}] + dev-python/django[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/httpx2[${PYTHON_USEDEP}] + dev-python/joserfc[${PYTHON_USEDEP}] + >=dev-python/pycryptodome-3.10[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/starlette[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{asyncio,env} ) +# EPYTEST_XDIST makes tests flaky +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # convert from pycryptodomex to pycryptodome + sed -i -e 's:from Cryptodome:from Crypto:' \ + authlib/jose/drafts/_jwe_enc_cryptodome.py || die +} + +python_test() { + epytest tests/{core,jose,clients} + + # TODO: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet. + #epytest tests/django +} -- cgit v1.3