]> git.sev.monster Git - aports.git/blame_incremental - testing/web2ldap/APKBUILD
testing/mympd: upgrade to 15.0.1
[aports.git] / testing / web2ldap / APKBUILD
... / ...
CommitLineData
1# Contributor: sev <sev+alpine@sev.monster>
2# Maintainer: sev <sev+alpine@sev.monster>
3pkgname=web2ldap
4pkgver=1.8.1
5pkgrel=1
6pkgdesc="Full-featured LDAP client running as web application"
7url="https://web2ldap.de"
8arch="noarch"
9license="Apache-2.0"
10makedepends="python3-dev py3-setuptools"
11depends="py3-ldap0 py3-xlwt py3-dnspython py3-iso3166 py3-asn1crypto py3-paramiko"
12subpackages="$pkgname-openrc"
13source="https://www.web2ldap.de/download/web2ldap-$pkgver.tar.gz
14 $pkgname.initd"
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="
36c752266cc94aaea4d13c98ccf434821e53662348a265abd3a636b11956cbaad7dbc6dc9fb7bb36c4bc6168622a54b9d39920ea0b7c27f67340ca03fabe445c71 web2ldap-1.8.1.tar.gz
37e1c43bf3b6aeb96c327bd6c1b3ff2ef2f834b6fe58ced31e2b02d3a6006ded5da665faa27f4971df9ef5e8305b2f0a2ccbb626191f08085eef77e88caac5d4d1 web2ldap.initd
38"
This page took 0.036148 seconds and 4 git commands to generate.