aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-dnspython/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py-dnspython/APKBUILD')
-rw-r--r--testing/py-dnspython/APKBUILD19
1 files changed, 14 insertions, 5 deletions
diff --git a/testing/py-dnspython/APKBUILD b/testing/py-dnspython/APKBUILD
index 063bcbc835..cfdc02ac3e 100644
--- a/testing/py-dnspython/APKBUILD
+++ b/testing/py-dnspython/APKBUILD
@@ -2,21 +2,30 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-dnspython
_pkgname=dnspython
-pkgver=1.9.4
+pkgver=1.10.0
pkgrel=0
pkgdesc="A DNS toolkit for Python"
url="http://www.dnspython.org"
arch="noarch"
license="BSD"
depends=
-depends_dev="python-dev"
-makedepends="$depends_dev"
+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 --root=$pkgdir
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
-md5sums="8a89b7865251c4e9d8ec2f8cc9f8cd78 dnspython-1.9.4.tar.gz"
+
+md5sums="b4f60852fd7ba64fc7c3a1fa239eba33 dnspython-1.10.0.tar.gz"
+sha256sums="4dc21450ec6ac94dd105b4e5f39a75b404ad45a30869ff73acb6fd4d9974f857 dnspython-1.10.0.tar.gz"
+sha512sums="17c525f4e31e6759bb14ce3f5a5cba57e075222e291e67fc946d6a80b6ba1a01e72978f70f39d93b13fea83c99658a8bdb5e63c291eae6ff0b64b2b65f7060da dnspython-1.10.0.tar.gz"