mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
dev-python/authlib: add 1.5.2
Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
This commit is contained in:
54
dev-python/authlib/authlib-1.5.2.ebuild
Normal file
54
dev-python/authlib/authlib-1.5.2.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 2025
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10,11,12} )
|
||||
|
||||
DISTUTILS_USE_PEP517="setuptools"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python library in building OAuth and OpenID Connect servers and clients."
|
||||
|
||||
HOMEPAGE="https://authlib.org/"
|
||||
SRC_URI="https://pypi.org/project/Authlib/#${PN}-${PV}.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}]
|
||||
<dev-python/pycryptodome-4[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/anyio[${PYTHON_USEDEP}]
|
||||
dev-python/cachelib[${PYTHON_USEDEP}]
|
||||
dev-python/httpx[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/starlette[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user