# Maintainer: GI_Jack pkgname=python-ldapdomaindump _pypiname=ldapdomaindump pkgver=0.9.4 pkgrel=1 pkgdesc="Active Directory information dumper via LDAP, written in python" url="https://github.com/dirkjanm/ldapdomaindump/" arch=('any') license=('MIT') depends=('python' 'python-future' 'python-dnspython' 'python-ldap3') makedepends=('python-build' 'python-installer' 'python-wheel') source=(${_pypiname}-${pkgver}.tar.gz::"https://github.com/dirkjanm/ldapdomaindump/archive/v${pkgver}.tar.gz") sha256sums=('43a0822c96d06b8f7a3e3f044deb1591344c84d273c9d7f5815347c88af300fa') build() { cd ${_pypiname}-${pkgver} python -m build --wheel --no-isolation } package() { cd ${_pypiname}-${pkgver} python -m installer --destdir="${pkgdir}" dist/*.whl }