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

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 14:58:28 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:58:28
  Author: foutrelis
Revision: 1059632

archrelease: copy trunk to community-staging-any

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

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

Copied: python-rtree/repos/community-staging-any/PKGBUILD (from rev 1059631, python-rtree/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:58:28 UTC (rev 1059632)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-rtree
+pkgver=0.9.7
+pkgrel=3
+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=('f3add9440ddbc3b40366a3826c4206d03d46aa4e0e5cf90e5838347def7f9b52662458cb964a5f27cfd589637b2b1616dca62cbd89e6095601cf0f1881e2090b')
+
+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