mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-25 07:21:38 +01:00
36 lines
984 B
Plaintext
36 lines
984 B
Plaintext
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
maintainer="fossdd <fossdd@pwned.life>"
|
|
pkgname=py3-authlib
|
|
pkgver=1.5.1
|
|
pkgrel=0
|
|
pkgdesc="Python library for building OAuth and OpenID Connect servers"
|
|
url="https://github.com/lepture/authlib"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3 py3-cryptography"
|
|
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
|
#checkdepends="py3-django py3-flask-sqlalchemy"
|
|
options="!check" # missing deps: py3-httpx, py3-starlette,py3-pytest-django
|
|
subpackages="$pkgname-pyc"
|
|
source="https://pypi.io/packages/source/A/Authlib/authlib-$pkgver.tar.gz"
|
|
builddir="$srcdir/authlib-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/Authlib*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
595030e90e441cf510b31af820e99041f323a249530648c49973df02e2a7d38738232a4916e39c3ce9d3317e7f3a1accd0cbc9de895b0b22dbe6d3bf7e26405e authlib-1.5.1.tar.gz
|
|
"
|