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

Felix Yan felixonmars at archlinux.org
Mon Nov 25 06:12:27 UTC 2019


    Date: Monday, November 25, 2019 @ 06:12:26
  Author: felixonmars
Revision: 533182

archrelease: copy trunk to community-testing-any

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

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

Copied: python-rtree/repos/community-testing-any/PKGBUILD (from rev 533181, python-rtree/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-11-25 06:12:26 UTC (rev 533182)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-rtree
+pkgver=0.9.0
+pkgrel=1
+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-pytest-cov' 'python-numpy')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Toblerity/rtree/archive/$pkgver.tar.gz")
+sha512sums=('aa9049ed217302d1c3a55fb5ccc505ae0636a83391f58e4de611b3abf7810f6f241f35623578359d885e556e791daeadb55adb393653c2500ba8663b048e0740')
+
+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