From 2d5403cea109cb0629687f4758d831301f5b480b Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 4 Jan 2024 20:58:47 -0500 Subject: [PATCH] user/py3-django-auth-ldap: new aport --- user/py3-django-auth-ldap/APKBUILD | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 user/py3-django-auth-ldap/APKBUILD diff --git a/user/py3-django-auth-ldap/APKBUILD b/user/py3-django-auth-ldap/APKBUILD new file mode 100644 index 0000000..d6f14df --- /dev/null +++ b/user/py3-django-auth-ldap/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: Antoine Martin (ayakael) +# Maintainer: Antoine Martin (ayakael) +pkgname=py3-django-auth-ldap +#_pkgreal is used by apkbuild-pypi to find modules at PyPI +_pkgreal=django-auth-ldap +pkgver=4.6.0 +pkgrel=0 +pkgdesc="Django LDAP authentication backend" +url="https://pypi.python.org/project/django-auth-ldap" +arch="noarch" +license="BSD" +depends="py3-django py3-ldap" +checkdepends="python3-dev" +makedepends="py3-setuptools py3-gpep517 py3-wheel" +source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/d/django-auth-ldap/django-auth-ldap-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" +subpackages="$pkgname-pyc" + +build() { + gpep517 build-wheel \ + --wheel-dir .dist \ + --output-fd 3 3>&1 >&2 +} + +package() { + python3 -m installer -d "$pkgdir" \ + .dist/*.whl +} + +sha512sums=" +fc3945fb9cece694b63661c8565d877bdc81e012e9b4e9a8f1840bd83f6effb525e36f40e5dd5018b43d2c7c72fcdd25a5c61bf35e6f0d05e70e830f69228498 py3-django-auth-ldap-4.6.0.tar.gz +"