# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=py3-ldap3 _pkgname=ldap3 pkgver=2.9.1 pkgrel=2 pkgdesc="A strictly RFC 4510 conforming LDAP V3 pure Python3 client" url="https://github.com/cannatag/ldap3" arch="noarch" license="LGPL-3.0-or-later" depends="python3 py3-asn1" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/cannatag/ldap3/archive/v$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" options="!check" # tests need running LDAP server replaces="py-ldap3" # Backwards compatibility provides="py-ldap3=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" bf07ebca9a53a8c225bc3106d3bd45eb26557c6e5a3d6d45a7f8c149d938ad43825eed0d406a57b93e2e675ed7aa262828f022ab82eb683f0e3029e3ad823106 py3-ldap3-2.9.1.tar.gz "