25 lines
729 B
Bash
25 lines
729 B
Bash
# 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/
|
|
}
|