From 2dd21acbe74be73abc696eba2847bf7907c37466 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 14 Jun 2023 16:49:30 -0400 Subject: [PATCH] user/py3-django-allauth: new aport --- user/py3-django-allauth/APKBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 user/py3-django-allauth/APKBUILD diff --git a/user/py3-django-allauth/APKBUILD b/user/py3-django-allauth/APKBUILD new file mode 100644 index 0000000..1bc8304 --- /dev/null +++ b/user/py3-django-allauth/APKBUILD @@ -0,0 +1,30 @@ +# Maintainer: Antoine Martin (ayakael) +# Contributor: Antoine Martin (ayakael) + +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 +"