mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
34 lines
967 B
Text
34 lines
967 B
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: psykose <alice@ayaya.dev>
|
|
pkgname=py3-authlib
|
|
pkgver=1.2.0
|
|
pkgrel=0
|
|
pkgdesc="The ultimate Python library in 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
|
|
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="
|
|
2090c646efacac676af048d9b5af815acf0b6a00a540dccc7d0e1936a61bb9cffb69d669511367a8e8ed39f2193ba1277c5d3b2608c238c834c7b5fc6d75697b Authlib-1.2.0.tar.gz
|
|
"
|