mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/py-radix: add check
This commit is contained in:
parent
1779702820
commit
66aee115d6
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user