25 lines
730 B
Bash
25 lines
730 B
Bash
# Template file for 'python3-rtree'
|
|
pkgname=python3-rtree
|
|
version=0.9.5
|
|
revision=2
|
|
wrksrc="rtree-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools libspatialindex-devel python3-wheel"
|
|
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=8d6eebab672d4ac58d10a8f13a200d47502ce70153d43700ddbbde145a217e01
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt LICENSE
|
|
}
|
|
|
|
do_check() {
|
|
python3 -m pytest tests/
|
|
}
|