[arch-commits] Commit in python-geopandas/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Dec 8 02:56:27 UTC 2021
Date: Wednesday, December 8, 2021 @ 02:56:26
Author: foutrelis
Revision: 1065593
archrelease: copy trunk to community-staging-any
Added:
python-geopandas/repos/community-staging-any/
python-geopandas/repos/community-staging-any/PKGBUILD
(from rev 1065592, python-geopandas/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: python-geopandas/repos/community-staging-any/PKGBUILD (from rev 1065592, python-geopandas/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-08 02:56:26 UTC (rev 1065593)
@@ -0,0 +1,45 @@
+# 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}
+}
More information about the arch-commits
mailing list