aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-authlib/APKBUILD
blob: 4fc2e12092ab38e37df133919441234cda25d9f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-authlib
pkgver=0.15.3
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-setuptools"
#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() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="7288c1d9038527be7a25e7af50530514555ad71757b166e074f769bef19a8acd288af12a5ac56c276487dd36d4271dd11af9c06fe9bc67acb7eddc88bc88b3d4  Authlib-0.15.3.tar.gz"