Date: Thursday, April 6, 2023 @ 14:30:07
  Author: felixonmars
Revision: 1439243

archrelease: copy trunk to community-staging-any

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

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

Copied: python-rtree/repos/community-staging-any/PKGBUILD (from rev 1439242, 
python-rtree/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 14:30:07 UTC (rev 1439243)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-rtree
+pkgver=1.0.1
+pkgrel=2
+pkgdesc="Rtree: spatial index for Python GIS"
+url="https://toblerity.github.com/rtree/";
+license=('LGPL')
+arch=('any')
+depends=('python' 'spatialindex')
+makedepends=('python-setuptools' 'python-wheel')
+checkdepends=('python-pytest-runner' 'python-pytest-cov' 'python-numpy')
+source=("https://github.com/Toblerity/rtree/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('473ed3bb6457a9831e464b102e52c9ff8667192d2c26880d4cb0bd3bbec51549a532d99ea44650be900298a1ea9302a6aab9c97e0b67c025a0362738062836c7')
+
+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
+}

Reply via email to