]> git.sev.monster Git - aports.git/blame - testing/py3-ldap0/APKBUILD
*/*: update maintainer email
[aports.git] / testing / py3-ldap0 / APKBUILD
CommitLineData
be144bf2 1# Contributor: sev <sev+alpine@sev.monster>
2# Maintainer: sev <sev+alpine@sev.monster>
c128403a 3pkgname=py3-ldap0
3851f9c1 4pkgver=1.4.10
5pkgrel=0
c128403a 6pkgdesc="Module package for implementing LDAP clients"
7url="https://code.stroeder.com/pymod/python-ldap0.git"
8arch="all"
9license="Apache-2.0"
57d95020 10depends="py3-asn1 py3-asn1-modules"
c128403a 11makedepends="python3-dev py3-setuptools openldap-dev"
12# unreliable source
3851f9c1 13source="python-ldap0-v$pkgver.tar.gz::https://code.stroeder.com/pymod/python-ldap0/archive/v$pkgver.tar.gz"
14builddir="$srcdir/python-ldap0"
c128403a 15
16build() {
17 # XXX: fix openldap: https://stackoverflow.com/a/70207990
18 if [ ! -e /usr/lib/libldap_r.so ]; then
19 echo -n "INPUT ( libldap.so )" | sudo tee /usr/lib/libldap_r.so >/dev/null
20 fi
21 python3 setup.py build
22}
23
24check() {
25 python3 setup.py check
26}
27
28package() {
29 python3 setup.py install --prefix=/usr --root="$pkgdir"
30}
31
32sha512sums="
3851f9c1 33dbe51ef6cf6ab3dc66db488f6db284f63b33c43e8f3d592d85c54098cabe6605aa61b39b92f51d860bdf9b280b2b11a148b8e2ca124aaaadd7ffb4b038b446d0 python-ldap0-v1.4.10.tar.gz
c128403a 34"
This page took 0.037629 seconds and 4 git commands to generate.