[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at archlinux.org
Tue Sep 18 09:58:06 UTC 2018
Date: Tuesday, September 18, 2018 @ 09:58:05
Author: felixonmars
Revision: 383006
addpkg: python-rtree 0.8.3-1
Added:
python-rtree/
python-rtree/repos/
python-rtree/trunk/
python-rtree/trunk/PKGBUILD
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Added: python-rtree/trunk/PKGBUILD
===================================================================
--- python-rtree/trunk/PKGBUILD (rev 0)
+++ python-rtree/trunk/PKGBUILD 2018-09-18 09:58:05 UTC (rev 383006)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-rtree
+pkgver=0.8.3
+pkgrel=1
+pkgdesc="Rtree: spatial index for Python GIS"
+url="http://toblerity.github.com/rtree/"
+license=('LGPL')
+arch=('any')
+depends=('libspatialindex' 'python-setuptools')
+checkdepends=('python-pytest-runner' 'python-numpy')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Toblerity/rtree/archive/$pkgver.tar.gz")
+sha512sums=('4f6311ab5a24badb702fed6ff9dc7dc7f81caec0696ea0479e3620ba4be17c9ca6c1ecdd36ba4fd6c1f260f01795bb522bf10e1be9c132b767ed2bb0a4183566')
+
+build() {
+ cd rtree-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd rtree-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd rtree-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list