all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Felix Gruber <felgru@posteo.net>
To: 50812@debbugs.gnu.org
Cc: Guillaume Le Vaillant <glv@posteo.net>,
	Felix Gruber <felgru@posteo.net>,
	Xinglu Chen <public@yoctocell.xyz>,
	Maxime Devos <maximedevos@telenet.be>
Subject: [bug#50812] [PATCH v4 4/5] gnu: Add python-fiona.
Date: Tue, 28 Sep 2021 06:34:43 +0000	[thread overview]
Message-ID: <20210928063444.466158-5-felgru@posteo.net> (raw)
In-Reply-To: <20210928063444.466158-1-felgru@posteo.net>

* gnu/packages/geo.scm (python-fiona): New variable.
---
 gnu/packages/geo.scm | 57 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 6fdf71c4e3..4329ee118e 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")
-- 
2.30.2





  parent reply	other threads:[~2021-09-28  6:36 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-26  8:52 [bug#50812] [PATCH 0/5] Add python-geopandas Felix Gruber
2021-09-26  8:57 ` [bug#50812] [PATCH 1/5] gnu: Add proj 7.2.1 Felix Gruber
2021-09-26  8:57   ` [bug#50812] [PATCH 2/5] gnu: Add python-pyproj Felix Gruber
2021-09-26  8:57   ` [bug#50812] [PATCH 3/5] gnu: Add python-cligj Felix Gruber
2021-09-26  8:57   ` [bug#50812] [PATCH 4/5] gnu: Add python-fiona Felix Gruber
2021-09-26 16:53     ` Maxime Devos
2021-09-26 16:55     ` Maxime Devos
2021-09-26  8:57   ` [bug#50812] [PATCH 5/5] gnu: Add python-geopandas Felix Gruber
2021-09-26 17:41 ` [bug#50812] [PATCH v2 0/5] " Felix Gruber
2021-09-26 17:41 ` [bug#50812] [PATCH v2 1/5] gnu: Add proj 7.2.1 Felix Gruber
2021-09-26 20:34   ` Xinglu Chen
2021-09-27 11:18     ` Felix Gruber
2021-09-27 12:36       ` Xinglu Chen
2021-09-27 12:49         ` Guillaume Le Vaillant
2021-09-28  6:26           ` Felix Gruber
2021-09-26 17:41 ` [bug#50812] [PATCH v2 2/5] gnu: Add python-pyproj Felix Gruber
2021-09-26 20:41   ` Xinglu Chen
2021-09-26 17:41 ` [bug#50812] [PATCH v2 3/5] gnu: Add python-cligj Felix Gruber
2021-09-26 17:41 ` [bug#50812] [PATCH v2 4/5] gnu: Add python-fiona Felix Gruber
2021-09-26 20:47   ` Xinglu Chen
2021-09-26 17:41 ` [bug#50812] [PATCH v2 5/5] gnu: Add python-geopandas Felix Gruber
2021-09-26 20:51   ` Xinglu Chen
2021-09-27 11:24 ` [bug#50812] [PATCH v3 0/6] " Felix Gruber
2021-09-27 11:24   ` [bug#50812] [PATCH v3 1/6] gnu: Add proj 7.2.1 Felix Gruber
2021-09-27 11:24   ` [bug#50812] [PATCH v3 2/6] gnu: Add python-pyproj Felix Gruber
2021-09-27 11:24   ` [bug#50812] [PATCH v3 3/6] gnu: Add python-cligj Felix Gruber
2021-09-27 11:24   ` [bug#50812] [PATCH v3 4/6] gnu: Add python-fiona Felix Gruber
2021-09-27 11:24   ` [bug#50812] [PATCH v3 5/6] gnu: Add python-geopandas Felix Gruber
2021-09-27 11:24   ` [bug#50812] [PATCH v3 6/6] gnu: Improve description of proj packages Felix Gruber
2021-09-28  6:34 ` [bug#50812] [PATCH v4 0/5] Add python-geopandas Felix Gruber
2021-09-28  6:34   ` [bug#50812] [PATCH v4 1/5] gnu: proj: Update to 7.2.1 Felix Gruber
2021-09-28  6:34   ` [bug#50812] [PATCH v4 2/5] gnu: Add python-pyproj Felix Gruber
2021-09-28  6:34   ` [bug#50812] [PATCH v4 3/5] gnu: Add python-cligj Felix Gruber
2021-09-28  6:34   ` Felix Gruber [this message]
2021-09-28  6:34   ` [bug#50812] [PATCH v4 5/5] gnu: Add python-geopandas Felix Gruber
2021-10-12 16:13   ` bug#50812: [PATCH 0/5] " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210928063444.466158-5-felgru@posteo.net \
    --to=felgru@posteo.net \
    --cc=50812@debbugs.gnu.org \
    --cc=glv@posteo.net \
    --cc=maximedevos@telenet.be \
    --cc=public@yoctocell.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.