From 8ef33574d86246794cbd4a6f26a67c8be772d79d Mon Sep 17 00:00:00 2001 From: Karl Nilsson Date: Tue, 14 Jul 2020 13:03:35 -0400 Subject: [PATCH] New package: python3-rtree-0.9.4 --- srcpkgs/python3-rtree/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/python3-rtree/template diff --git a/srcpkgs/python3-rtree/template b/srcpkgs/python3-rtree/template new file mode 100644 index 00000000000..652b840591e --- /dev/null +++ b/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 libspatialindex-devel" +makedepends="python3-devel libspatialindex-devel" +depends="libspatialindex" +checkdepends="python3-pytest python3-numpy" +short_desc="Python3 bindings for libspatialindex" +maintainer="Karl Nilsson " +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/ +}