From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CORuNiTbUGEKCQEAgWs5BA (envelope-from ) for ; Sun, 26 Sep 2021 22:42:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +Bk5MiTbUGEMSgAA1q6Kng (envelope-from ) for ; Sun, 26 Sep 2021 20:42:12 +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 9E2D4300C0 for ; Sun, 26 Sep 2021 22:42:12 +0200 (CEST) Received: from localhost ([::1]:59696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUayR-0000Df-QO for larch@yhetil.org; Sun, 26 Sep 2021 16:42:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUayI-0000Bo-6Y for guix-patches@gnu.org; Sun, 26 Sep 2021 16:42:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55516) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUayH-0001TC-Ot for guix-patches@gnu.org; Sun, 26 Sep 2021 16:42:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUayH-0000N5-L8 for guix-patches@gnu.org; Sun, 26 Sep 2021 16:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50812] [PATCH v2 2/5] gnu: Add python-pyproj. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Sep 2021 20:42:01 +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.16326888861384 (code B ref 50812); Sun, 26 Sep 2021 20:42:01 +0000 Received: (at 50812) by debbugs.gnu.org; 26 Sep 2021 20:41:26 +0000 Received: from localhost ([127.0.0.1]:38829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUaxh-0000MG-Vv for submit@debbugs.gnu.org; Sun, 26 Sep 2021 16:41:26 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:57800 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUaxf-0000M1-Km for 50812@debbugs.gnu.org; Sun, 26 Sep 2021 16:41:24 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1632688875; bh=vZpowdkU0kzaGf750Sd6X6XkcKDyhhRzdbWuEaFlHcw=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=GgMZz9a32IkcaIKQWXEk4rL/mUiKsgOch/ZGCMNWMx2vCHxhe4k1zRGpJ/bfKau1y +AoPnZaetxm3gJaoHOJTEUOI72bOqKeEHbIft3UExgCQC3hPCgSOB1ZB423ENGEsrH gY8z59nbq57Ywa93N8eyzUz+y28Ise1hKXBE/oTQ= In-Reply-To: <20210926174150.26146-3-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> <20210926174150.26146-3-felgru@posteo.net> Date: Sun, 26 Sep 2021 22:41:13 +0200 Message-ID: <87czov6pee.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=1632688932; 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=EKiotAqmN7blYkCd5dRc2wA3YHc88mWVI68FkMOsYt0=; b=jjdV8KnkumzeRmeGih1E2Nf/TvmpzhkOQwlmABPtqzfFn9VYYqLnQoT//mcSq9uc1ub+Aj K98rZNlCJBnKLMg/a99ht+zbXAGxv2KvXYFvpmzfwH8tf73Krr86XTt5ygo7amGHGeyGC9 R7ma2XJ44rwcHlu6VvCVOB93BoZrqNSxHeH57K2vSPaH4XIFp09yYqRZX+cEDxGkm5AcLf M3V8BED9Ch7FnlMf7K7Zesq6EHt7tL7jVTrFBGgBFRH7P5aQhmcKrj+AOFOlaZWwEGZY2C bvkOOLIHfihvfOSym3D6xTMbFHhp1VrYP/ss0jd9360jjhz3BmSSoXQlJDFbmQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632688932; a=rsa-sha256; cv=none; b=Xizj4CDc5upIlLZ105XdIF+NoJ79w3yWl7MudokuqXhKKged4gBl+lxYr5s5SSJT7SMc03 wvzTqlhyBJfragKkTHGI1iGgVEIFQyt22HaRLIER6J6ZLKml9gOHnGgjkOwcI598Ecg78f +Xj4r+amr5J7Ty8QUsmvXBbJzk5ogehWd2HmVJBinVOnB9uS1aMMVADcrFnk29YWsg9XiG /uk0rHVoTkWbDkdbWtPdYv82iP2SwlYEFcZHpQAWBB4ZGCM3zYPELOmGH4cnPmOldbgPh7 7pqUtqnIJtv1Y4wYAAZrCNuTpNzv+x6JZm21zP1w7qcTCBTyjQpqR68yLqlgMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=GgMZz9a3; 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: -1.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=GgMZz9a3; 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: 9E2D4300C0 X-Spam-Score: -1.29 X-Migadu-Scanner: scn1.migadu.com X-TUID: uz9oOPxfil+j --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, Sep 26 2021, Felix Gruber wrote: > * gnu/packages/geo.scm (python-pyproj): New variable. > --- > gnu/packages/geo.scm | 41 +++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 41 insertions(+) > > diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm > index c10b93d83f..ee1c9c5674 100644 > --- a/gnu/packages/geo.scm > +++ b/gnu/packages/geo.scm > @@ -93,6 +93,7 @@ > #:use-module (gnu packages pulseaudio) > #:use-module (gnu packages python) > #:use-module (gnu packages python-check) > + #:use-module (gnu packages python-crypto) > #:use-module (gnu packages python-science) > #:use-module (gnu packages python-web) > #:use-module (gnu packages python-xyz) > @@ -633,6 +634,46 @@ projections.") > ;; cmake/* > license:boost1.0)))) >=20=20 > +(define-public python-pyproj > + (package > + (name "python-pyproj") > + (version "3.2.1") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "pyproj" version)) > + (sha256 > + (base32 > + "0xrqpy708qlyd7nqjra0dl7nvkqzaj9w0v7wq4j5pxazha9n14sa")))) > + (build-system python-build-system) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'set-proj-path > + (lambda* (#:key inputs #:allow-other-keys) > + (let ((proj (assoc-ref inputs "proj"))) > + (setenv "PROJ_DIR" proj) > + (substitute* "pyproj/datadir.py" > + (("(internal_datadir =3D ).*$" all var) > + (string-append var "Path(\"" proj "/share/proj\")\n"))) > + )))))) These brackets should not be on their own line. > + (inputs > + `(("proj" ,proj.7))) > + (propagated-inputs > + `(("python-certifi" ,python-certifi))) > + (native-inputs > + `(("python-cython" ,python-cython) > + ("python-numpy" ,python-numpy) > + ("python-pandas" ,python-pandas) > + ("python-pytest" ,python-pytest) > + ("python-xarray" ,python-xarray))) > + (home-page "https://github.com/pyproj4/pyproj") > + (synopsis > + "Python interface to PROJ") > + (description > + "Python interface to PROJ (cartographic projections and coordinate= transformations library)") Please keep lines to <=3D80 characters. The sentence is lacking a subject and a period. I suggest This package provides a Python interface to PROJ, a cartographic projections and coordinate transformations library. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmFQ2ukVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5ljkP/AnVWSvUC+fZQHlEEn8Z0m0tA9Qb fHwMpGV/XN4wTM371eT1lSs7MqmMaLzliCj1G4O0B7moLFC0nFmSy2aQJFkE8YY+ 5zzFQMtjuP7TySd6WH+4AmY0YCTdHkXsFJn1FJ0SNMu34RhRhOexujNcwFSi6Ry9 ObXvwSAJs2my0SA+0T51coDL4um/tfaYd0BkuqyuWC9ZRAXTPQ8Dws5MUhhCWNFj jQTtFX1K3upviqqWoUpMULP3tLVLn63QHIbNlbExVWhdD1PMPEUtnTAY8Y17tEvS jTzeqBLMWIve7V/YlKvhNwrpXqKQXp2muv5WqcPsLc2iBxsURKD5oLIsI8IPhSPT SevHkCgsT2NR6ti6wr0IpbBGRq4mFQcHGZlxT1sroBDRyNHbFlJUDwYbP+J/sV56 1Qpm+Ta27IzjK6YTM8H8fo9eXGPO2B7k9i9rqjOYoa8H8+r+/DjTrffnsJCems7v 8nIX5yT25tp2yUPHtB3mbo8Wihf2Gn5x93M7GKHtnxE9KBJoefCgA4ed0bO2dvZs OWZMNXDCmAzlHuK3LUyoRxjBZm+ZNk+RIrpdb+uHFn0BjecZ7Wi0B7hZE8VaniL8 fKSRIfbMwNGzAXXQypCwETpn2i57bZ+faRzbfgL4qTpeThkGgv9EUDH/Z7afbYUH UuqLKvE1C7CsdVM0 =bQJr -----END PGP SIGNATURE----- --=-=-=--