mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
dev-python/authlib: add 1.5.2
Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
This commit is contained in:
1
dev-python/authlib/Manifest
Normal file
1
dev-python/authlib/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST #authlib-1.5.2.tar.gz 3101 BLAKE2B 82203ce4d6463184d05fdbc868f7a00cb4895ed6c393b0f15988f30a9d60a8cb74410fa8e217e39b4c361fb99d99584a5fcb556a37433c51c2636e1f79ddc459 SHA512 77d305f747373f73da81dc9cb0f56bb782d868911e1246700179745645bc8b6b0c2300ae069f16f19d415628d870eb669244fc8257bc653ea78f2d300a67546f
|
||||||
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
|
||||||
|
}
|
||||||
23
dev-python/authlib/metadata.xml
Normal file
23
dev-python/authlib/metadata.xml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person" proxied="yes">
|
||||||
|
<name>Oz Tiram</name>
|
||||||
|
<email>oz.tiram@gmail.com</email>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project" proxied="no">
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="django">Enable Django framework support</flag>
|
||||||
|
<flag name="flask">Enable Flask framework support</flag>
|
||||||
|
<flag name="jose">Enable JSON Object Signing and Encryption (JOSE) support via <pkg>dev-python/pycryptodome</pkg></flag>
|
||||||
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">lepture/authlib</remote-id>
|
||||||
|
<remote-id type="pypi">Authlib</remote-id>
|
||||||
|
<doc>https://docs.authlib.org/</doc>
|
||||||
|
<bugs-to>https://github.com/authlib/authlib/issues</bugs-to>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
Reference in New Issue
Block a user