[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50812] [PATCH v3 5/6] gnu: Add python-geopandas.
From: |
Felix Gruber |
Subject: |
[bug#50812] [PATCH v3 5/6] gnu: Add python-geopandas. |
Date: |
Mon, 27 Sep 2021 11:24:56 +0000 |
* gnu/packages/geo.scm (python-geopandas): New variable.
---
gnu/packages/geo.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index c4cea0fa3a..2e9c6b6c8f 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -731,6 +731,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")
--
2.30.2
- [bug#50812] [PATCH v2 2/5] gnu: Add python-pyproj., (continued)
- [bug#50812] [PATCH v2 2/5] gnu: Add python-pyproj., Felix Gruber, 2021/09/26
- [bug#50812] [PATCH v2 4/5] gnu: Add python-fiona., Felix Gruber, 2021/09/26
- [bug#50812] [PATCH v2 3/5] gnu: Add python-cligj., Felix Gruber, 2021/09/26
- [bug#50812] [PATCH v2 5/5] gnu: Add python-geopandas., Felix Gruber, 2021/09/26
- [bug#50812] [PATCH v3 0/6] Add python-geopandas, Felix Gruber, 2021/09/27
- [bug#50812] [PATCH v3 2/6] gnu: Add python-pyproj., Felix Gruber, 2021/09/27
- [bug#50812] [PATCH v3 3/6] gnu: Add python-cligj., Felix Gruber, 2021/09/27
- [bug#50812] [PATCH v3 5/6] gnu: Add python-geopandas.,
Felix Gruber <=
- [bug#50812] [PATCH v3 1/6] gnu: Add proj 7.2.1., Felix Gruber, 2021/09/27
- [bug#50812] [PATCH v3 6/6] gnu: Improve description of proj packages., Felix Gruber, 2021/09/27
- [bug#50812] [PATCH v3 4/6] gnu: Add python-fiona., Felix Gruber, 2021/09/27
- [bug#50812] [PATCH v4 0/5] Add python-geopandas, Felix Gruber, 2021/09/28
- [bug#50812] [PATCH v4 3/5] gnu: Add python-cligj., Felix Gruber, 2021/09/28
- [bug#50812] [PATCH v4 2/5] gnu: Add python-pyproj., Felix Gruber, 2021/09/28
- [bug#50812] [PATCH v4 1/5] gnu: proj: Update to 7.2.1., Felix Gruber, 2021/09/28
- [bug#50812] [PATCH v4 5/5] gnu: Add python-geopandas., Felix Gruber, 2021/09/28
- [bug#50812] [PATCH v4 4/5] gnu: Add python-fiona., Felix Gruber, 2021/09/28