mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: python-fiona: Improve style.
* gnu/packages/geo.scm (python-fiona): Use G-expressions, fix indentation. [description]: Apply fill column. Change-Id: Id9d9af7283e5e888018837f8a33fb9f84af614c9
This commit is contained in:
@@ -1108,15 +1108,16 @@ projections and coordinate transformations library.")
|
||||
"083120rqc4rrqzgmams0yjd8b1h4p5xm4n9fnxg064ymw3vx6yan"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'set-configure-flags
|
||||
(lambda _
|
||||
(setenv "CFLAGS" "-Wno-error=incompatible-pointer-types")))
|
||||
(add-before 'check 'remove-local-fiona
|
||||
(lambda _
|
||||
; This would otherwise interfere with finding the installed
|
||||
; fiona when running tests.
|
||||
;; 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)
|
||||
@@ -1152,14 +1153,13 @@ projections and coordinate transformations library.")
|
||||
(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.")
|
||||
"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 python-geopack
|
||||
|
||||
Reference in New Issue
Block a user