aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/py-radix/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/testing/py-radix/APKBUILD b/testing/py-radix/APKBUILD
index f7b648da43..5ab38a3dbf 100644
--- a/testing/py-radix/APKBUILD
+++ b/testing/py-radix/APKBUILD
@@ -2,13 +2,14 @@
# Maintainer: Kristóf Jakab <jakab.kristof@balasys.hu>
pkgname=py-radix
pkgver=0.10.0
-pkgrel=0
+pkgrel=1
pkgdesc="An implementation of a radix tree for Python"
url="https://github.com/mjschultz/py-radix"
arch="all"
license="BSD"
depends="python2"
makedepends="python2-dev py2-setuptools"
+checkdepends="py2-coverage py2-nose"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/mjschultz/py-radix/archive/v$pkgver.tar.gz"
@@ -19,6 +20,11 @@ build() {
python2 setup.py build
}
+check() {
+ cd "$builddir"
+ python2 setup.py test
+}
+
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir"