From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iIeFM5rcUGGEDAEAgWs5BA (envelope-from ) for ; Sun, 26 Sep 2021 22:48:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qOYyL5rcUGEuLgAAB5/wlQ (envelope-from ) for ; Sun, 26 Sep 2021 20:48:26 +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 80F2A30310 for ; Sun, 26 Sep 2021 22:48:26 +0200 (CEST) Received: from localhost ([::1]:35770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUb4T-0003oc-ML for larch@yhetil.org; Sun, 26 Sep 2021 16:48:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUb46-0003hh-SC for guix-patches@gnu.org; Sun, 26 Sep 2021 16:48:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55532) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUb46-0005yj-Jg for guix-patches@gnu.org; Sun, 26 Sep 2021 16:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUb46-0000Yl-Hj for guix-patches@gnu.org; Sun, 26 Sep 2021 16:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50812] [PATCH v2 4/5] gnu: Add python-fiona. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Sep 2021 20:48:02 +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: Felix Gruber , 50812@debbugs.gnu.org Cc: Felix Gruber , Maxime Devos Received: via spool by 50812-submit@debbugs.gnu.org id=B50812.16326892451995 (code B ref 50812); Sun, 26 Sep 2021 20:48:02 +0000 Received: (at 50812) by debbugs.gnu.org; 26 Sep 2021 20:47:25 +0000 Received: from localhost ([127.0.0.1]:38838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUb3U-0000W4-V0 for submit@debbugs.gnu.org; Sun, 26 Sep 2021 16:47:25 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:57916 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUb3T-0000VO-7A for 50812@debbugs.gnu.org; Sun, 26 Sep 2021 16:47:23 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1632689235; bh=4qSnZxljpWcTHh3x1cgnuEHts0poN0mo5pCR7MNi7Ts=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=rdDqknHloTWLQrUZKrhfY8Dz8Af5xBnVlaCzDnwOIgS19Vfo+y+QnKf4QJWlS3yyB U26GOpnWjiL730eIVVKP30euccwct7aesSbBFrXPZi4ISEDibVP9r7NKIy8d8F5DE+ rMvR+JPGSUpYj5LtEdbMInn8HFWUxC36v3doLLmY= In-Reply-To: <20210926174150.26146-5-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> <20210926174150.26146-5-felgru@posteo.net> Date: Sun, 26 Sep 2021 22:47:14 +0200 Message-ID: <87a6jz6p4d.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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=1632689306; 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: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=seaDY4N/0rw4Y5skxhLiPLQDq5nc9XBEXeOxpdbP6w4=; b=iet0H1BF8dBsQI2M8qdc4OBfFXdNFgR95qBjE2dKJjp3crfGba1oJkhflVyW5HXeu5qWG+ UkwzI1k6wxNdSv8TLMqSV7Lc0N8BZJx53DK10FVhomEsSGG8GGSlOAhgJZuLJK8RM9jclK 90i2Kb7/+1PUPp9lve+4JgfgNQJ9vJNykOQdeNw40YjDZGdlDIDibMSxeAEKxP0Inb3isQ +g4B6JyriHY2G0nnaE169XB8T4Zxv+NwiBLfg0hn+h584DELkmgHsfvaA/19j5wpkAxiOt DQBtVpYQmOJwegebQOeYUzJdy5sCdWM4tIrQp+oDDbthbssY+jIfn9mUWdiCbQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632689306; a=rsa-sha256; cv=none; b=p1aZUVW9nU8wj/gguRbkeT1FKnGTYKWWu8Xb8EqD+GaqsOZ47Dx5TjQ1XqtzO5xEqkAn9y OqdrFlLN83a+soqciU/mw24m5TFFZ6Ec6V5TbiG1MDelvOf8Y3OLgbB1+RlzXuDJuk5c/l uhvOeMln1Jorlte+GL0XSpePlZqhr61eU9jWxjGg8+YfHXKv4ALzPFYE6DqKpvTjw6sBm/ G2Ft4FUFAl71rwqYpbi2wDaTH119xyk1G0yoDUx8E26kmfl0Rj95T4drQ+vvCABU/DHEC0 V7PTXl9t9hPYGg/pgYvHm7HKcQM0+FkCA8/et/4fA4pAP0S89dRXzpCrpP6dpg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=rdDqknHl; 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: -3.79 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=rdDqknHl; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: 80F2A30310 X-Spam-Score: -3.79 X-Migadu-Scanner: scn1.migadu.com X-TUID: FPcHOavkeylq --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sun, Sep 26 2021, Felix Gruber wrote: > * 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 ee1c9c5674..e47f97bf8c 100644 > --- a/gnu/packages/geo.scm > +++ b/gnu/packages/geo.scm > @@ -674,6 +674,63 @@ projections.") > "Python interface to PROJ (cartographic projections and coordinate= transformations library)") > (license license:expat))) >=20=20 > +(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 "http://github.com/Toblerity/Fiona") Why not HTTPS? > + (synopsis > + "Fiona reads and writes spatial data files") > + (description > + "Fiona is GDAL=E2=80=99s neat and nimble vector API for Python pro= grammers. > +Fiona is designed to be simple and dependable. It focuses on reading and ^ There should be two spaces after a period. > +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 ^ Likewise. > +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") > --=20 > 2.30.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmFQ3FIVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5QAEP/2uq4lezY3ijiy8UCXieWA+Lncc2 WYdyUX2Ra3PmOzQ4iuE/6KHKL3Widw87+dHWKDJMFgNmDnJURqWqmk23Ml4Uwwcv PGVnSXmALn5Hj7OzJQJYLpsBsiuX3f6bPj8EhvQAHVLSpnTQWTssOW8Ys5b2IRsB LdElrNWbLcrYR3li8jTpp5qzU1j21fTGd9Bt5ZFb3Oqv6zTD00bJFya2wjMWe1fE BGpKyVM9uWu7jeZg8IuYfWxlhKsK2icTpeeuH7880UpbRuMTKgNRMnC0gt0hepEc HMZbDnS5ScL7mPHJ31gqSjJoge/8tmWDwpjwxfFTWJziORAJJdLo4nvV4rMKSxx1 V9HY09NIZanatDMMnZxOBWR5Y7hRGgR6K5zYfkLnv0lkHlwoPkibs80HRoiGRd7J aESc3DWxtJ8HJ3aZiCGJM8WktrOaV/a11hgedEjD2uA4dsnGStDawQbmgKDmQOgs kGuh1S1Q3V5r9FPZckhXmaNKU4ulSmz/OhY2GagQiQRhY4qPHz56DRMgAyCzgqTK ex6UBdQR5iqx3BT7YHx3dyi9fctvgZyeCsoxF9g0AusS8ZtBtp/2LrMfMW9IqQ1o EoR9al19cDLkpwpbf6h2zTic+HY1ZvAXBwf+LKccY4UCE2UCZkCR+KrkqQXF+gPn NJT/7OxZzWMFZsg3 =TU2T -----END PGP SIGNATURE----- --=-=-=--