]> git.sev.monster Git - aports.git/blame - testing/web2ldap/APKBUILD
testing/py3-apprise: upgrade to 1.2.0
[aports.git] / testing / web2ldap / APKBUILD
CommitLineData
16de2752 1# Contributor: sev <alpine@sev.monster>
2# Maintainer: sev <alpine@sev.monster>
3pkgname=web2ldap
e77b22c3 4pkgver=1.7.7
5pkgrel=0
16de2752 6pkgdesc="Full-featured LDAP client running as web application"
7url="https://web2ldap.de"
8arch="noarch"
9license="Apache-2.0"
10makedepends="python3-dev py3-setuptools"
e77b22c3 11depends="py3-ldap0 py3-xlwt py3-dnspython py3-iso3166 py3-asn1crypto py3-paramiko"
16de2752 12subpackages="$pkgname-openrc"
13source="https://www.web2ldap.de/download/web2ldap-$pkgver.tar.gz
6b38e0c2 14 $pkgname.initd"
16de2752 15builddir="$srcdir/web2ldap-$pkgver"
16
17build() {
18 python3 setup.py build
19}
20
21check() {
22 python3 setup.py check
23}
24
25package() {
26 python3 setup.py install --prefix=/usr --root="$pkgdir"
27 # move conf to proper location
28 mv "$pkgdir/usr/etc" "$pkgdir"
29 # install initd
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*
33}
34
35sha512sums="
e77b22c3 36f54fe60a1a11817e6e2a2d26173e54729fb5645a4780ba5b70f53d5f3a25e9f44be2a3243a277f517fdc4fbc2c400e49ade3bd2dddc42d4968ebe9d81a3cefd6 web2ldap-1.7.7.tar.gz
16de2752 3724e2ae01ff17afbeb8b7ef3b4ae80ba0d982a150da3d3606e9c642c3fcd01d759057851813f46949b2464f8b5d653b674fb67d8196269a96244bc3c95bf0558f web2ldap.initd
38"
This page took 0.056208 seconds and 4 git commands to generate.