blob: 12631fdafe3a74e70e3c14f4b83dbcd0ac0457c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=py3-pyldap
_pkgname=python-ldap
pkgver=3.4.3
pkgrel=1
pkgdesc="Python modules for implementing LDAP clients"
url="https://github.com/python-ldap/python-ldap"
arch="all"
license="Python-2.0 AND MIT"
depends="py3-asn1 py3-asn1-modules"
checkdepends="
openldap
openldap-back-mdb
openldap-clients
openldap-overlay-syncprov
"
makedepends="python3-dev py3-setuptools openldap-dev"
replaces="py-pyldap"
provides="py-pyldap=$pkgver-r$pkgrel"
source="https://github.com/$_pkgname/$_pkgname/archive/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$_pkgname-$pkgver"
case "$CARCH" in
# FIXME: Some tests fail.
s390x) options="!check";;
esac
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
a52403b7d9fc4d114b995640ff34f5aefd313d36cea5ff6de73ea9f46036694ebd43cd9d11382daf3be9da887f62c6675b49d684c05a7d5f0c93d446b16d1981 python-ldap-3.4.3.tar.gz
"
|