[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/11: gnu: Add python-geopandas.
From: |
guix-commits |
Subject: |
11/11: gnu: Add python-geopandas. |
Date: |
Tue, 12 Oct 2021 12:14:25 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 371aa5777a3805a3886f3feea5f1960fe3fe4219
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Tue Sep 28 06:34:44 2021 +0000
gnu: Add python-geopandas.
* gnu/packages/geo.scm (python-geopandas): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/geo.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 4f79153..f460e08 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -698,6 +698,47 @@ systems and integrates readily with other Python GIS
packages such as
pyproj, Rtree, and Shapely.")
(license license:bsd-3)))
+(define-public python-geopandas
+ (package
+ (name "python-geopandas")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "geopandas" version))
+ (sha256
+ (base32
+ "02k389zyyjv51gd09c92vlr83sv46awdq0066jgh5i24vjs2m5v3"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest"
+ ; Disable test that fails with
+ ; NotImplementedError in pandas.
+ "-k" "not test_fillna_no_op_returns_copy"
+ ; Disable tests that require internet access.
+ "-m" "not web")))))))
+ (propagated-inputs
+ `(("python-fiona" ,python-fiona)
+ ("python-pandas" ,python-pandas)
+ ("python-pyproj" ,python-pyproj)
+ ("python-shapely" ,python-shapely)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page "http://geopandas.org")
+ (synopsis "Geographic pandas extensions")
+ (description "The goal of GeoPandas is to make working with
+geospatial data in Python easier. It combines the capabilities of
+Pandas and Shapely, providing geospatial operations in Pandas and a
+high-level interface to multiple geometries to Shapely. GeoPandas
+enables you to easily do operations in Python that would otherwise
+require a spatial database such as PostGIS.")
+ (license license:bsd-3)))
+
(define-public mapnik
(package
(name "mapnik")
- branch master updated (bbe121a -> 371aa57), guix-commits, 2021/10/12
- 02/11: gnu: python-dask: Update to 2021.9.1., guix-commits, 2021/10/12
- 01/11: gnu: python-pandas: Update to 1.3.3., guix-commits, 2021/10/12
- 04/11: gnu: python-eliot: Update to 1.13.0., guix-commits, 2021/10/12
- 06/11: gnu: clipper: Disable non-deterministic test., guix-commits, 2021/10/12
- 03/11: gnu: python-distributed: Update to 2021.09.1., guix-commits, 2021/10/12
- 05/11: gnu: synapse: Update to 1.44.0., guix-commits, 2021/10/12
- 07/11: gnu: proj: Update to 7.2.1., guix-commits, 2021/10/12
- 09/11: gnu: Add python-cligj., guix-commits, 2021/10/12
- 10/11: gnu: Add python-fiona., guix-commits, 2021/10/12
- 11/11: gnu: Add python-geopandas.,
guix-commits <=
- 08/11: gnu: Add python-pyproj., guix-commits, 2021/10/12