summaryrefslogtreecommitdiffstats
path: root/testing/py-dnspython/APKBUILD
blob: 65da770052e1bdf326605b3fd4412fb5f0a9b6e6 (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.11.1
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="6167344ca849bd2ba108a8aa6118cb2b  dnspython-1.11.1.tar.gz"
sha256sums="c0c6fcf3ff52939e7eadd931282d083271f65cf0a174555a703563a400289768  dnspython-1.11.1.tar.gz"
sha512sums="03b2d35ae638a05d1af5458e88ab3450c1bf835a4e704b630474f32b8f93844b625ab2fc0000fdf2490bc90e3ec01f56175be130b5de996546c8bcebe57dfc05  dnspython-1.11.1.tar.gz"