user/tandoor-recipes: new aport #337
1 changed files with 32 additions and 0 deletions
32
user/py3-django-auth-ldap/APKBUILD
Normal file
32
user/py3-django-auth-ldap/APKBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
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
|
||||
"
|
Loading…
Reference in a new issue