summaryrefslogtreecommitdiff
path: root/dev-python/authlib
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-08-27 19:13:06 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-08-27 19:13:06 +0000
commit1957fbcdee61de322e590f5da02431912824641a (patch)
treefd2a494100c7f5946db432858aa0a7bad778b380 /dev-python/authlib
parentcee0acc9c12bedc910769969d6bc044964b03a5b (diff)
downloadbaldeagleos-repo-1957fbcdee61de322e590f5da02431912824641a.tar.gz
baldeagleos-repo-1957fbcdee61de322e590f5da02431912824641a.tar.xz
baldeagleos-repo-1957fbcdee61de322e590f5da02431912824641a.zip
Adding metadata
Diffstat (limited to 'dev-python/authlib')
-rw-r--r--dev-python/authlib/Manifest3
-rw-r--r--dev-python/authlib/authlib-1.6.0.ebuild75
-rw-r--r--dev-python/authlib/authlib-1.6.3.ebuild (renamed from dev-python/authlib/authlib-1.6.1.ebuild)4
3 files changed, 3 insertions, 79 deletions
diff --git a/dev-python/authlib/Manifest b/dev-python/authlib/Manifest
index 2814a9e7e798..439be813ce11 100644
--- a/dev-python/authlib/Manifest
+++ b/dev-python/authlib/Manifest
@@ -1,3 +1,2 @@
-DIST authlib-1.6.0.gh.tar.gz 341039 BLAKE2B 26faa75dbbaf6ca7350dbcd04d01d38bbbc3ee9f096437bee03be4180ed4b82560707b1ee403abf52eea4f6b53f760e5ad9bd8357cc227ed41b571ad9ff815a6 SHA512 5ff057fe9699b192218bf0863635230137fe1cb86129ba545b468f2df4491b475e81b6c296efd9965cfdb2cfc782f46bd49f93b1b222b5ce1f0b49145ef9ef45
-DIST authlib-1.6.1.gh.tar.gz 341053 BLAKE2B f5468276a8d05ef0770e154a6f1662d01d421e0dfc1bc702577e1c665869366217001a08fc1cf3e15b68beaa6e0cb23f3721615b97d4e5b9772bbd041d6c1af3 SHA512 681548ef2c3a2d36af5a620a44cf61d5ca54d65129ce711dca01aba2f0dd7bda39e425f38f1b3e5d13211ee3c6fb6fe8f680d64bfa18895b2f03418b569559e3
DIST authlib-1.6.2.gh.tar.gz 327687 BLAKE2B 81bcbaa4cd08d10afb6d565e65c629e342f6ff22adbba15a0e881a0857061bdbedb19a77b368b9d5520c521140552a8fd8f4aa3628de222321aed48c977f8ebb SHA512 71cbb4d806d5edc204afc176a6ba339481c56fd45cbf14e83106941372d2ccf5f975e30f9c5eaf8a16c2680e161a3905a79be339a870d34e3a01ee23773771a5
+DIST authlib-1.6.3.gh.tar.gz 328237 BLAKE2B 820828b67e785126a7dbd9f21cbae5174600700eaa67874418738026920930cb119660c235a2eb6540fb4e42cc3da2178048918d9122fb394fcbe5a523e1845d SHA512 d53e1ffa929f1f26e9c129b600a14f0b80a49fd33735272b382c18a8d7cae4ce6758e3880b183c34da1daa040e90bc35f32131c8756574bc97fc502e1694237c
diff --git a/dev-python/authlib/authlib-1.6.0.ebuild b/dev-python/authlib/authlib-1.6.0.ebuild
deleted file mode 100644
index fd72ae747150..000000000000
--- a/dev-python/authlib/authlib-1.6.0.ebuild
+++ /dev/null
@@ -1,75 +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_{9,10,11,12,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/pytest-asyncio[${PYTHON_USEDEP}]
- 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}]
- )
-"
-
-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 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- local -x DJANGO_SETTINGS_MODULE=tests.clients.test_django.settings
- epytest -p asyncio tests/{core,jose,clients,flask}
-
- # TODO: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
- #local -x DJANGO_SETTINGS_MODULE=tests.django.settings
- #epytest -p asyncio tests/django
-}
diff --git a/dev-python/authlib/authlib-1.6.1.ebuild b/dev-python/authlib/authlib-1.6.3.ebuild
index ceccba6a20d1..b5ffdd88beb0 100644
--- a/dev-python/authlib/authlib-1.6.1.ebuild
+++ b/dev-python/authlib/authlib-1.6.3.ebuild
@@ -54,6 +54,7 @@ BDEPEND="
"
EPYTEST_PLUGINS=( pytest-asyncio )
+EPYTEST_XDIST=1
distutils_enable_tests pytest
src_prepare() {
@@ -65,10 +66,9 @@ src_prepare() {
}
python_test() {
- local -x DJANGO_SETTINGS_MODULE=tests.clients.test_django.settings
+ local -x DJANGO_SETTINGS_MODULE=tests.django_settings
epytest tests/{core,jose,clients,flask}
# TODO: django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
- #local -x DJANGO_SETTINGS_MODULE=tests.django.settings
#epytest tests/django
}