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 mO6qMvm3UmGLHwAAgWs5BA (envelope-from ) for ; Tue, 28 Sep 2021 08:36: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 mp1 with LMTPS id uH47Lvm3UmHIIwAAbx9fmQ (envelope-from ) for ; Tue, 28 Sep 2021 06:36: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 98AC5273A7 for ; Tue, 28 Sep 2021 08:36:41 +0200 (CEST) Received: from localhost ([::1]:52040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mV6jI-0004JE-PX for larch@yhetil.org; Tue, 28 Sep 2021 02:36:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mV6ih-0003UV-Mi for guix-patches@gnu.org; Tue, 28 Sep 2021 02:36:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60272) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mV6ih-0007kV-EX for guix-patches@gnu.org; Tue, 28 Sep 2021 02:36:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mV6ih-0000NI-7y for guix-patches@gnu.org; Tue, 28 Sep 2021 02:36:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50812] [PATCH v4 2/5] gnu: Add python-pyproj. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Sep 2021 06:36:03 +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.16328109261336 (code B ref 50812); Tue, 28 Sep 2021 06:36:03 +0000 Received: (at 50812) by debbugs.gnu.org; 28 Sep 2021 06:35:26 +0000 Received: from localhost ([127.0.0.1]:43570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6i6-0000LT-I2 for submit@debbugs.gnu.org; Tue, 28 Sep 2021 02:35:26 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6i5-0000Kz-F5 for 50812@debbugs.gnu.org; Tue, 28 Sep 2021 02:35:25 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id CB254240104 for <50812@debbugs.gnu.org>; Tue, 28 Sep 2021 08:35:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632810919; bh=iM6aLVn5PhbvrAPhN6Ph4jalSavJxmOi7o1rvchSiq4=; h=From:To:Cc:Subject:Date:From; b=bpjHh7HOXMSlDzeB7X29VJCwEmN8zrHb9+YXRRCDMV7j3EJj2NqwfCcO/AguBHHh9 MrcAVzdAVlJvZSnLRnqO44tEPCsjKsU/cQfqpfQFlkx0/gsc4cNUP2UCcwhAigUp6f 0ch+iAUh1nK1jC1A+CitpBGm7+ozLUa8b5TzNMGy1frd8fIGYDiAeNuMz4MpU1psLr i4QagcwiiFHvoU2UvsX5wFU0MMP/D8llvgHH8PaiytWGSOaV8jkocLST9BJtl/+itJ lKdb2C4kSckRULMvAJdWt+e7Jj21kIDkQV/JE2NXJfBE+wt0wEEpXVJzUt8RzCT4OM uCHmTQihExcIQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJV9y5xcNz9rxD; Tue, 28 Sep 2021 08:35:18 +0200 (CEST) From: Felix Gruber Date: Tue, 28 Sep 2021 06:34:41 +0000 Message-Id: <20210928063444.466158-3-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-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=1632811001; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=9gP1xeO1LRnzD1WsrcQ5cI+Y1E9C4JKm3BGpeSprr+w=; b=lUDfy8E9fMeW01KHV/cdO1BI0F9Tlipb1lIApJVpyWmrAYPqBRt742bwNrn+pxLBRydZW2 DOgSsrJmpm8ZPMSY0VLv71iQAFctgiN8/ZDpcxXfSufoOW7ZdAqSKojrhA8f0Ziu26np5q 94wqHLhN8AmhNu8sWK5aE7kw9B0nMfD8bEPh3P8HdoJgDrh8DTS9y9u+JqRYk3n4wmH9ba WjDei4bmi5MBQqdnsH2xNiyW5iIAaMlboR1Zx4VQCki9rYyvH/Wvzi2hKo/bi7DaSKXtZw IG+fnw0IAEeFC9ZrgtXYsFDmLab8gYIde/if0iYs5vsJQSwkGX2/JnMnatwpdw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632811001; a=rsa-sha256; cv=none; b=MEHSpCL/ZXXiEuz4OPgF5sn6EvIT7DgXX7aQY2qvs1n14Vlv2Kk06/yzPmXLyP3LdUT6bm AgVplbhesFkuG2+gLxiAUt7sFrTPy53SUw4BsBiSwj+apklLd1eUbZc+sO28c7VpwsdfY6 w0PIBc6qKFdxvofMaUpO0t7C9CBTUB2LtW9grpwIS2fsE4Z5dXAdQQhI4Dc41GN1xt4l3K L9TLwksWd1ODJn62y3R/CJ95S9gfM/CODJMPxUtUrsJnrzhRWXiMVY2jMQZ0OamQdp5WnQ CjxTSoEm6A1Q40pdXbYt5R9xhAg3k8aEOaIf86OL8SAoImsNqehBDXHbizCjKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=bpjHh7HO; 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.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=bpjHh7HO; 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: 98AC5273A7 X-Spam-Score: 3.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: GpzTOIs3j+KC * 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 ec45601ef4..6fdf71c4e3 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) @@ -600,6 +601,46 @@ projections.") ;; cmake/* license:boost1.0)))) +(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 = ).*$" all var) + (string-append var "Path(\"" proj "/share/proj\")\n"))))))))) + (inputs + `(("proj" ,proj))) + (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 + "This package provides a Python interface to PROJ, a cartographic +projections and coordinate transformations library.") + (license license:expat))) + (define-public mapnik (package (name "mapnik") -- 2.30.2