]> git.sev.monster Git - aports.git/blame - testing/py3-ldap0/APKBUILD
testing/mympd: upgrade to 9.3.4
[aports.git] / testing / py3-ldap0 / APKBUILD
CommitLineData
c128403a 1# Contributor: sev <alpine@sev.monster>
2# Maintainer: sev <alpine@sev.monster>
3pkgname=py3-ldap0
310f7679 4pkgver=1.4.9
c128403a 5pkgrel=0
6pkgdesc="Module package for implementing LDAP clients"
7url="https://code.stroeder.com/pymod/python-ldap0.git"
8arch="all"
9license="Apache-2.0"
10makedepends="python3-dev py3-setuptools openldap-dev"
11# unreliable source
12#source="https://code.stroeder.com/pymod/python-ldap0/tags"
13source="https://gitlab.com/ae-dir/python-ldap0/-/archive/v$pkgver/python-ldap0-v$pkgver.tar.gz"
14builddir="$srcdir/python-ldap0-v$pkgver"
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="
310f7679 33ddc87b3a23e1dbdbff10e3b56f5e58a5e87cabd30172aeec01eb7a9888e80ed6cfe337ec0b856d98ef7eb1331bc50fb79552ea214e32137525ec6a2ff59e982a python-ldap0-v1.4.9.tar.gz
c128403a 34"
This page took 0.047913 seconds and 4 git commands to generate.