diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -2,18 +2,23 @@ pkgname=python-ldapdomaindump _pypiname=ldapdomaindump -pkgver=0.9.3 +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-setuptools') +makedepends=('python-build' 'python-installer' 'python-wheel') source=(${_pypiname}-${pkgver}.tar.gz::"https://github.com/dirkjanm/ldapdomaindump/archive/v${pkgver}.tar.gz") -sha256sums=('30d269f8c638a1446d7a71d01c41e2a03ea0b9742ada471414db91bd77927f40') +sha256sums=('43a0822c96d06b8f7a3e3f044deb1591344c84d273c9d7f5815347c88af300fa') + +build() { + cd ${_pypiname}-${pkgver} + python -m build --wheel --no-isolation +} package() { - cd ${_pypiname}-${pkgver} - python setup.py install -O1 --root="${pkgdir}" --prefix=/usr + cd ${_pypiname}-${pkgver} + python -m installer --destdir="${pkgdir}" dist/*.whl } |