1 # Contributor: sev <alpine@sev.monster>
2 # Maintainer: sev <alpine@sev.monster>
6 pkgdesc="Full-featured LDAP client running as web application"
7 url="https://web2ldap.de"
10 makedepends="python3-dev py3-setuptools"
11 depends="py3-ldap0 py3-xlwt py3-dnspython py3-iso3166 py3-asn1crypto py3-paramiko"
12 subpackages="$pkgname-openrc"
13 source="https://www.web2ldap.de/download/web2ldap-$pkgver.tar.gz
15 builddir="$srcdir/web2ldap-$pkgver"
18 python3 setup.py build
22 python3 setup.py check
26 python3 setup.py install --prefix=/usr --root="$pkgdir"
27 # move conf to proper location
28 mv "$pkgdir/usr/etc" "$pkgdir"
30 install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
31 # fix perms on egg-info
32 chmod -R go+r "$pkgdir"/usr/lib/python*/site-packages/web2ldap-$pkgver-py*
36 c752266cc94aaea4d13c98ccf434821e53662348a265abd3a636b11956cbaad7dbc6dc9fb7bb36c4bc6168622a54b9d39920ea0b7c27f67340ca03fabe445c71 web2ldap-1.8.1.tar.gz
37 24e2ae01ff17afbeb8b7ef3b4ae80ba0d982a150da3d3606e9c642c3fcd01d759057851813f46949b2464f8b5d653b674fb67d8196269a96244bc3c95bf0558f web2ldap.initd