aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-dnspython/APKBUILD
blob: a7befb63967242c884ca84b81697207dd3486ec1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
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"