[arch-commits] Commit in python-rtree/repos (community-any community-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Sep 18 09:58:23 UTC 2018


    Date: Tuesday, September 18, 2018 @ 09:58:23
  Author: felixonmars
Revision: 383007

archrelease: copy trunk to community-any

Added:
  python-rtree/repos/community-any/
  python-rtree/repos/community-any/PKGBUILD
    (from rev 383006, python-rtree/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: python-rtree/repos/community-any/PKGBUILD (from rev 383006, python-rtree/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-09-18 09:58:23 UTC (rev 383007)
@@ -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