[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/11: gnu: Add python-fiona.
From: |
guix-commits |
Subject: |
10/11: gnu: Add python-fiona. |
Date: |
Tue, 12 Oct 2021 12:14:25 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit e159047e3c08c16218adf9202dc817a1fd0e8ccf
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Tue Sep 28 06:34:43 2021 +0000
gnu: Add python-fiona.
* gnu/packages/geo.scm (python-fiona): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/geo.scm | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index cd9702a..4f79153 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -641,6 +641,63 @@ projections.")
projections and coordinate transformations library.")
(license license:expat)))
+(define-public python-fiona
+ (package
+ (name "python-fiona")
+ (version "1.8.20")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Fiona" version))
+ (sha256
+ (base32
+ "0fql7i7dg1xpbadmk8d26dwp91v7faixxc4wq14zg0kvhp9041d7"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'remove-local-fiona
+ (lambda _
+ ; This would otherwise interfere with finding the installed
+ ; fiona when running tests.
+ (delete-file-recursively "fiona")))
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (add-installed-pythonpath inputs outputs)
+ (when tests?
+ (invoke "pytest" "-m" "not network and not wheel")))))))
+ (inputs
+ `(("gdal" ,gdal)))
+ (propagated-inputs
+ `(("python-attrs" ,python-attrs)
+ ("python-certifi" ,python-certifi)
+ ("python-click" ,python-click)
+ ("python-click-plugins" ,python-click-plugins)
+ ("python-cligj" ,python-cligj)
+ ("python-munch" ,python-munch)
+ ("python-setuptools" ,python-setuptools)
+ ("python-six" ,python-six)
+ ("python-pytz" ,python-pytz)))
+ (native-inputs
+ `(("gdal" ,gdal) ; for gdal-config
+ ("python-boto3" ,python-boto3)
+ ("python-cython" ,python-cython)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)))
+ (home-page "https://github.com/Toblerity/Fiona")
+ (synopsis
+ "Fiona reads and writes spatial data files")
+ (description
+ "Fiona is GDAL’s neat and nimble vector API for Python programmers.
+Fiona is designed to be simple and dependable. It focuses on reading
+and writing data in standard Python IO style and relies upon familiar
+Python types and protocols such as files, dictionaries, mappings, and
+iterators instead of classes specific to OGR. Fiona can read and write
+real-world data using multi-layered GIS formats and zipped virtual file
+systems and integrates readily with other Python GIS packages such as
+pyproj, Rtree, and Shapely.")
+ (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 <=
- 11/11: gnu: Add python-geopandas., guix-commits, 2021/10/12
- 08/11: gnu: Add python-pyproj., guix-commits, 2021/10/12