user/py3-django-allauth: new aport

This commit is contained in:
Antoine Martin 2023-06-14 16:49:30 -04:00
parent 57eeeed3ea
commit 2dd21acbe7
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -0,0 +1,30 @@
# 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="!armv7 noarch"
pkgdesc="Integrated set of Django applications addressing SSO"
url="https://pypi.python.org/project/$_pyname"
license="MIT"
depends='python3 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
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
"