Skip to content

Commit

Permalink
New package: python3-rtree-0.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-nilsson committed Jul 31, 2020
1 parent 1684879 commit 2c565f0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions srcpkgs/python3-rtree/template
@@ -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"
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/
}

0 comments on commit 2c565f0

Please sign in to comment.