From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4AhLOnGqUWG3FgEAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 13:26:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4Cv1NXGqUWFPCwAAB5/wlQ (envelope-from ) for ; Mon, 27 Sep 2021 11:26:41 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5F59915844 for ; Mon, 27 Sep 2021 13:26:41 +0200 (CEST) Received: from localhost ([::1]:40166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUomO-0003ky-H4 for larch@yhetil.org; Mon, 27 Sep 2021 07:26:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUols-0003Fm-9E for guix-patches@gnu.org; Mon, 27 Sep 2021 07:26:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUolo-00007b-Hh for guix-patches@gnu.org; Mon, 27 Sep 2021 07:26:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUolo-0001OQ-EM for guix-patches@gnu.org; Mon, 27 Sep 2021 07:26:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50812] [PATCH v3 4/6] gnu: Add python-fiona. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Sep 2021 11:26:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50812 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50812@debbugs.gnu.org Cc: Felix Gruber , Xinglu Chen , Maxime Devos Received: via spool by 50812-submit@debbugs.gnu.org id=B50812.16327419425278 (code B ref 50812); Mon, 27 Sep 2021 11:26:04 +0000 Received: (at 50812) by debbugs.gnu.org; 27 Sep 2021 11:25:42 +0000 Received: from localhost ([127.0.0.1]:39873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUolS-0001My-Hj for submit@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:42 -0400 Received: from mout01.posteo.de ([185.67.36.65]:36927) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUolE-0001LI-5Q for 50812@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:36 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 95658240026 for <50812@debbugs.gnu.org>; Mon, 27 Sep 2021 13:25:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632741922; bh=uNkdD0veFVviIGFE89quQa/aO2tj2q4xLmeWKRewPU4=; h=From:To:Cc:Subject:Date:From; b=Ir0JfR6e19Y8G2Hwq9pa7iFd3TdsgAcHKHALc9STda+tAokghob/2T1Xxi5SpR9tn qSl6UiotwA5OlLA795Q2icBl4doQD/HKPFfFTzMF6aTJyBIbRl9SdA1hf/nQ3nHKGz ZA/ZjOvsY9i4sAQu9sScQMEcYsq39Tp6iErTCzNM1IyHTvso9da24KvaIhFEKGEtdP fQCqzuehTx+CANWU0jpP3QqvDXgR8JMxy6xK0Oabn1aQEkgvy58qRLJ2HPzxsombg2 d04M8K8nA+Nd6KtmL7yEr5jGA46jn3Ha+vD4NRHfOFurddM8ZOkc6i1bQBrcuvf6rY U6GBbtidUNvQg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJ0g53k1Zz6tmS; Mon, 27 Sep 2021 13:25:21 +0200 (CEST) From: Felix Gruber Date: Mon, 27 Sep 2021 11:24:55 +0000 Message-Id: <20210927112457.2118-5-felgru@posteo.net> In-Reply-To: <20210927112457.2118-1-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> <20210927112457.2118-1-felgru@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632742001; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ta5S0UKqLrymj24qc7smVLuzmmch3A2ZWtRFj+Dd8AQ=; b=l5G3LQSVwuSaBTNypdpc3HZr8kqRYSwXl3JClQZ3CfhF3n04HUoKoTBVMp9Mf6vxNbDuFR aoTG9j6AAqH6kF8fiTfU8AWRifJz29FRgEEeIeZTRtuT52UO7lhTYT2zj2GPB6fOFzeW7l KAl+F/xgDq3+TOkw0UyQuErUuBO4GHOOkGRxUVUo/ZFJ1pnetQv61HOZ2mKmQ8ZM9P3pRA rjTK53GF9pEwoeCfzpwhN9vxRZubMKdlJBtPWI70HAqUF69xkQV4XT2O1MSWn/a1RuZm3E 11z1oHvRME0Ad6Rj/X5pEOh4DQyhNyx7U74NEBGQVYfSHY3N8eNu2j3Ox+SI4g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632742001; a=rsa-sha256; cv=none; b=SOBV+3QU8SPGDRQ2/l3LMiVKde3Oo6yGHVkCMGx6dlCZkDBUSl/Igmg/Am745jYNZjisLz tGt1thTLd9xahMXLlxUD4BgrKXOSuELRMWHDdF5XtYeUUHLHalRMo+wgA9aiWnzp9kjhx2 Zwjs4JYq76vZicIzv9990kvfalnR8jnpgXzTOCvUytDYz5JCCcyw73Ky+JxSjdPblXV5jf 4D2r3AL1Se2DHI3DZY48PF+pRSt+s5RLl5g0IEv35TFxl6VGjDbscfLAEamG1DgQ15M4Y6 UAmLknITRym+vZs0zsIMSYRLK/Bawtzo9RyR4MyG8h6QlbGD1YMci9HLXuxVag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Ir0JfR6e; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=Ir0JfR6e; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 5F59915844 X-Spam-Score: -0.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: iwQ0Ad97NbCf * 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 cf1f737b7d..c4cea0fa3a 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -674,6 +674,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