From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4HcrHey3UmECIAAAgWs5BA (envelope-from ) for ; Tue, 28 Sep 2021 08:36:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sIXFGOy3UmFjIwAAbx9fmQ (envelope-from ) for ; Tue, 28 Sep 2021 06:36:28 +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 3625027343 for ; Tue, 28 Sep 2021 08:36:28 +0200 (CEST) Received: from localhost ([::1]:51076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mV6j5-0003ef-9X for larch@yhetil.org; Tue, 28 Sep 2021 02:36:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mV6ii-0003Uf-KJ for guix-patches@gnu.org; Tue, 28 Sep 2021 02:36:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60274) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mV6ii-0007lX-4M for guix-patches@gnu.org; Tue, 28 Sep 2021 02:36:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mV6ii-0000NX-1i for guix-patches@gnu.org; Tue, 28 Sep 2021 02:36:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50812] [PATCH v4 4/5] gnu: Add python-fiona. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Sep 2021 06:36: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: Guillaume Le Vaillant , Felix Gruber , Xinglu Chen , Maxime Devos Received: via spool by 50812-submit@debbugs.gnu.org id=B50812.16328109371380 (code B ref 50812); Tue, 28 Sep 2021 06:36:04 +0000 Received: (at 50812) by debbugs.gnu.org; 28 Sep 2021 06:35:37 +0000 Received: from localhost ([127.0.0.1]:43580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6iH-0000MA-2J for submit@debbugs.gnu.org; Tue, 28 Sep 2021 02:35:37 -0400 Received: from mout01.posteo.de ([185.67.36.65]:39635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6iB-0000LU-P5 for 50812@debbugs.gnu.org; Tue, 28 Sep 2021 02:35:32 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 34B05240027 for <50812@debbugs.gnu.org>; Tue, 28 Sep 2021 08:35:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632810926; bh=gQCp+IL2sHvcBEd7oYoBRvPuywnsjMxG7+FQuj/R3DM=; h=From:To:Cc:Subject:Date:From; b=mchUMt4lYXs+ESjWfcEjh+/UIte9IXcaoIzW0Xg5ASDOk3r4nxfVTUJKx1wzcW8o4 dlUBvMywDnykwEpjuykNjFq90/1WMtQVMQzuAVDdkCtVzle2ZF1tBhTS13mYfXPeEB wXwci6mDWl1TxcE5CUcQi39czjCgxLCdqFGfXfLBIrSaRP6EjMgyBfkZJMe4fsuZ3l NJdMlJjVGfe43LsNMgwk/teEoZMUc4ahY5bp6inDA+RIU2QYfL1Zjz8WPjx1iLZ2Ho tKdcgNnk4foQ7jJrxqQ7GRUF7j4ZjvElaR+McqSmfrYwSWkXwTKZLHCPfTM17Ix8MB AU7aRauRw1kLA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJVB53X4mz9rxL; Tue, 28 Sep 2021 08:35:25 +0200 (CEST) From: Felix Gruber Date: Tue, 28 Sep 2021 06:34:43 +0000 Message-Id: <20210928063444.466158-5-felgru@posteo.net> In-Reply-To: <20210928063444.466158-1-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> <20210928063444.466158-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=1632810988; 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=qkxqrbceANGo3cj9CCGx5q7iWCI449dNqRPZhYHmC84=; b=iQM3BIc85ml17kXVQkugxMnhUcTsaL2l/ktuXJFlIlZ2LIjbd0CQH9VoJZ/0giYSqEM/xv coZxMyHJcp1I3K5Oeu3gSw6VMbxx742eYyv3ibt0UuWUmOgz2acc9ZQWZWjKBC5tpp3tci aF2p/0nkdqB5QYQfMmqhf0JcagbA+d+0Rsao4qMnDvh0Q6O2wIKJH5aJ1mEcFKOwWsxR7Q wkzrJuYNuzah78NZQO4tWl0Or9PhsaWeJnM8d00BtPbIWeUfNMBKk2WNeBWFsYu3cWUM/T zETelbW8DSGlcVYZkC4K/gJvXxq4TfzHyBPOoGsDHrxQdLZnjxl20uvWzwB4EA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632810988; a=rsa-sha256; cv=none; b=a5z9biuaQYWU+NCCZS+/ZS23Mj2ybEtzpZRTmZleDsmN2b7c0puqCO1eNpbObW40i+UQzx a1K6e3hIGkV37Ltp41cfsF0lYbs+DlRp067nF/eZGnPzABrZxw7DhUybWLDFm7dpxj9dVv AWlTFsml/rC3ExB5F/E/BjgairvtGOPaVcf/QAANfkmGk+1vzH768zrrvt/QDU0aIUpvCu jtKoGKEZkufoFL81mwN/nIUDr7VOzKjbSbC0Srvi26ZZtkrjtSlfvrWyUtASEqKcm/Y0qr 8x+iqu1+eHykqtGAkfZvesZZmIhJkNzH+dA9b7un9gNM//gFzXm7bDo5FJGsdg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=mchUMt4l; 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=mchUMt4l; 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: 3625027343 X-Spam-Score: -0.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: TvYYOy7HK+l3 * 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