New package: python3-rtree-0.9.4

This commit is contained in:
Karl Nilsson 2020-07-14 13:03:35 -04:00 committed by Piraty
parent 3f82afed75
commit 8ef33574d8

View File

@ -0,0 +1,25 @@
# Template file for 'python3-rtree'
pkgname=python3-rtree
version=0.9.4
revision=1
archs=noarch
wrksrc="rtree-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools libspatialindex-devel"
makedepends="python3-devel libspatialindex-devel"
depends="libspatialindex"
checkdepends="python3-pytest python3-numpy"
short_desc="Python3 bindings for libspatialindex"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
license="MIT"
homepage="https://toblerity.org/rtree/"
distfiles="https://github.com/Toblerity/rtree/archive/${version}.tar.gz"
checksum=d71a90913d0f1ce52c463383b175248f9469f02aea740f3f7579e541e703ea0f
post_install() {
vlicense LICENSE.txt LICENSE
}
do_check() {
python3 -m pytest tests/
}