# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-dnspython _pkgname=dnspython pkgver=1.16.0 pkgrel=2 pkgdesc="A DNS toolkit for Python3" url="http://www.dnspython.org" arch="all" license="ISC" makedepends="py3-setuptools python3-dev cython3" source="http://www.dnspython.org/kits/$pkgver/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-dnspython" # Backwards compatibility provides="py-dnspython=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build --cython-compile } check() { python3 setup.py check --cython-compile } package() { python3 setup.py install --cython-compile --prefix=/usr --root="$pkgdir" } sha512sums="41ddca2faf696d5d682551f517efd90c007011c1f6d9355d297d71a3fe84222a1e528945343d8c2276ad3957ceaab578f3df7c2c1709418ffcca01ccbb379359 dnspython-1.16.0.tar.gz"