mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-06 06:02:14 +01:00
35 lines
921 B
Plaintext
35 lines
921 B
Plaintext
# Contributor:
|
|
# Maintainer: Kristóf Jakab <jakab.kristof@balasys.hu>
|
|
pkgname=py-radix
|
|
pkgver=0.10.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"
|
|
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
python2 setup.py build
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
python2 setup.py test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python2 setup.py install --prefix=/usr --root="$pkgdir"
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|
|
|
|
sha512sums="b4b6a35aad76c19c2eaa5bff828cbec5182cc4074397d4b9e5c39ac76bd9045c86600ed52ac06632abac8a9e70d6e82aa9e741ab3eb92970453bb14acdba72ea py-radix-0.10.0.tar.gz"
|