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 yHEaLnOqUWGqFQEAgWs5BA (envelope-from ) for ; Mon, 27 Sep 2021 13:26:43 +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 YCO3KXOqUWGdVQAAbx9fmQ (envelope-from ) for ; Mon, 27 Sep 2021 11:26:43 +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 8280E15845 for ; Mon, 27 Sep 2021 13:26:43 +0200 (CEST) Received: from localhost ([::1]:39934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUomP-0003bi-Jg for larch@yhetil.org; Mon, 27 Sep 2021 07:26:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUolo-0003FB-IJ for guix-patches@gnu.org; Mon, 27 Sep 2021 07:26:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUolm-00005Z-Tz for guix-patches@gnu.org; Mon, 27 Sep 2021 07:26:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUolm-0001Nw-R8 for guix-patches@gnu.org; Mon, 27 Sep 2021 07:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50812] [PATCH v3 2/6] gnu: Add python-pyproj. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Sep 2021 11:26: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 , Xinglu Chen , Maxime Devos Received: via spool by 50812-submit@debbugs.gnu.org id=B50812.16327419305216 (code B ref 50812); Mon, 27 Sep 2021 11:26:02 +0000 Received: (at 50812) by debbugs.gnu.org; 27 Sep 2021 11:25:30 +0000 Received: from localhost ([127.0.0.1]:39861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUolF-0001Lx-V8 for submit@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:30 -0400 Received: from mout01.posteo.de ([185.67.36.65]:34939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUolB-0001LD-4A for 50812@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:25 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1C198240026 for <50812@debbugs.gnu.org>; Mon, 27 Sep 2021 13:25:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632741919; bh=ZuSQGAy+tRuQ9vRHhU0uXfHHVUBpQsk8mS+roHriWlU=; h=From:To:Cc:Subject:Date:From; b=nR6A6fT2aoh6E3NoYYEQZUGsK3DI7+SfjQv0OzPXi51Qa/pgl2JW3dimsy9vXDk00 ax+4pGE/hCsz11AvPw+6LmWwWI6mEdW6UPC0JrKx/BaZGBaz1HgNvC/sQS13itEqVs d6bkRdf46OGVNv9HPmCu902QXA9/csWCUNTYC/dwEmdvyaFWLSk9Q0L9x/ieypr6VE xEriWHeA0jEte3eCFThhlWaz2uDVPbX2WGEPpiSHG1j33wxxbV7hPKbOnuQd5hu7r6 VCcjHsZIyqG+6LPGJOzKw1Dms+mVfgQDimGfMUAbeY3D/jaa5fxIojrMPsx5DoBW/R hdvAi0WnqpNiw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJ0g20j9Rz9rxF; Mon, 27 Sep 2021 13:25:17 +0200 (CEST) From: Felix Gruber Date: Mon, 27 Sep 2021 11:24:53 +0000 Message-Id: <20210927112457.2118-3-felgru@posteo.net> In-Reply-To: <20210927112457.2118-1-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> <20210927112457.2118-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=1632742003; 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=N2VgOsDkl4ia/fHdq/ScybBgn73KDP9wHr996Lnn/7c=; b=dx/8KnRtQZTLC5ry+VHfxrRcgy+kyiP7R6tN39CQRkprgH0IpfJuqAuzpll14HSxZ3A1DN V1J4YRPnhH7WpNuAW/iDA+E87qx8NKLRLwxd2QCS2kiGq+MrmpSM3GFYy3hi5qgZ0uZCH+ B8BU5j+IdfYVNodakRNrBQ9V/tds8ZWaxKf+3rMztPVhsOaKQXesRZ/xzcBUjJn5VbDWKr WIqXPc2QlSaFuFoo5lBdMfhXPm75U/hT8o0YrRChV8G/lIDR17dM7lf8VJOekBg8Tj3bCW 4IZQ3oDkyeNaXjj/k/m4/MqzPvqyD8Yl9zjRzWml/AU2sKZUVTkYZYfn5t7afg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632742003; a=rsa-sha256; cv=none; b=ZlgKpNsgi8Bv+ZHwMJGHyaTPVWYuhyj5JBP6pxpGLMxLpG1c0gPWhpCUHV9nj7g6FU9n5w hnhw1zg3WbfKFI+h3CK4qnqYV7jE1v1MWAqAd4UP01drVLrlXjltZs0qBArvUw4dLoxAIu 8Zop495KvmkybSnWFwD86c2s2q7SnU16YaLtQG5gcg+1iWWK9YYxF/LAzTDsyXlWTnH/AK lpD72dJCq6MoAx1BlYfE88hGtVlrbyu0xAG+MZ7m3MI55rwjlFUKluf/Q6GNKHPPeh67dI FiUcK3NXGlesnGa8qmrThvSJo21eBE9QywoeL8PaPw/0Xg40e32IhBwyEuECKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=nR6A6fT2; 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=nR6A6fT2; 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: 8280E15845 X-Spam-Score: 3.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: SVFn9gDBaGqP * 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..cf1f737b7d 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 + "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