[arch-commits] Commit in python-rtree/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 05:46:20 UTC 2019


    Date: Monday, November 4, 2019 @ 05:46:19
  Author: felixonmars
Revision: 523238

archrelease: copy trunk to community-staging-any

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

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

Copied: python-rtree/repos/community-staging-any/PKGBUILD (from rev 523237, python-rtree/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 05:46:19 UTC (rev 523238)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-rtree
+pkgver=0.8.3
+pkgrel=3
+pkgdesc="Rtree: spatial index for Python GIS"
+url="https://toblerity.github.com/rtree/"
+license=('LGPL')
+arch=('any')
+depends=('spatialindex' '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