aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-py-radix
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-07-04 23:16:23 +0300
committerprspkt <prspkt@protonmail.com>2019-07-04 23:24:19 +0300
commitbac699eb3792b869daa5b0916abd593d66f7f350 (patch)
treee9dc25ebb01019569f9fec434339768068be3361 /testing/py3-py-radix
parent32cfcf4b6037ddb0e9a454ae1fab5e1ed662fd60 (diff)
downloadaports-bac699eb3792b869daa5b0916abd593d66f7f350.tar.bz2
aports-bac699eb3792b869daa5b0916abd593d66f7f350.tar.xz
testing/py3-py-radix: clarify license, modernize
Diffstat (limited to 'testing/py3-py-radix')
-rw-r--r--testing/py3-py-radix/APKBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/testing/py3-py-radix/APKBUILD b/testing/py3-py-radix/APKBUILD
index 0576bda49a..50a3210790 100644
--- a/testing/py3-py-radix/APKBUILD
+++ b/testing/py3-py-radix/APKBUILD
@@ -3,36 +3,30 @@
pkgname=py3-py-radix
_pkgname=py-radix
pkgver=0.10.0
-pkgrel=1
+pkgrel=2
pkgdesc="An implementation of a radix tree for Python"
url="https://github.com/mjschultz/py-radix"
arch="all"
-license="BSD"
+license="BSD-4-Clause AND ISC"
depends="python3"
makedepends="py3-setuptools python3-dev"
checkdepends="py3-coverage py3-nose"
-subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/mjschultz/py-radix/archive/v$pkgver.tar.gz"
-
-builddir="$srcdir/$pkgname-$pkgver"
+source="$_pkgname-$pkgver.tar.gz::https://github.com/mjschultz/py-radix/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
replaces=py-radix # Backwards compatibility
provides=py-radix=$pkgver-r$pkgrel # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
python3 setup.py test
}
package() {
- cd "$builddir"
python3 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"