[arch-commits] Commit in python-geopandas/trunk (PKGBUILD)

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


    Date: Wednesday, June 22, 2022 @ 11:52:00
  Author: archange
Revision: 1238938

upgpkg: python-geopandas 0.11.0-1

Modified:
  python-geopandas/trunk/PKGBUILD

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++------
 1 file changed, 31 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-22 11:43:53 UTC (rev 1238937)
+++ PKGBUILD	2022-06-22 11:52:00 UTC (rev 1238938)
@@ -2,20 +2,24 @@
 
 _pkg=geopandas
 pkgname=python-${_pkg}
-pkgver=0.10.2
-pkgrel=2
+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'
@@ -24,9 +28,30 @@
 #    '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')
+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}
@@ -35,7 +60,7 @@
 
 check() {
   cd ${_pkg}-${pkgver}
-  PYTHONPATH="${PWD}"/build/lib/ pytest
+  PYTHONPATH="${PWD}"/build/lib/ pytest -vv --color=yes
 }
 
 package() {



More information about the arch-commits mailing list