summaryrefslogtreecommitdiffstats
path: root/testing/py-dnspython/APKBUILD
blob: cfdc02ac3eed2321b681af333bd5bc804e2d6460 (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
30
31
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-dnspython
_pkgname=dnspython
pkgver=1.10.0
pkgrel=0
pkgdesc="A DNS toolkit for Python"
url="http://www.dnspython.org"
arch="noarch"
license="BSD"
depends=
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://www.dnspython.org/kits/$pkgver/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="b4f60852fd7ba64fc7c3a1fa239eba33  dnspython-1.10.0.tar.gz"
sha256sums="4dc21450ec6ac94dd105b4e5f39a75b404ad45a30869ff73acb6fd4d9974f857  dnspython-1.10.0.tar.gz"
sha512sums="17c525f4e31e6759bb14ce3f5a5cba57e075222e291e67fc946d6a80b6ba1a01e72978f70f39d93b13fea83c99658a8bdb5e63c291eae6ff0b64b2b65f7060da  dnspython-1.10.0.tar.gz"