]>
Commit | Line | Data |
---|---|---|
be144bf2 | 1 | # Contributor: sev <sev+alpine@sev.monster> |
2 | # Maintainer: sev <sev+alpine@sev.monster> | |
16de2752 | 3 | pkgname=web2ldap |
7f1c660c | 4 | pkgver=1.8.1 |
2dad78a3 | 5 | pkgrel=3 |
16de2752 | 6 | pkgdesc="Full-featured LDAP client running as web application" |
7 | url="https://web2ldap.de" | |
8 | arch="noarch" | |
9 | license="Apache-2.0" | |
10 | makedepends="python3-dev py3-setuptools" | |
e77b22c3 | 11 | depends="py3-ldap0 py3-xlwt py3-dnspython py3-iso3166 py3-asn1crypto py3-paramiko" |
16de2752 | 12 | subpackages="$pkgname-openrc" |
2dad78a3 | 13 | source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz |
14 | fix-python_requires.patch | |
6b38e0c2 | 15 | $pkgname.initd" |
16de2752 | 16 | |
17 | build() { | |
18 | python3 setup.py build | |
19 | } | |
20 | ||
21 | check() { | |
22 | python3 setup.py check | |
23 | } | |
24 | ||
25 | package() { | |
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 | ||
35 | sha512sums=" | |
7f1c660c | 36 | c752266cc94aaea4d13c98ccf434821e53662348a265abd3a636b11956cbaad7dbc6dc9fb7bb36c4bc6168622a54b9d39920ea0b7c27f67340ca03fabe445c71 web2ldap-1.8.1.tar.gz |
2dad78a3 | 37 | 4519c31ef9d62c47d7a6af6ba361ac5c243d8f77dd36b2a16f8adda9e38f9cecf935305b2ce69834f9fe23740a361826e5b53999594fe354b702a556cc1da304 fix-python_requires.patch |
54b501a5 | 38 | e1c43bf3b6aeb96c327bd6c1b3ff2ef2f834b6fe58ced31e2b02d3a6006ded5da665faa27f4971df9ef5e8305b2f0a2ccbb626191f08085eef77e88caac5d4d1 web2ldap.initd |
16de2752 | 39 | " |