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

Bruno Pagani archange at gemini.archlinux.org
Wed Jun 22 11:52:06 UTC 2022


    Date: Wednesday, June 22, 2022 @ 11:52:06
  Author: archange
Revision: 1238939

archrelease: copy trunk to community-any

Added:
  python-geopandas/repos/community-any/PKGBUILD
    (from rev 1238938, python-geopandas/trunk/PKGBUILD)
Deleted:
  python-geopandas/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  115 +++++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 70 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-22 11:52:00 UTC (rev 1238938)
+++ PKGBUILD	2022-06-22 11:52:06 UTC (rev 1238939)
@@ -1,45 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=geopandas
-pkgname=python-${_pkg}
-pkgver=0.10.2
-pkgrel=2
-pkgdesc="Python tools for geographic data"
-arch=(any)
-url="https://geopandas.org"
-license=(BSD)
-depends=(
-    python-fiona
-    python-numpy
-    python-pandas
-    python-pyproj
-    python-shapely
-)
-optdepends=(
-    'python-rtree: spatial access methods'
-    'python-psycopg2: PostGIS access'
-    'python-sqlalchemy: other geodatabase access'
-    'python-geopy: geocoding'
-    'python-matplotlib: plotting'
-#    'python-mapclassify: plotting'
-)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest python-psycopg2 python-sqlalchemy python-geopy python-matplotlib python-scipy) #python-mapclassify
-source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('efbf47e70732e25c3727222019c92b39b2e0a66ebe4fe379fbe1aa43a2a871db')
-
-build() {
-  cd ${_pkg}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkg}-${pkgver}
-  PYTHONPATH="${PWD}"/build/lib/ pytest
-}
-
-package() {
-  cd ${_pkg}-${pkgver}
-  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: python-geopandas/repos/community-any/PKGBUILD (from rev 1238938, python-geopandas/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-22 11:52:06 UTC (rev 1238939)
@@ -0,0 +1,70 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=geopandas
+pkgname=python-${_pkg}
+pkgver=0.11.0
+pkgrel=1
+pkgdesc="Python tools for geographic data"
+arch=(any)
+url="https://geopandas.org"
+license=(BSD)
+depends=(
+    gdal
+    python-fiona
+    python-numpy
+    python-packaging
+    python-pandas
+    python-pyproj
+    python-shapely
+)
+optdepends=(
+    'python-pygeos: alternative backend'
+    'python-pyogrio: vectorized IO for GDAL/OGR'
+    'python-rtree: spatial access methods'
+    'python-psycopg2: PostGIS access'
+    'python-sqlalchemy: other geodatabase access'
+    'python-geopy: geocoding'
+    'python-matplotlib: plotting'
+#    'python-mapclassify: plotting'
+)
+makedepends=(python-setuptools)
+checkdepends=(
+    python-pytest
+    python-fsspec
+    python-pygeos
+    python-pyogrio
+    python-rtree
+    python-matplotlib
+    #python-mapclassify
+    #python-folium
+    #python-xyzservices
+    python-scipy
+    python-geopy
+    python-sqlalchemy
+    python-psycopg2
+    libspatialite
+    #python-geoalchemy2
+    python-pyarrow
+    postgis
+    ghostscript
+)
+# No tests data in Pypi
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(https://github.com/geopandas/geopandas/archive/refs/tags/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('013b0f56773c0dea491b84dae016c541a7bbae30cb854b1d6e139cd7a961abac')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  PYTHONPATH="${PWD}"/build/lib/ pytest -vv --color=yes
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list