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 oC78Jcs5UGGEeQEAgWs5BA (envelope-from ) for ; Sun, 26 Sep 2021 11:13:47 +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 QG6PIcs5UGFtHgAAbx9fmQ (envelope-from ) for ; Sun, 26 Sep 2021 09:13:47 +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 4D8382A121 for ; Sun, 26 Sep 2021 11:13:47 +0200 (CEST) Received: from localhost ([::1]:38554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUQEE-0005ok-FR for larch@yhetil.org; Sun, 26 Sep 2021 05:13:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUPzy-0002A3-G7 for guix-patches@gnu.org; Sun, 26 Sep 2021 04:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52503) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUPzy-0004gG-7B for guix-patches@gnu.org; Sun, 26 Sep 2021 04:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUPzy-0002aE-6c for guix-patches@gnu.org; Sun, 26 Sep 2021 04:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50812] [PATCH 2/5] gnu: Add python-pyproj. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Sep 2021 08:59: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: 50812@debbugs.gnu.org Cc: Felix Gruber X-Debbugs-Original-To: 50812@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16326466929778 (code B ref -1); Sun, 26 Sep 2021 08:59:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Sep 2021 08:58:12 +0000 Received: from localhost ([127.0.0.1]:35795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPz9-0002Xd-Sa for submit@debbugs.gnu.org; Sun, 26 Sep 2021 04:58:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:39558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPz5-0002XF-FB for submit@debbugs.gnu.org; Sun, 26 Sep 2021 04:58:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUPz4-0000zD-5v for guix-patches@gnu.org; Sun, 26 Sep 2021 04:58:07 -0400 Received: from mout01.posteo.de ([185.67.36.65]:33403) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUPz2-0003uH-HI for guix-patches@gnu.org; Sun, 26 Sep 2021 04:58:05 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id DCC8E240028 for ; Sun, 26 Sep 2021 10:58:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632646682; bh=ptxCwb79P4S7Hcx9K0QIVZl7w+z0Z1S3QLEMBKtsAAQ=; h=From:To:Cc:Subject:Date:From; b=YGSJZLY9sxY54XzTHpgi3HyDSP1m6NG4cRi9VhClQdzKivFVufWopS+zdiJkGqmEo ktw1SWLKSuU6ddoFLt05JjsunYnXI2t7f1qnnANRMhMTzCfxzivx+M5anPT0h0efxk JM2AGA/v/9drGv4DT5pCXhfxvAkQSgHOuFSlrRC2ev9rVrJ8n2dvwa/99g59iDXG7Q UWene2dI0dU5aYvlqs6fOVuk4t+0iY/SzBi65uYAyuUjMnQxEBQvFuGyCsdY2ySIuC uGfxZCb6Ok7AZUWgeBF47CGrppTsY2IT34prBe/7eLuoSqRdWj2qWLEPZn+qzIdyd/ zbYl6CA5J0w1Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HHKRY56khz9rxL; Sun, 26 Sep 2021 10:58:01 +0200 (CEST) From: Felix Gruber Date: Sun, 26 Sep 2021 08:57:30 +0000 Message-Id: <20210926085733.14128-2-felgru@posteo.net> In-Reply-To: <20210926085733.14128-1-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> <20210926085733.14128-1-felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=felgru@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1632647627; 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=6UJkWWCpazz/0yhSltEMAb6RNC/9vg66n3FMbbEP0Zc=; b=anm18hJL1+cLA72D4O7MpthWZnS8wNqlW7QpOtwwDbbvBSySawDbSgkc79lcwEWuJFIngS Uk9wCLnaW+LIyQXN5l69L7hR/fhkcIpLtF+xmlRBA5RueXGQ/1gnI3wedV/l0/9FH54tRo iWKeBiXeUb8addyFi3gqhkqJodSYWjns70iX6QCv50rvTytAQHRAw84/H2NoPtxvEcvEYF zWVLa4JK1BrfaqUUKJAs48WH+wvdI3J5/JktVQLbRocMB7wSgZxPyFdVdB9FhdqcM9R1Kv NbjOiwLE9nWkFCEoNyjsBPlp3/rllet0Ej8t7PrPv/dPr0ph0ZjhTRsfK2lebA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632647627; a=rsa-sha256; cv=none; b=qKZ0vWOEp6VBmOOsNh+eqgVRxRSXbiZUy4ZYFqP0nlXjizyr+akZbcvJyBu9MJHgG+fhw3 w22NekG19HucHK7atmC0sYdIKNJpABnqBIQ7JOj3PbOdRJBZF1kd6zEyxUsetWHCp16ypX Bga8vQHYAA0EH/9x315NyursgmZ4gTqnc20BLgm2gyIw5OtoPxrsRqf9VHyBzt3vZV5k5K mV5M50LGBwF//V3CqTEZGr0YLIxbcULgSsBjantU8MwzV73osSlUNpyPr/RiwtnivGnJHs gp0cmSvG58uSog4zF7xBwli1vbS/ZuMBPmjXDm5U6drgumtAnG3u5hrHRF4Qlw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=YGSJZLY9; 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: 5.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=YGSJZLY9; 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: 4D8382A121 X-Spam-Score: 5.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ep5FsSRh2x6e * 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)))) +(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.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)") + (license license:expat))) + (define-public mapnik (package (name "mapnik") -- 2.30.2