diff options
Diffstat (limited to 'community/py3-authlib/APKBUILD')
-rw-r--r-- | community/py3-authlib/APKBUILD | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/community/py3-authlib/APKBUILD b/community/py3-authlib/APKBUILD index c093150c5cb..9ab0e698939 100644 --- a/community/py3-authlib/APKBUILD +++ b/community/py3-authlib/APKBUILD @@ -1,21 +1,24 @@ # Contributor: Rasmus Thomsen <oss@cogitri.dev> -# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: pkgname=py3-authlib -pkgver=0.14.3 -pkgrel=0 -pkgdesc="The ultimate Python library in building OAuth and OpenID Connect servers" +pkgver=1.3.0 +pkgrel=1 +pkgdesc="Python library for building OAuth and OpenID Connect servers" url="https://github.com/lepture/authlib" -arch="all" +arch="noarch" license="BSD-3-Clause" depends="python3 py3-cryptography" -makedepends="py3-setuptools" +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() { - python3 setup.py build + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 } check() { @@ -23,7 +26,10 @@ check() { } package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" + python3 -m installer -d "$pkgdir" \ + .dist/Authlib*.whl } -sha512sums="19f42c6b7c718ea2021ce1df8716fa87a40d0ac7d7efb5b4b905949150400a16b902302f84697e181adab2880c2028332dac060881fbbb716eca354c4159c7c4 Authlib-0.14.3.tar.gz" +sha512sums=" +86cb56123445b27fccb410d4440618378a6235d3d07b53a0f0e9ca3b409a3844aa1eca776124082e3f7dbb33d00385eb5146793545fc7c5956b0be4a18edb3a6 Authlib-1.3.0.tar.gz +" |