# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-dnslib _pkgname=dnslib pkgver=0.9.10 pkgrel=1 pkgdesc="A simple library to encode/decode DNS wire-format packets" url="https://bitbucket.org/paulc/dnslib/" arch="noarch" license="BSD-2-Clause" depends="python3" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces=py-dnslib # Backwards compatibility provides=py-dnslib=$pkgver-r$pkgrel # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="6d57dde440baffcc279e159554654b41adedd0471e56fb91a665596e2b7c2d3d909a9d72bd4a465638b177f5d81ceffc0737335964508bf5046ee38f5046bba5 dnslib-0.9.10.tar.gz"