ayaports/testing/py3-django-allauth/APKBUILD

43 lines
1 KiB
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-django-allauth
_pyname="django-allauth"
pkgver=0.54.0
pkgrel=0
arch="noarch"
pkgdesc="Integrated set of Django applications addressing SSO"
url="https://pypi.python.org/project/$_pyname"
license="MIT"
depends="
py3-django
py3-openid
py3-requests
py3-requests-oauthlib
py3-jwt
py3-cryptography
"
makedepends="
py3-setuptools
py3-build
py3-installer
py3-wheel
"
source="$pkgname-$pkgver.tar.gz::https://github.com/pennersr/$_pyname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
subpackages="$pkgname-pyc"
build() {
python3 -m build --wheel --skip-dependency-check --no-isolation
}
check() {
python3 manage.py test allauth
}
package() {
python3 -m installer --destdir="$pkgdir" dist/*.whl
}
sha512sums="
87914f01a788115fc70f9c221541373898af368ce7776a4db2047db1762d202e8aee0edbd247275ae01618a6d71d72e4c7eb7b7f531d1f44929ff04f659d38e3 py3-django-allauth-0.54.0.tar.gz
"