1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Simon Sapin <simon dot sapin at exyr dot org>
3 # Contributor: Kyle Keen <keenerd@gmail.com>
8 pkgdesc="A strictly RFC 4510 conforming LDAP V3 pure Python client library"
9 url="https://github.com/cannatag/ldap3"
12 depends=('python-pyasn1')
13 makedepends=('python-setuptools')
14 checkdepends=('python-nose')
15 source=("$pkgname-$pkgver.tar.gz::https://github.com/cannatag/ldap3/archive/v$pkgver.tar.gz")
16 sha512sums=('bf07ebca9a53a8c225bc3106d3bd45eb26557c6e5a3d6d45a7f8c149d938ad43825eed0d406a57b93e2e675ed7aa262828f022ab82eb683f0e3029e3ad823106')
19 cd "$srcdir"/ldap3-$pkgver
24 cd "$srcdir"/ldap3-$pkgver
25 nosetests3 -s test || echo "Tests require a running LDAP server"
30 python setup.py install --root="$pkgdir" --optimize=1