diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-10-03 07:21:43 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-10-03 07:37:57 +0200 |
| commit | 6d38d70e3327ab5b037869a19225935e48d6ba4d (patch) | |
| tree | 2c5d4de744b6c2defa7e701b18e25db78242a466 /dev-python/authlib/authlib-1.6.3.ebuild | |
| parent | 6b6ce0ec1998d6b9c9f447dd47f69e3a4b6d269b (diff) | |
| download | gentoo-6d38d70e3327ab5b037869a19225935e48d6ba4d.tar.gz gentoo-6d38d70e3327ab5b037869a19225935e48d6ba4d.tar.bz2 gentoo-6d38d70e3327ab5b037869a19225935e48d6ba4d.zip | |
dev-python/authlib: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/authlib/authlib-1.6.3.ebuild')
| -rw-r--r-- | dev-python/authlib/authlib-1.6.3.ebuild | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/dev-python/authlib/authlib-1.6.3.ebuild b/dev-python/authlib/authlib-1.6.3.ebuild deleted file mode 100644 index 625edf4230ee..000000000000 --- a/dev-python/authlib/authlib-1.6.3.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517="setuptools" -PYTHON_COMPAT=( python3_{11..13} ) - -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 flask jose test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/cryptography[${PYTHON_USEDEP}] - django? ( - dev-python/django[${PYTHON_USEDEP}] - ) - flask? ( - dev-python/flask[${PYTHON_USEDEP}] - dev-python/flask-sqlalchemy[${PYTHON_USEDEP}] - ) - jose? ( - >=dev-python/pycryptodome-3.10[${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/flask-sqlalchemy[${PYTHON_USEDEP}] - dev-python/httpx[${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=1 -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,flask} - - # TODO: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet. - #epytest tests/django -} |
