From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 04:54:12 2021 Received: (at submit) by debbugs.gnu.org; 26 Sep 2021 08:54:12 +0000 Received: from localhost ([127.0.0.1]:35783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPvH-0002Qp-RH for submit@debbugs.gnu.org; Sun, 26 Sep 2021 04:54:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:59304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPvG-0002Qh-1h for submit@debbugs.gnu.org; Sun, 26 Sep 2021 04:54:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUPvB-0003cy-Md for guix-patches@gnu.org; Sun, 26 Sep 2021 04:54:09 -0400 Received: from mout01.posteo.de ([185.67.36.65]:58323) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUPv9-0000aL-Fb for guix-patches@gnu.org; Sun, 26 Sep 2021 04:54:05 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id F100D240026 for ; Sun, 26 Sep 2021 10:53:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632646440; bh=5LGuBnjjl8G3TXJJAAOsl0zTWjb0VoORGOegrm97mqY=; h=From:To:Cc:Subject:Date:From; b=SUfT7Qd84AIFxN86CMu0CMStJLRu+gFFohK5ZqS00kzSCSzCTde6Cms1yTVdWhvI2 W0HYS0ZJC5WbX1Yf4DXm6oDVrjZEOt5C88XsaUEWeNd3jlu3AU9PW5sPoVlCVaS4+z Dd5yjcvMVaK/D31lb5eoNC4EJdwx48r9kF1ttKPoU0Bn4oNlTUS/XRsf9HkvX8ftvS Dr3dAwJR9chTvifkPn3E0Ea1/ya4kKZF7dkX3BIQwKltMaTxpVs/r7Zv7G3Mp6MPJx riGXbPH7xqEr90Sqex6pUD04n47ofcvtn3ZMWyM3muRNlC0rPtoj1C3Xh+BDr7uHaH FLiYsFPyiEJYA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HHKLv15dFz9rxF; Sun, 26 Sep 2021 10:53:59 +0200 (CEST) From: Felix Gruber To: guix-patches@gnu.org Subject: [PATCH 0/5] Add python-geopandas Date: Sun, 26 Sep 2021 08:52:19 +0000 Message-Id: <20210926085219.13547-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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Felix Gruber X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This patchset adds Geopandas, an extension to work with geographic data in Python's Pandas dataframe library. Felix Gruber (5): gnu: Add proj 7.2.1. gnu: Add python-pyproj. gnu: Add python-cligj. gnu: Add python-fiona. gnu: Add python-geopandas. gnu/packages/geo.scm | 185 ++++++++++++++++++++++++++++++++++++ gnu/packages/python-xyz.scm | 26 +++++ 2 files changed, 211 insertions(+) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 04:58:07 2021 Received: (at submit) by debbugs.gnu.org; 26 Sep 2021 08:58:08 +0000 Received: from localhost ([127.0.0.1]:35792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPz5-0002XG-IJ for submit@debbugs.gnu.org; Sun, 26 Sep 2021 04:58:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:39478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPz1-0002X5-Ri for submit@debbugs.gnu.org; Sun, 26 Sep 2021 04:58:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUPz1-0000v6-BH for guix-patches@gnu.org; Sun, 26 Sep 2021 04:58:03 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41139) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUPyw-0003pL-75 for guix-patches@gnu.org; Sun, 26 Sep 2021 04:58:03 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 1B8A7240101 for ; Sun, 26 Sep 2021 10:57:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632646675; bh=gvnGq7nWx/qS5/zul6AZgN4Xi/GyRTe9XTNTKVflurk=; h=From:To:Cc:Subject:Date:From; b=iWEPHIXDk1opywTtZQebZedJF7EGRdUTdt+IleBkzzos6l17cG/xkTadEDYXyKnOg LCeZAU6ZiA9kQNzrFhxf6gYxWqKfSOfoY2zq0KX6ZJDair9pHxTOcqtPcjlKauyMN+ dNQP35QyKkFHezWHqsuTvX1u7MlQuSJ8C4XcquOjO/lEvUnJYoB5MglwpObEkZogTd yE2HUTIccGDZ3agu50Fvm2sdGtBxyOlyb8i0WwyY5rTh2j/6inknwZ0vDFW5/IG0fD ymZZBcbZlFVLQdPilBypCuYIVNosVHs9c1DMoGHZksRLfOWNsXEm/plFE1BhUibCKJ YoC96Szzk1K5w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HHKRQ1xjyz6tm4; Sun, 26 Sep 2021 10:57:53 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org, guix-patches@gnu.org Subject: [PATCH 1/5] gnu: Add proj 7.2.1. Date: Sun, 26 Sep 2021 08:57:29 +0000 Message-Id: <20210926085733.14128-1-felgru@posteo.net> In-Reply-To: <20210926085219.13547-1-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=felgru@posteo.net; helo=mout02.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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Felix Gruber X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/geo.scm (proj.7): New variable. --- gnu/packages/geo.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 9d4a1a8955..c10b93d83f 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -511,6 +511,45 @@ fully fledged Spatial SQL capabilities.") license:mpl1.1 license:public-domain)))) +(define-public proj.7 + (package + (name "proj") + (version "7.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "http://download.osgeo.org/proj/proj-" + version ".tar.gz")) + (sha256 + (base32 + "050apzdn0isxpsblys1shrl9ccli5vd32kgswlgx1imrbwpg915k")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags '("-DUSE_EXTERNAL_GTEST=ON"))) + (inputs + `(("curl" ,curl) + ("libjpeg-turbo" ,libjpeg-turbo) + ("libtiff" ,libtiff) + ("sqlite" ,sqlite))) + (native-inputs + `(("googletest" ,googletest) + ("pkg-config" ,pkg-config))) + (home-page "https://proj.org/") + (synopsis "Coordinate transformation software") + (description + "Proj is a generic coordinate transformation software that transforms +geospatial coordinates from one coordinate reference system (CRS) to another. +This includes cartographic projections as well as geodetic transformations. +PROJ includes command line applications for easy conversion of coordinates +from text files or directly from user input. In addition, proj also exposes +an application programming interface that lets developers use the +functionality of proj in their own software.") + (license (list license:expat + ;; src/projections/patterson.cpp + license:asl2.0 + ;; src/geodesic.*, src/tests/geodtest.cpp + license:x11)))) + (define-public proj (package (name "proj") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 04:58:12 2021 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 To: 50812@debbugs.gnu.org, guix-patches@gnu.org Subject: [PATCH 2/5] gnu: Add python-pyproj. 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Felix Gruber X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 04:58:20 2021 Received: (at submit) by debbugs.gnu.org; 26 Sep 2021 08:58:20 +0000 Received: from localhost ([127.0.0.1]:35803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPzH-0002YC-Po for submit@debbugs.gnu.org; Sun, 26 Sep 2021 04:58:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:39666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPzD-0002Xu-4c for submit@debbugs.gnu.org; Sun, 26 Sep 2021 04:58:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUPzC-00013f-RI for guix-patches@gnu.org; Sun, 26 Sep 2021 04:58:14 -0400 Received: from mout02.posteo.de ([185.67.36.66]:50591) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUPzA-000420-GE for guix-patches@gnu.org; Sun, 26 Sep 2021 04:58:13 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 19608240103 for ; Sun, 26 Sep 2021 10:58:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632646690; bh=mYQCziO8npJQW60DjQ8XpLJV+LDSQWPDnLBR1ynChgw=; h=From:To:Cc:Subject:Date:From; b=X72uGnkoQjs+3RoOUaezmdE0+5sU4xs1URpaMTg9WpN8o5Xxf1SeDh37kPbw7900m WiX/5ZNTQN10R5G/cXVBjCd36dtP543fEBHYoKY2mhTZ7yeVDQ4DLBNg/UTYhKixTc rkXbNR3pAFp4SqE5y/5p0opaqJPYBRR8fvCx+TAWACn86pwvKXAeA5a2tXNO3R3e1c 5gLw25nUhAyY53Mon7jPU7+gwBSDp6oTkeIcUsWpvTL9JXLFAsQgihCO5RtO7ZQlXy uzAnDq/bDSnOhElpHJPBkm1oBYhHk87iX9eDqD2RfSbkNyHRk0mH7v0tBFhrCHjc1y vYSnVd1PUgYKA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HHKRg4zy4z9rxL; Sun, 26 Sep 2021 10:58:07 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org, guix-patches@gnu.org Subject: [PATCH 3/5] gnu: Add python-cligj. Date: Sun, 26 Sep 2021 08:57:31 +0000 Message-Id: <20210926085733.14128-3-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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=felgru@posteo.net; helo=mout02.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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Felix Gruber X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/python-xyz.scm (python-cligj): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 15a35cda17..97c9099e5c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -108,6 +108,7 @@ ;;; Copyright © 2021 Simon Streit ;;; Copyright © 2021 Daniel Meißner ;;; Copyright © 2021 Pradana Aumars +;;; Copyright © 2021 Felix Gruber ;;; ;;; This file is part of GNU Guix. ;;; @@ -3307,6 +3308,31 @@ with sensible defaults out of the box.") (base32 "0njsm0wn31l21bi118g5825ma5sa3rwn7v2x4wjd7yiiahkri337")))) (arguments `()))) +(define-public python-cligj + (package + (name "python-cligj") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cligj" version)) + (sha256 + (base32 + "09vbkik6kyn6yrqzl2r74vaybjk8kjykvi975hy3fsrm4gb17g54")))) + (build-system python-build-system) + (propagated-inputs + `(("python-click" ,python-click))) + (native-inputs + `(("python-pytest-cov" ,python-pytest-cov))) + (home-page "https://github.com/mapbox/cligj") + (synopsis + "Click params for commmand line interfaces to GeoJSON") + (description + "cligj is for Python developers who create command line interfaces +for geospatial data. cligj allows you to quickly build consistent, +well-tested and interoperable CLIs for handling GeoJSON.") + (license license:bsd-3))) + (define-public python-vcversioner (package (name "python-vcversioner") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 04:58:43 2021 Received: (at submit) by debbugs.gnu.org; 26 Sep 2021 08:58:43 +0000 Received: from localhost ([127.0.0.1]:35813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPze-0002ZM-MY for submit@debbugs.gnu.org; Sun, 26 Sep 2021 04:58:43 -0400 Received: from lists.gnu.org ([209.51.188.17]:40168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPzb-0002Z4-Mr for submit@debbugs.gnu.org; Sun, 26 Sep 2021 04:58:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUPzY-0001Tv-7J for guix-patches@gnu.org; Sun, 26 Sep 2021 04:58:37 -0400 Received: from mout01.posteo.de ([185.67.36.65]:51845) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUPzV-0004IL-FX for guix-patches@gnu.org; Sun, 26 Sep 2021 04:58:36 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 357D9240029 for ; Sun, 26 Sep 2021 10:58:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632646711; bh=iLk5bnrWloPMVVO6ArGRg8GwdA/5hi4wfX/RjiiUn6c=; h=From:To:Cc:Subject:Date:From; b=hu2nLztfyekQXnKQ1B3xbqWY97xb6oNVL3YlJX3x7ZHTMyLw/60Xw8r0PGAFar/2I lUcBNkeRgpNPHo9pYoD3MH0Ytw7z4psH8DFcSLelCDQ1Wv+3c92gFfh5IgUN/QCl+D CDSp0cjf4EudC5PcqUDZj593CZpMLv1Q7mFPwBBNoyyj8ztNy21fBwEFkLtA88KeuO CRJvIW8iJGdXRaBowUZyd87jrxxEsxh62s+Rxz1qu7RDWUsR6GmtDcmnp65A08NeB5 ksPje+N3TflO9tUYNND+7Pdqrbwggk0fJB6dK7aod+2trkucDmuuypR2qqFKRGLwd8 fAeN61A/en6Aw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HHKS653xNz9rxH; Sun, 26 Sep 2021 10:58:30 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org, guix-patches@gnu.org Subject: [PATCH 4/5] gnu: Add python-fiona. Date: Sun, 26 Sep 2021 08:57:32 +0000 Message-Id: <20210926085733.14128-4-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-Type: text/plain; charset=UTF-8 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Felix Gruber X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/geo.scm (python-fiona): New variable. --- gnu/packages/geo.scm | 64 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index ee1c9c5674..114677dc27 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -674,6 +674,70 @@ projections.") "Python interface to PROJ (cartographic projections and coordinate transformations library)") (license license:expat))) +(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? outputs #:allow-other-keys) + (define (python-path dir) + (string-append dir "/lib/python" + ,(version-major+minor + (package-version python)) + "/site-packages")) + (let ((out (assoc-ref outputs "out"))) + (setenv "PYTHONPATH" (string-append (python-path out) ":" + (getenv "PYTHONPATH"))) + (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") + (synopsis + "Fiona reads and writes spatial data files") + (description + "Fiona is GDAL’s neat and nimble vector API for Python programmers. +Fiona is designed to be simple and dependable. It focuses on reading and +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 +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") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 04:58:43 2021 Received: (at submit) by debbugs.gnu.org; 26 Sep 2021 08:58:43 +0000 Received: from localhost ([127.0.0.1]:35815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPzf-0002ZT-3H for submit@debbugs.gnu.org; Sun, 26 Sep 2021 04:58:43 -0400 Received: from lists.gnu.org ([209.51.188.17]:40176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPzb-0002Z5-Od for submit@debbugs.gnu.org; Sun, 26 Sep 2021 04:58:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUPzZ-0001UQ-Bc for guix-patches@gnu.org; Sun, 26 Sep 2021 04:58:37 -0400 Received: from mout02.posteo.de ([185.67.36.66]:38141) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUPzW-0004JX-GD for guix-patches@gnu.org; Sun, 26 Sep 2021 04:58:37 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 229B2240101 for ; Sun, 26 Sep 2021 10:58:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632646713; bh=U4/cXxbiRargD7t6uXdQaHkSvVbLPCqE2KVgkM3DkS4=; h=From:To:Cc:Subject:Date:From; b=CHfCisB8xWoENLMIiYSRNR7Uk4cqBHjxyLZTR+uDQby1TLpylsgFGdVAhX1jUcl2i N4k3taWnM7xdQ0qOEyHj/BatrmaG+skKBLAboU1kvEmPd0WnKP7cFSJyHvU/wnHxpZ 8ODQxKph+sgsd2efk2/pepLjCVqybyZxPuLuvaZzzohf5vTiEp3qXiEFp5Chk2lWke yFdlrbkf75VQ4+JpgVnsjN0aCHdqj4r3XrGlqYRKCSC1EEoI66HIdI4bHNik0xTe/+ pW6MIgvY3Qz2JegYj3zOFFH4/2f3WITgBQDYCrqeScBQFzlEjWPhfeApkyZ7x3aUZX KITAxTiV3xJDQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HHKS84R31z9rxQ; Sun, 26 Sep 2021 10:58:32 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org, guix-patches@gnu.org Subject: [PATCH 5/5] gnu: Add python-geopandas. Date: Sun, 26 Sep 2021 08:57:33 +0000 Message-Id: <20210926085733.14128-5-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.66; envelope-from=felgru@posteo.net; helo=mout02.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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Felix Gruber X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/geo.scm (python-geopandas): 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 114677dc27..2235fe93fb 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -738,6 +738,47 @@ integrates readily with other Python GIS packages such as pyproj, Rtree, and Shapely.") (license license:bsd-3))) +(define-public python-geopandas + (package + (name "python-geopandas") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "geopandas" version)) + (sha256 + (base32 + "02k389zyyjv51gd09c92vlr83sv46awdq0066jgh5i24vjs2m5v3")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? outputs #:allow-other-keys) + (when tests? + (invoke "pytest" + ; Disable test that fails with + ; NotImplementedError in pandas. + "-k" "not test_fillna_no_op_returns_copy" + ; Disable tests that require internet access. + "-m" "not web"))))))) + (propagated-inputs + `(("python-fiona" ,python-fiona) + ("python-pandas" ,python-pandas) + ("python-pyproj" ,python-pyproj) + ("python-shapely" ,python-shapely))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "http://geopandas.org") + (synopsis "Geographic pandas extensions") + (description "The goal of GeoPandas is to make working with +geospatial data in python easier. It combines the capabilities of +pandas and shapely, providing geospatial operations in pandas and a +high-level interface to multiple geometries to shapely. GeoPandas +enables you to easily do operations in python that would otherwise +require a spatial database such as PostGIS.") + (license license:bsd-3))) + (define-public mapnik (package (name "mapnik") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 12:53:37 2021 Received: (at 50812) by debbugs.gnu.org; 26 Sep 2021 16:53:37 +0000 Received: from localhost ([127.0.0.1]:38607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUXPF-0007MR-Ga for submit@debbugs.gnu.org; Sun, 26 Sep 2021 12:53:37 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:33680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUXPD-0007MH-06 for 50812@debbugs.gnu.org; Sun, 26 Sep 2021 12:53:36 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by baptiste.telenet-ops.be with bizsmtp id ygtZ250010mfAB401gtZk1; Sun, 26 Sep 2021 18:53:33 +0200 Message-ID: Subject: Re: [bug#50812] [PATCH 4/5] gnu: Add python-fiona. From: Maxime Devos To: Felix Gruber , 50812@debbugs.gnu.org Date: Sun, 26 Sep 2021 18:53:20 +0200 In-Reply-To: <20210926085733.14128-4-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> <20210926085733.14128-1-felgru@posteo.net> <20210926085733.14128-4-felgru@posteo.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-ljBm7AY4dk4epUIAN5TI" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1632675213; bh=aO/x5PyjGRGXN02hBVn0lIwFjGZ+YpZxxi38TpWqke8=; h=Subject:From:To:Date:In-Reply-To:References; b=No+5fpavr/+9p/BoN3NanzQ793jrKyIwmJ1zhvIX+tJtL43f7b/IN85QjTlMLu7m5 LiJxZZzoofTF5yAPpvnSDcPxXjaR6GTlkn58hG+TEm7krr9sfpn12qSpa8AATBxK4F v6blA9LfCRAT0EpsEMZfxamYelD7XeDL2NwDLMpqJuT6OrheJCydN7p9VoQMDLX6SO qmjTTGQurfoh2iGp1lSz7Sb50SNoi84knaqq6SMggSbBnnSCu2CZaKETsUfc/404Mg VgQO3oFfspOUknIYRM8CIATRq2HlCgSTJQ2xe9yX/gN90hJqI8rfr6494M9GOBzUbn SmZk245lmFqlA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50812 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-ljBm7AY4dk4epUIAN5TI Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Felix Gruber schreef op zo 26-09-2021 om 08:57 [+0000]: > + (let ((out (assoc-ref outputs "out"))) > + (setenv "PYTHONPATH" (string-append (python-path out) ":" > + (getenv "PYTHONPATH")= )) (add-installed-pythonpath inputs outputs) might be useful here. Greetings, Maxime. --=-ljBm7AY4dk4epUIAN5TI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYVClgBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7p9BAP9UjITMsTmIfg68PhOcFlWVz3Al MlyOzxQySFeo6tsY6wD+J9wHICLTd5w6ZVLC2jtSCKfkA02Wk2MNXifxXOlRwQc= =6B00 -----END PGP SIGNATURE----- --=-ljBm7AY4dk4epUIAN5TI-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 12:55:31 2021 Received: (at 50812) by debbugs.gnu.org; 26 Sep 2021 16:55:31 +0000 Received: from localhost ([127.0.0.1]:38613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUXR4-0007PS-Rd for submit@debbugs.gnu.org; Sun, 26 Sep 2021 12:55:31 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:51936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUXR2-0007PI-FD for 50812@debbugs.gnu.org; Sun, 26 Sep 2021 12:55:28 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by xavier.telenet-ops.be with bizsmtp id ygvS2500E0mfAB401gvSw3; Sun, 26 Sep 2021 18:55:26 +0200 Message-ID: <7ea318f7543719b66433d56fb1d00cf70c80464d.camel@telenet.be> Subject: Re: [bug#50812] [PATCH 4/5] gnu: Add python-fiona. From: Maxime Devos To: Felix Gruber , 50812@debbugs.gnu.org Date: Sun, 26 Sep 2021 18:55:24 +0200 In-Reply-To: <20210926085733.14128-4-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> <20210926085733.14128-1-felgru@posteo.net> <20210926085733.14128-4-felgru@posteo.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-fkkYU1G2QFXh66Cq08bn" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1632675326; bh=p/a5UnCNDO1lAF7rruf70xeYm9gwxVK8PLPpLFdHXog=; h=Subject:From:To:Date:In-Reply-To:References; b=asN3w7RKLNL8wsDI8pOE+hst29b7qDGpQp55YxMUIcL2N+0OFljq3x3LP3+R3RRlH O6nsBPUqsfbFQYMWA4WfLCwu3lm3XBAHkTIbZXtNCRO69RORlX0RL1/RJIxnZkp9Tg 2mziNkX077dBeLEaohYxWGM12z446ngPlAWs0aTJEeF448I2eMDvhFWaFIVCC9YPeT sORtOmkuUor7m9hpRaz66FvBRoECD3fdaTlfQG56ZejnnOLf22craMcB22fW7BvM5A lY3oKawNY8erf4IbbHnefEtyJ3HHoI9gk8R3S4eIAsxm9iukRXDx6MxutNQlhtyX6Q cKkVrV9vx2OOw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50812 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-fkkYU1G2QFXh66Cq08bn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Felix Gruber schreef op zo 26-09-2021 om 08:57 [+0000]: > + (define (python-path dir) > + (string-append dir "/lib/python" > + ,(version-major+minor > + (package-version python)) > + "/site-packages")) Maybe use the procedure 'site-packages' instead to simplify things. Greetings, Maxime. --=-fkkYU1G2QFXh66Cq08bn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYVCl/BccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7uuDAP9o6DPbRZevJCpqXXZalRtY8+4t tY7y3dxOVffBdGBywQEAia3i28rvpxp1+HpAzsml0l3L1mkLGSk2oEi2VFeCAAk= =+Q89 -----END PGP SIGNATURE----- --=-fkkYU1G2QFXh66Cq08bn-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 13:42:51 2021 Received: (at 50812) by debbugs.gnu.org; 26 Sep 2021 17:42:51 +0000 Received: from localhost ([127.0.0.1]:38674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUYAs-0000CD-Ro for submit@debbugs.gnu.org; Sun, 26 Sep 2021 13:42:50 -0400 Received: from mout02.posteo.de ([185.67.36.66]:52425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUYAq-0000Bw-G5 for 50812@debbugs.gnu.org; Sun, 26 Sep 2021 13:42:49 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 14B32240105 for <50812@debbugs.gnu.org>; Sun, 26 Sep 2021 19:42:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632678162; bh=6TCsW01zaaeAxZKXidvciXy4NQbtowjT6MMrF5H2tXs=; h=From:To:Cc:Subject:Date:From; b=obQznalllgj9KIqwMfHsLSReSSYB9yCzEvlJtYARhdzza6/wHNn8xy4mjVoAI7pJy EA1tq9CtJPmBiYC+dtIA11Jn8NMyYqYit8IaPYyKv70lHdiXMrhgqADihDnoEaHSAs AZ+UY3QAfnqY0veygJsL1ChXsLs4ht0k/S18SwjAF4Pghjj6L4ZGGbFb/AxjqpoXhF HEKYbRXvGLjsnAH9Tlwb4r+C1MpZoFfUR6xmAA9VhvXbQ2XAFMTFNQm2HJs1KseH3p mPnUjafH7f7m+scpV5sVs6jV5mdbpHW6FDvAvW1hqlYyEwH1a1N0TGBp68ltiYf/m0 85VKtH74LRjyg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HHY4x0XtNz9rxS; Sun, 26 Sep 2021 19:42:40 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v2 0/5] Add python-geopandas Date: Sun, 26 Sep 2021 17:41:46 +0000 Message-Id: <20210926174150.26146-1-felgru@posteo.net> In-Reply-To: <20210926085219.13547-1-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This version of the patchset contains Maxime's proposed changes to the fiona package. Felix Gruber (5): gnu: Add proj 7.2.1. gnu: Add python-pyproj. gnu: Add python-cligj. gnu: Add python-fiona. gnu: Add python-geopandas. gnu/packages/geo.scm | 178 ++++++++++++++++++++++++++++++++++++ gnu/packages/python-xyz.scm | 26 ++++++ 2 files changed, 204 insertions(+) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 13:42:55 2021 Received: (at 50812) by debbugs.gnu.org; 26 Sep 2021 17:42:55 +0000 Received: from localhost ([127.0.0.1]:38680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUYAx-0000Cd-8Y for submit@debbugs.gnu.org; Sun, 26 Sep 2021 13:42:55 -0400 Received: from mout02.posteo.de ([185.67.36.66]:52273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUYAt-0000C0-NO for 50812@debbugs.gnu.org; Sun, 26 Sep 2021 13:42:52 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 12126240101 for <50812@debbugs.gnu.org>; Sun, 26 Sep 2021 19:42:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632678166; bh=gvnGq7nWx/qS5/zul6AZgN4Xi/GyRTe9XTNTKVflurk=; h=From:To:Cc:Subject:Date:From; b=OdMs03begOzP2zYtt4Y9iUZxUGsDrs4n9Y85ORUE9GVBHlJIXm1JKHYi1RwjIQOdi gOQqVB95xj+5clqyx7be4I3OE5ypbXVAv/1JwPivE1jDOnFzwYXELSiXY10nnmjYa4 9MCMdEUn9J2bU4ODp+g71CIsLg1VhtnjGNE7tUKOqg4cnLPstIePFsMElIulB5EqZl Q25xCIBj8pO8raBX/TyJVZqgaN2eHm72x7VnDKHMbVAQSL1vAfv7l/0roy82BTceOA Z/4nrAYFPS2bJ3R7lphvNQEeCxPVjR4TmlpWLgRWb386mMqyvMg1P2itHJX63txsG4 81FQ53XMTgYTw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HHY512TsYz9rxR; Sun, 26 Sep 2021 19:42:45 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v2 1/5] gnu: Add proj 7.2.1. Date: Sun, 26 Sep 2021 17:41:47 +0000 Message-Id: <20210926174150.26146-2-felgru@posteo.net> In-Reply-To: <20210926085219.13547-1-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/geo.scm (proj.7): New variable. --- gnu/packages/geo.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 9d4a1a8955..c10b93d83f 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -511,6 +511,45 @@ fully fledged Spatial SQL capabilities.") license:mpl1.1 license:public-domain)))) +(define-public proj.7 + (package + (name "proj") + (version "7.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "http://download.osgeo.org/proj/proj-" + version ".tar.gz")) + (sha256 + (base32 + "050apzdn0isxpsblys1shrl9ccli5vd32kgswlgx1imrbwpg915k")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags '("-DUSE_EXTERNAL_GTEST=ON"))) + (inputs + `(("curl" ,curl) + ("libjpeg-turbo" ,libjpeg-turbo) + ("libtiff" ,libtiff) + ("sqlite" ,sqlite))) + (native-inputs + `(("googletest" ,googletest) + ("pkg-config" ,pkg-config))) + (home-page "https://proj.org/") + (synopsis "Coordinate transformation software") + (description + "Proj is a generic coordinate transformation software that transforms +geospatial coordinates from one coordinate reference system (CRS) to another. +This includes cartographic projections as well as geodetic transformations. +PROJ includes command line applications for easy conversion of coordinates +from text files or directly from user input. In addition, proj also exposes +an application programming interface that lets developers use the +functionality of proj in their own software.") + (license (list license:expat + ;; src/projections/patterson.cpp + license:asl2.0 + ;; src/geodesic.*, src/tests/geodtest.cpp + license:x11)))) + (define-public proj (package (name "proj") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 13:43:01 2021 Received: (at 50812) by debbugs.gnu.org; 26 Sep 2021 17:43:02 +0000 Received: from localhost ([127.0.0.1]:38684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUYB3-0000DD-Hy for submit@debbugs.gnu.org; Sun, 26 Sep 2021 13:43:01 -0400 Received: from mout02.posteo.de ([185.67.36.66]:50321) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUYAy-0000CC-0S for 50812@debbugs.gnu.org; Sun, 26 Sep 2021 13:42:56 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 55F35240103 for <50812@debbugs.gnu.org>; Sun, 26 Sep 2021 19:42:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632678170; bh=ptxCwb79P4S7Hcx9K0QIVZl7w+z0Z1S3QLEMBKtsAAQ=; h=From:To:Cc:Subject:Date:From; b=PK2s0AmHkVx8soz9wrAzboO7qjLEgFptRvowaswyV+9btIDot16AK/QwLyo3WmHWM 8jjq4I5gntm5N8rImaE5B6ETiU4i65flVfJMap0cpL39jtgWqtZcdhI1DUpyrRMzjf OF1mL5aeRZUB7gywfb+wa8wpyROMo7cwXNUrkE1BpWMXayi7Vpd38eUt5HGw5byOLo S2rXbzYkRlaZpdAUuuhBp74AXXMGGXg+iusfpS8IuhHeF9I4sZU2A2HCTAOU4Tiv9C /za2M+91nlFNlQpJ4hxd6y8SGmd88rR8O4Z2Kfvju6c8yynC8U/eHKRCtBrBN+GocF 8EkQcIW5qyqOg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HHY555gjNz6tmD; Sun, 26 Sep 2021 19:42:49 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v2 2/5] gnu: Add python-pyproj. Date: Sun, 26 Sep 2021 17:41:48 +0000 Message-Id: <20210926174150.26146-3-felgru@posteo.net> In-Reply-To: <20210926085219.13547-1-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 13:43:08 2021 Received: (at 50812) by debbugs.gnu.org; 26 Sep 2021 17:43:09 +0000 Received: from localhost ([127.0.0.1]:38687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUYB3-0000DM-U5 for submit@debbugs.gnu.org; Sun, 26 Sep 2021 13:43:08 -0400 Received: from mout02.posteo.de ([185.67.36.66]:35045) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUYB1-0000CZ-26 for 50812@debbugs.gnu.org; Sun, 26 Sep 2021 13:42:59 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 6716F240104 for <50812@debbugs.gnu.org>; Sun, 26 Sep 2021 19:42:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632678173; bh=mYQCziO8npJQW60DjQ8XpLJV+LDSQWPDnLBR1ynChgw=; h=From:To:Cc:Subject:Date:From; b=DVgwAoyb+H2m138U9kmvu+SyogCxWaNC5phQNl6fx1pJhjo5V8Slgaj7oo004qmRF b5CfAv/wufh3rUwWi1L0EnMTxXBj3MD959lyp1qbd468oNtBacCrhMXMryXvHdSV3w 5+DyvtIPvjobT4KlD0s/EyQbgD8yltPQzmWwUBM/cVsUIOIiE4BJ8QGUzSDVYIasKp WotboRe77ePCimZRBeEyX/bWIeHk7gkwX0U7QiL8bDn0MsBDWabWuoHivq5YNTiXsm Ke7+ve/mjs+PXoPcBj3Iv0rsMQQCTCOfUNlcSnaTD4eocde+DemgFY85NVUaeRrDnP a4vPZ2klBQbXw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HHY59005Fz9rxD; Sun, 26 Sep 2021 19:42:52 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v2 3/5] gnu: Add python-cligj. Date: Sun, 26 Sep 2021 17:41:49 +0000 Message-Id: <20210926174150.26146-4-felgru@posteo.net> In-Reply-To: <20210926085219.13547-1-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (python-cligj): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 15a35cda17..97c9099e5c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -108,6 +108,7 @@ ;;; Copyright © 2021 Simon Streit ;;; Copyright © 2021 Daniel Meißner ;;; Copyright © 2021 Pradana Aumars +;;; Copyright © 2021 Felix Gruber ;;; ;;; This file is part of GNU Guix. ;;; @@ -3307,6 +3308,31 @@ with sensible defaults out of the box.") (base32 "0njsm0wn31l21bi118g5825ma5sa3rwn7v2x4wjd7yiiahkri337")))) (arguments `()))) +(define-public python-cligj + (package + (name "python-cligj") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cligj" version)) + (sha256 + (base32 + "09vbkik6kyn6yrqzl2r74vaybjk8kjykvi975hy3fsrm4gb17g54")))) + (build-system python-build-system) + (propagated-inputs + `(("python-click" ,python-click))) + (native-inputs + `(("python-pytest-cov" ,python-pytest-cov))) + (home-page "https://github.com/mapbox/cligj") + (synopsis + "Click params for commmand line interfaces to GeoJSON") + (description + "cligj is for Python developers who create command line interfaces +for geospatial data. cligj allows you to quickly build consistent, +well-tested and interoperable CLIs for handling GeoJSON.") + (license license:bsd-3))) + (define-public python-vcversioner (package (name "python-vcversioner") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 13:43:09 2021 Received: (at 50812) by debbugs.gnu.org; 26 Sep 2021 17:43:09 +0000 Received: from localhost ([127.0.0.1]:38694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUYBA-0000ES-Tj for submit@debbugs.gnu.org; Sun, 26 Sep 2021 13:43:09 -0400 Received: from mout01.posteo.de ([185.67.36.65]:46795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUYB5-0000Cv-EG for 50812@debbugs.gnu.org; Sun, 26 Sep 2021 13:43:04 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 737F3240028 for <50812@debbugs.gnu.org>; Sun, 26 Sep 2021 19:42:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632678176; bh=jkRaAlZccSzyTao/MgJ2KZsNDZt6hnCOp2zgFvb2KMo=; h=From:To:Cc:Subject:Date:From; b=JWiAz+IQQ87lqY9lbn5ZpS0W01qf3rlv0vllBvAfDPWUn4QJQIghlTg3hxoKqQFJU 3W0TBW1Mg5ILenk834m11zo5du3PVD3tVmYxmbnkVdlfyNUBLt195hyIc5nmrUSmEG E65kiME58oMRimxWVKq4VUWcHkMEe3FgX3G2qpGovEWxcTAFfX6Oh7UVFk4Mj2z3T2 hLq0Z/3MeFmjJaNKWsgXLOkpg+fvxRHNxDNevAqzylc8HD5U3LWzeL4o1pG+0u2F7l 9FPbAsrFjLTI/q1gOfkzih8lJTIq3gfB2dZC/JGHk8qRPFjRd2DJ39p+rV7b4IsZuS 7rPSw917ZUL9g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HHY5C3dk1z9rxR; Sun, 26 Sep 2021 19:42:55 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v2 4/5] gnu: Add python-fiona. Date: Sun, 26 Sep 2021 17:41:50 +0000 Message-Id: <20210926174150.26146-5-felgru@posteo.net> In-Reply-To: <20210926085219.13547-1-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * 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))) +(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") + (synopsis + "Fiona reads and writes spatial data files") + (description + "Fiona is GDAL’s neat and nimble vector API for Python programmers. +Fiona is designed to be simple and dependable. It focuses on reading and +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 +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") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 13:43:13 2021 Received: (at 50812) by debbugs.gnu.org; 26 Sep 2021 17:43:13 +0000 Received: from localhost ([127.0.0.1]:38697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUYBF-0000En-6i for submit@debbugs.gnu.org; Sun, 26 Sep 2021 13:43:13 -0400 Received: from mout02.posteo.de ([185.67.36.66]:37513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUYBC-0000EN-BC for 50812@debbugs.gnu.org; Sun, 26 Sep 2021 13:43:11 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A3315240101 for <50812@debbugs.gnu.org>; Sun, 26 Sep 2021 19:43:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632678184; bh=eIKhklhakkGcSlomJqhaOIQ6WXWKTH7nXrvarRnK8YM=; h=From:To:Cc:Subject:Date:From; b=pbOb2N8Uzr4BoQ8vl59di5JVdov7svvS22JSqy/C2X+CdcUCtze9BSUxGSWvKb8X6 vIlJc1m/9RLSPrWBY/3LvByLQtiv1TkhdDONjEnOhu3TnGyb3YCS7RBgwaEmRq/PGv kZonqvJITSBS9SZr1FkaJL4ZtzRDHL/VTG9MhZckX4walIx9rtPq7HjeocnQWaXeR5 d1KJPA9kOz/MwrlsrbnIesJ/+BKvHORLwJVZJvRyDvVQ4Rp/DjmanFFsXWCUuH91lz V1hWeVrTH95cChLCbg4artQAYVxIltvYhqF39Y8ItzjoZPwWFHtXGGMKCx3oBoTmsY 1Y/QSkWTjLf0A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HHY5N1QtPz6tmD; Sun, 26 Sep 2021 19:43:03 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v2 5/5] gnu: Add python-geopandas. Date: Sun, 26 Sep 2021 17:41:51 +0000 Message-Id: <20210926174150.26146-6-felgru@posteo.net> In-Reply-To: <20210926085219.13547-1-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/geo.scm (python-geopandas): 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 e47f97bf8c..8c2458ee0b 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -731,6 +731,47 @@ integrates readily with other Python GIS packages such as pyproj, Rtree, and Shapely.") (license license:bsd-3))) +(define-public python-geopandas + (package + (name "python-geopandas") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "geopandas" version)) + (sha256 + (base32 + "02k389zyyjv51gd09c92vlr83sv46awdq0066jgh5i24vjs2m5v3")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? outputs #:allow-other-keys) + (when tests? + (invoke "pytest" + ; Disable test that fails with + ; NotImplementedError in pandas. + "-k" "not test_fillna_no_op_returns_copy" + ; Disable tests that require internet access. + "-m" "not web"))))))) + (propagated-inputs + `(("python-fiona" ,python-fiona) + ("python-pandas" ,python-pandas) + ("python-pyproj" ,python-pyproj) + ("python-shapely" ,python-shapely))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "http://geopandas.org") + (synopsis "Geographic pandas extensions") + (description "The goal of GeoPandas is to make working with +geospatial data in python easier. It combines the capabilities of +pandas and shapely, providing geospatial operations in pandas and a +high-level interface to multiple geometries to shapely. GeoPandas +enables you to easily do operations in python that would otherwise +require a spatial database such as PostGIS.") + (license license:bsd-3))) + (define-public mapnik (package (name "mapnik") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 16:34:53 2021 Received: (at 50812) by debbugs.gnu.org; 26 Sep 2021 20:34:53 +0000 Received: from localhost ([127.0.0.1]:38821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUarN-0000Cq-8S for submit@debbugs.gnu.org; Sun, 26 Sep 2021 16:34:53 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:57658 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUarL-0000Cc-1Q for 50812@debbugs.gnu.org; Sun, 26 Sep 2021 16:34:51 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1632688481; bh=3k7xWf0UO77YYGKqRm/7XJNdJLxJdqslW3cx8j1iy7Q=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=YzA7My5fEBpnrWlUh8MCgSUcPLHK+he12ivWd1ZUlkda8AbVNoUT93/x4TYw+nVX2 tE9f+aK5r1qeDbJSBk25Q/dxU4yQ2GvTq8KvVAxcoz0B+R327CNHxKwX7IOxirQAyI LPpe6yB5DM79F9AforHRqWwZ9tYnowsgD8ygI/JA= To: Felix Gruber , 50812@debbugs.gnu.org Subject: Re: [bug#50812] [PATCH v2 1/5] gnu: Add proj 7.2.1. In-Reply-To: <20210926174150.26146-2-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> <20210926174150.26146-2-felgru@posteo.net> Date: Sun, 26 Sep 2021 22:34:35 +0200 Message-ID: <87fstr6ppg.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sun, Sep 26 2021, Felix Gruber wrote: > * gnu/packages/geo.scm (proj.7): New variable. > --- > gnu/packages/geo.scm | 39 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 39 insertions(+) > > diff --git a/gnu/packages/geo.scm b/gn [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sun, Sep 26 2021, Felix Gruber wrote: > * gnu/packages/geo.scm (proj.7): New variable. > --- > gnu/packages/geo.scm | 39 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 39 insertions(+) > > diff --git a/gnu/packages/geo.scm b/gn [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sun, Sep 26 2021, Felix Gruber wrote: > * gnu/packages/geo.scm (proj.7): New variable. > --- > gnu/packages/geo.scm | 39 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 39 insertions(+) > > diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm > index 9d4a1a8955..c10b93d83f 100644 > --- a/gnu/packages/geo.scm > +++ b/gnu/packages/geo.scm > @@ -511,6 +511,45 @@ fully fledged Spatial SQL capabilities.") > license:mpl1.1 > license:public-domain)))) >=20=20 > +(define-public proj.7 Hyphens are typically used to denote a specific version of a package, e.g., ghc-8.8. > + (package > + (name "proj") > + (version "7.2.1") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "http://download.osgeo.org/proj/proj-" > + version ".tar.gz")) > + (sha256 > + (base32 > + "050apzdn0isxpsblys1shrl9ccli5vd32kgswlgx1imrbwpg915k")))) > + (build-system cmake-build-system) > + (arguments > + `(#:configure-flags '("-DUSE_EXTERNAL_GTEST=3DON"))) > + (inputs > + `(("curl" ,curl) > + ("libjpeg-turbo" ,libjpeg-turbo) > + ("libtiff" ,libtiff) > + ("sqlite" ,sqlite))) > + (native-inputs > + `(("googletest" ,googletest) > + ("pkg-config" ,pkg-config))) > + (home-page "https://proj.org/") > + (synopsis "Coordinate transformation software") > + (description > + "Proj is a generic coordinate transformation software that transfor= ms > +geospatial coordinates from one coordinate reference system (CRS) to ano= ther. Nit: I would use @acronym{CRS, coordinate reference system}. > +This includes cartographic projections as well as geodetic transformatio= ns. > +PROJ includes command line applications for easy conversion of coordinat= es > +from text files or directly from user input. In addition, proj also exp= oses > +an application programming interface that lets developers use the > +functionality of proj in their own software.") The description includes three different spellings of the name--- =E2=80=9CProj=E2=80=9D, =E2=80=9CPROJ=E2=80=9D, and =E2=80=9Cproj=E2=80=9D.= It would be good to keep things more consistent. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmFQ2VwVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5p5gP/14yDFYm7omuv7QBWgwSBTQrwuaW whxgTtK6iE4NUjnb+3O+gJX3xWtVTnTKSmNDX85cnMo201mU897PZxx5AGgTmq4B 8BXGRQ4dXjPAFKadw2tu6oR0H/4U5KPqkiIhav06B7AHDUvXJVDh+bcu40Bgbsuv EWsfzKAHRcV6nIE8F2RGubS5E9D/YlMiAWlgCgl81aIToHvUa5KQvyVuHmu10gPV WsHCw4NvcDLHqo+R8tisl8Odfw9oAZ90Job6cqjygxQHrn1yAykVCTgvijPPLxqs UZVSPcyj5k+Sjptq7LZv4hnAIF4LMgcUVK1xlfpW/hVAtqrG9sqf8q0lSMG/owfR L0THJIBjuYGGbqPStTCNtFxGNPdyhHCIcaSZg6lcVvCD5jkX7QefRJaxBSyKWr8t qGyE+gRMFFQj25l5aX5yINhOXwF1qya8h3DdUa6QJdcfBQyLydtWDWGHJwY1AWVh /fhjhU3Wg3mMVBP74EPs3ID7DsMYJM3ECBsWcGxLiiiJSuvEWs9LSCd43MbHyDDY U9Ch6saFOrVk4AEZaGf6f6+J+iNFygjEooQY6/ki1a9RWNxHXywZBq4CNpQDKiVZ mIwG0V8sLv0wzEyLHG9UftMgG2l271ZUd//bDBjixOhZuDDSu84nGxrshzSzvtwA o46wlvZ0Tx7Wejtf =qeBS -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 16:41:26 2021 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= To: Felix Gruber , 50812@debbugs.gnu.org Subject: Re: [bug#50812] [PATCH v2 2/5] gnu: Add python-pyproj. 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-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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 [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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 [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 16:47:25 2021 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= To: Felix Gruber , 50812@debbugs.gnu.org Subject: Re: [bug#50812] [PATCH v2 4/5] gnu: Add python-fiona. 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-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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/g [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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/g [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 16:52:03 2021 Received: (at 50812) by debbugs.gnu.org; 26 Sep 2021 20:52:03 +0000 Received: from localhost ([127.0.0.1]:38860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUb7z-0000fG-97 for submit@debbugs.gnu.org; Sun, 26 Sep 2021 16:52:03 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:58034 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUb7w-0000el-Ur for 50812@debbugs.gnu.org; Sun, 26 Sep 2021 16:52:01 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1632689513; bh=Pbx13qg6TTDIpgACeWGalEnXX7ORxX9mhUSPhOZ2nKQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=Gi6t2ZUM+FpnSfkTYyYMqnpd4y+lrZrmT0qc6OOCUTmWeABVAsAxky0frFZm4O6q7 KneVQtpxX2ekkIwz+MIRL4Q6YoRey6cBjB7mxHOgTUpcAgy+JaWZ1+XyncgKE24sYb fo7tzuC0kXqB7a3+GH77K+lJADTNOoTd/vpUtxRc= To: Felix Gruber , 50812@debbugs.gnu.org Subject: Re: [bug#50812] [PATCH v2 5/5] gnu: Add python-geopandas. In-Reply-To: <20210926174150.26146-6-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> <20210926174150.26146-6-felgru@posteo.net> Date: Sun, 26 Sep 2021 22:51:52 +0200 Message-ID: <877df36own.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sun, Sep 26 2021, Felix Gruber wrote: > * gnu/packages/geo.scm (python-geopandas): New variable. > --- > gnu/packages/geo.scm | 41 +++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 41 insertions(+) > > diff --git a/gnu/packages/ [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sun, Sep 26 2021, Felix Gruber wrote: > * gnu/packages/geo.scm (python-geopandas): New variable. > --- > gnu/packages/geo.scm | 41 +++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 41 insertions(+) > > diff --git a/gnu/packages/ [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= 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-geopandas): 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 e47f97bf8c..8c2458ee0b 100644 > --- a/gnu/packages/geo.scm > +++ b/gnu/packages/geo.scm > @@ -731,6 +731,47 @@ integrates readily with other Python GIS packages su= ch as pyproj, Rtree, > and Shapely.") > (license license:bsd-3))) >=20=20 > +(define-public python-geopandas > + (package > + (name "python-geopandas") > + (version "0.9.0") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "geopandas" version)) > + (sha256 > + (base32 > + "02k389zyyjv51gd09c92vlr83sv46awdq0066jgh5i24vjs2m5v3")))) > + (build-system python-build-system) > + (arguments > + '(#:phases > + (modify-phases %standard-phases > + (replace 'check > + (lambda* (#:key tests? outputs #:allow-other-keys) The =E2=80=98outputs=E2=80=99 argument isn=E2=80=99t used > + (when tests? > + (invoke "pytest" > + ; Disable test that fails with > + ; NotImplementedError in pandas. > + "-k" "not test_fillna_no_op_returns_copy" > + ; Disable tests that require internet access. > + "-m" "not web"))))))) The indentation for the (when ...) form looks a bit off. > + (propagated-inputs > + `(("python-fiona" ,python-fiona) > + ("python-pandas" ,python-pandas) > + ("python-pyproj" ,python-pyproj) > + ("python-shapely" ,python-shapely))) > + (native-inputs > + `(("python-pytest" ,python-pytest))) > + (home-page "http://geopandas.org") > + (synopsis "Geographic pandas extensions") > + (description "The goal of GeoPandas is to make working with > +geospatial data in python easier. It combines the capabilities of > +pandas and shapely, providing geospatial operations in pandas and a =E2=80=9Cpandas=E2=80=9D should probably be capitalized. > +high-level interface to multiple geometries to shapely. GeoPandas > +enables you to easily do operations in python that would otherwise =E2=80=9Cpython=E2=80=9D should also be capitalized. > +require a spatial database such as PostGIS.") > + (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+SEykIzrPUJmaL7XHkFAmFQ3WgVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5OXkP+weBBA1UHDL5sHan+BElhZc5mjKk 37afKZGgV04Qb0NnrKnWgS3x/bY205K2KF4Yz7D4oEzm0/krYUhvk8zbD16L4uuo /3CoGng3weVAzw+IldTdp919rZORcbys1mxIRA57hz12RUnCzhnOhGVBXMeKm/QY RpDKLpfhFBeXsGuzqIBJTSpf76YH2e5jtL+fmQv3LQIJK9oSZPznoSenNSxd52LA o7x0qNfQ4rvsN3VYdpApGEBSk+DSrrLiu/kiQlP/gSFGkmsjxVfrRaDJG0EDUnRD AYie8gsLZ4B4i1NMLLqQ015EzuLks7oHWbAr+VZj39IBYgXJaIbVwlwVh9bDBhIA LGY35rcFe1kPFhR4VxGjvp/bthRTyU4cowJmA1GYIlnPsoMtfGsLXcZq4ugOXHWY L5R82IImkuNd1A8LIa2lfTRt8mEQRvUjN1Ush8EEF7sruVzVLsv4a2GKhQf/aUZF kmXuaMWonkT2zE1PQ1fRWzoV0bAvr/kCL8yes9ps79WGMfZevD7Ex78DPYmOcch4 oXOU+Q6HZDXCWmxLhG9xgyhVwl/VWa1LsYNP+pQhf363yLs21Md4458ZjLR1i88g bbNDqeFVQtGVfBE0iH2xj4a2/P0XlSP/Ld1Lm4z53DE/n3fUuOwa9kn/7SDuGpI1 IEpTG2azrA0vgu02 =DjFe -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 07:18:53 2021 Received: (at 50812) by debbugs.gnu.org; 27 Sep 2021 11:18:53 +0000 Received: from localhost ([127.0.0.1]:39836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUoer-0001Aq-Gk for submit@debbugs.gnu.org; Mon, 27 Sep 2021 07:18:53 -0400 Received: from mout02.posteo.de ([185.67.36.66]:48453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUoeo-0001Aa-Rf for 50812@debbugs.gnu.org; Mon, 27 Sep 2021 07:18:52 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 7DC7C240104 for <50812@debbugs.gnu.org>; Mon, 27 Sep 2021 13:18:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632741524; bh=uHzQBg4sC/nlkjLpwaR384gChHHP8R0ESPl0YQJboZI=; h=Subject:To:Cc:From:Date:From; b=HdJaJCInqxb2x2pZ4KKSAYByoUau4QWiG5lDa4rVnhNRVxWhrIgau0YL65igJXnyP 9s/JkwWnVCair2QSkk3TY/kVp5Xakjh5TOCB9GKYIU4fkGsybSJgBKfambWbdhXxRF oMf4wTrWSfT+L+iks0YwJ2BH8rbdQ8T47RbejQH9eQM7mC8HEzUntfODVzssW6kMq8 AykdKb4mSn3xl0MCTgS6iHjAnSrM+MSzyAgzOjOlATYOrm75nliXPhIMQLK3eJwEv6 yctro7GJqmJWl4p73pRt4F8sUdRzopclpiqiynUiuWGBngN/ds15RiS2DeAo9Jcp8l MMEkF9cgWHRSA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJ0WQ2kh0z9rxV; Mon, 27 Sep 2021 13:18:42 +0200 (CEST) Subject: Re: [bug#50812] [PATCH v2 1/5] gnu: Add proj 7.2.1. To: Xinglu Chen , 50812@debbugs.gnu.org References: <20210926085219.13547-1-felgru@posteo.net> <20210926174150.26146-2-felgru@posteo.net> <87fstr6ppg.fsf@yoctocell.xyz> From: Felix Gruber Message-ID: <5239b8dc-39b8-3402-041e-1066da2220e8@posteo.net> Date: Mon, 27 Sep 2021 11:18:31 +0000 MIME-Version: 1.0 In-Reply-To: <87fstr6ppg.fsf@yoctocell.xyz> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On 9/26/21 10:34 PM, Xinglu Chen wrote: > On Sun, Sep 26 2021, Felix Gruber wrote: > >> * gnu/packages/geo.scm (proj.7): New variable. >> --- >> gnu/packages/geo.scm | 39 +++++++++++++++++++++++++++++++++++++++ >> 1 file changed, 39 insertions(+) >> >> diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm >> index 9d4a1a8955..c10b93d83f 100644 >> --- a/gnu/packages/geo.scm >> +++ b/gnu/packages/geo.scm >> @@ -511,6 +511,45 @@ fully fledged Spatial SQL capabilities.") >> license:mpl1.1 >> license:public-domain)))) >> >> +(define-public proj.7 > > Hyphens are typically used to denote a specific version of a package, > e.g., ghc-8.8. I've named the package proj.7 as there is already a proj.4 package for an old API-incompatible version of proj. But you're right that this is inconsistent with how most version-specific packages are named. Maybe we should rename proj.4? I wonder if there was a reason for naming it this way in the first place? Cheers, Felix From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 07:25:25 2021 Received: (at 50812) by debbugs.gnu.org; 27 Sep 2021 11:25:25 +0000 Received: from localhost ([127.0.0.1]:39851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUolB-0001LW-7P for submit@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:25 -0400 Received: from mout02.posteo.de ([185.67.36.66]:45695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUol8-0001L6-UC for 50812@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:24 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 5B10F240104 for <50812@debbugs.gnu.org>; Mon, 27 Sep 2021 13:25:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632741916; bh=H9SJNnbzQL+mPo4/X3JOMumCRWejRQtgYVD/+o1P7SA=; h=From:To:Cc:Subject:Date:From; b=LPa9W+W5mv91dIBCnUB9pJzARfSVHx8Vl4cDQahoqeUj0EC+CXQBRBTETdPeqyzig UvLGBZTjabCO/N6988c4ADIEBiL9EeoF38cVxD3WB+yg8g9/fO0hw0xLsscCik0YUc vIlN44n9qL7If1KXMRr4WB6oEVWu/TPW98LUvpVNrnN5WHTjtaFr4XgbXuwo8mnr2W j9o8/3TVl6TuXegq2WXridJBd+tD7k0thjuyQCJDp1lqX9F6gvIyht43ag/vyWGuFR WHejOeGY7EDBx825PMMWSzQAVZv5qO2nySIj7oW5ME9jFNG2U3VDKu84cXGh/n5toz PhQjn0odtxQog== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJ0fz0pZvz6tmS; Mon, 27 Sep 2021 13:25:14 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v3 0/6] Add python-geopandas Date: Mon, 27 Sep 2021 11:24:51 +0000 Message-Id: <20210927112457.2118-1-felgru@posteo.net> In-Reply-To: <20210926085219.13547-1-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Xinglu Chen , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This version of the patchset incorporates all of Xinglu Chen's proposed changes, except for renaming proj.7 to proj-7. I've keept the name proj.7 to be consistent with the name of the existing proj.4 package. Felix Gruber (6): gnu: Add proj 7.2.1. gnu: Add python-pyproj. gnu: Add python-cligj. gnu: Add python-fiona. gnu: Add python-geopandas. gnu: Improve description of proj packages. gnu/packages/geo.scm | 190 ++++++++++++++++++++++++++++++++++-- gnu/packages/python-xyz.scm | 26 +++++ 2 files changed, 210 insertions(+), 6 deletions(-) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 07:25:29 2021 Received: (at 50812) by debbugs.gnu.org; 27 Sep 2021 11:25:30 +0000 Received: from localhost ([127.0.0.1]:39859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUolF-0001Lv-J0 for submit@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:29 -0400 Received: from mout01.posteo.de ([185.67.36.65]:49203) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUol9-0001L9-SV for 50812@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:24 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id C55EE240028 for <50812@debbugs.gnu.org>; Mon, 27 Sep 2021 13:25:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632741917; bh=gvnGq7nWx/qS5/zul6AZgN4Xi/GyRTe9XTNTKVflurk=; h=From:To:Cc:Subject:Date:From; b=dVqeBATVQn1S3d308qUTp160LTxOqRd5sgjm4UowkBC+H4QxiZlXtDUXb21PMvfxl mdGUGAF+9Biw85neFVguikSAumDDlXwp9ee/4YWgE+yQg9YZmKGL4O7IIJfx5YZywG 0m+TAeOzR3dvr/z27BrWnudjN54h/abD/5l/L2HKKtFy/S2hbXEBy1Naa18AGOMV0s sbUGfAGa/4MfDGnHgWSEO0B23RrXREbHEp0k70OqLbB+8QwJHBM7P3h/JgYka8D7hJ U6peiENP8nNPdpxuqJwAFqUEGNszv/zYwk5jPkk5SZYXA+4qBLqssy3Uu22jZavhtn TInyNMa1VCCzw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJ0g05PFkz6tmS; Mon, 27 Sep 2021 13:25:16 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v3 1/6] gnu: Add proj 7.2.1. Date: Mon, 27 Sep 2021 11:24:52 +0000 Message-Id: <20210927112457.2118-2-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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Xinglu Chen , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/geo.scm (proj.7): New variable. --- gnu/packages/geo.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 9d4a1a8955..c10b93d83f 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -511,6 +511,45 @@ fully fledged Spatial SQL capabilities.") license:mpl1.1 license:public-domain)))) +(define-public proj.7 + (package + (name "proj") + (version "7.2.1") + (source + (origin + (method url-fetch) + (uri (string-append "http://download.osgeo.org/proj/proj-" + version ".tar.gz")) + (sha256 + (base32 + "050apzdn0isxpsblys1shrl9ccli5vd32kgswlgx1imrbwpg915k")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags '("-DUSE_EXTERNAL_GTEST=ON"))) + (inputs + `(("curl" ,curl) + ("libjpeg-turbo" ,libjpeg-turbo) + ("libtiff" ,libtiff) + ("sqlite" ,sqlite))) + (native-inputs + `(("googletest" ,googletest) + ("pkg-config" ,pkg-config))) + (home-page "https://proj.org/") + (synopsis "Coordinate transformation software") + (description + "Proj is a generic coordinate transformation software that transforms +geospatial coordinates from one coordinate reference system (CRS) to another. +This includes cartographic projections as well as geodetic transformations. +PROJ includes command line applications for easy conversion of coordinates +from text files or directly from user input. In addition, proj also exposes +an application programming interface that lets developers use the +functionality of proj in their own software.") + (license (list license:expat + ;; src/projections/patterson.cpp + license:asl2.0 + ;; src/geodesic.*, src/tests/geodtest.cpp + license:x11)))) + (define-public proj (package (name "proj") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 07:25:30 2021 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 To: 50812@debbugs.gnu.org Subject: [PATCH v3 2/6] gnu: Add python-pyproj. 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Xinglu Chen , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 07:25:30 2021 Received: (at 50812) by debbugs.gnu.org; 27 Sep 2021 11:25:30 +0000 Received: from localhost ([127.0.0.1]:39863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUolG-0001M5-8N for submit@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:30 -0400 Received: from mout02.posteo.de ([185.67.36.66]:58537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUolC-0001LF-3w for 50812@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:26 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 73A6B240103 for <50812@debbugs.gnu.org>; Mon, 27 Sep 2021 13:25:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632741920; bh=NYtraHlsmDx1nxjmk6GYv4pYZHMujP491yyJ5hBr53E=; h=From:To:Cc:Subject:Date:From; b=kC3+9/DMnJYOLL4e6j1cM4O/X5g1ov7GK1PKlVD+MXEGjxeYEQtbzTVz+hcyxdQ4f MPprhja/bXsBgJfb+GN7gQmhLq1XmD6KYgrSVnYtc15eJwuWB58+XZfnVv3PY0hwIH LOKctUDVvLwE3KxwKBWd0J5/gWi5GsA+g/HgLHiBpeQgTlFVg3abpMRrEbw/PWURhv +VaK3zxMX/CaZA9IkGNoZlr7gUISij7Y6typqIWom6andiq8lLWYnc6nFZz6PQ3PO2 ETFcQEmEB3o26Vvhwd+mFNlb08MIppxj7Q/Ebbb2NjLNFJM48E65KbT37cBQpRZbDl YCQtZHwMC6Pig== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJ0g31yZ5z9rxF; Mon, 27 Sep 2021 13:25:18 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v3 3/6] gnu: Add python-cligj. Date: Mon, 27 Sep 2021 11:24:54 +0000 Message-Id: <20210927112457.2118-4-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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Xinglu Chen , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (python-cligj): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 86b1cdc2b1..91740cd0f4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -108,6 +108,7 @@ ;;; Copyright © 2021 Simon Streit ;;; Copyright © 2021 Daniel Meißner ;;; Copyright © 2021 Pradana Aumars +;;; Copyright © 2021 Felix Gruber ;;; ;;; This file is part of GNU Guix. ;;; @@ -3308,6 +3309,31 @@ with sensible defaults out of the box.") (base32 "0njsm0wn31l21bi118g5825ma5sa3rwn7v2x4wjd7yiiahkri337")))) (arguments `()))) +(define-public python-cligj + (package + (name "python-cligj") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cligj" version)) + (sha256 + (base32 + "09vbkik6kyn6yrqzl2r74vaybjk8kjykvi975hy3fsrm4gb17g54")))) + (build-system python-build-system) + (propagated-inputs + `(("python-click" ,python-click))) + (native-inputs + `(("python-pytest-cov" ,python-pytest-cov))) + (home-page "https://github.com/mapbox/cligj") + (synopsis + "Click params for commmand line interfaces to GeoJSON") + (description + "cligj is for Python developers who create command line interfaces +for geospatial data. cligj allows you to quickly build consistent, +well-tested and interoperable CLIs for handling GeoJSON.") + (license license:bsd-3))) + (define-public python-vcversioner (package (name "python-vcversioner") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 07:25:42 2021 Received: (at 50812) by debbugs.gnu.org; 27 Sep 2021 11:25:42 +0000 Received: from localhost ([127.0.0.1]:39869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUolR-0001Mp-RH for submit@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:42 -0400 Received: from mout01.posteo.de ([185.67.36.65]:55675) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUolH-0001Ll-5R for 50812@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:31 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 97074240029 for <50812@debbugs.gnu.org>; Mon, 27 Sep 2021 13:25:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632741925; bh=V4+/7t4y7rQ5k7EZ7XV8Bns2Xu0zlLg6vGHkU8GEg6I=; h=From:To:Cc:Subject:Date:From; b=pgXcRyDNq9OfKEfLw2PDdd3xFn19DisI91HRE7ogWsJ55IrtNCeNmr+dN2np3bdtf hM6MRc/wLnkxtKLX2+l0yIVuz6ug9joQCoHAS2hhC8jtSPcLyKUXQO+bRZ5oq/hdgR YWS1QCLpYHDpVu+hfGAzhe9Uv/GqruHfTM+1NlSpfK7NHXWdD0VMsjxoltT+dW18pS CGYg0zPnHhUrVgqi+reDy+ltUcOYntFNGvH4TZqNndxe+p+4feoWjgUimyGqMKBxl6 7ZhtpW8ZmI4ktemg1g3i3aHvC8+XSCp99Q/2FWV5R1skvsdOVZn2S6xIYr1Yo/k1Pd BDX3/0JXLJ/Mw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJ0g85thPz9rxG; Mon, 27 Sep 2021 13:25:24 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v3 5/6] gnu: Add python-geopandas. Date: Mon, 27 Sep 2021 11:24:56 +0000 Message-Id: <20210927112457.2118-6-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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Xinglu Chen , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/geo.scm (python-geopandas): 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 c4cea0fa3a..2e9c6b6c8f 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -731,6 +731,47 @@ systems and integrates readily with other Python GIS packages such as pyproj, Rtree, and Shapely.") (license license:bsd-3))) +(define-public python-geopandas + (package + (name "python-geopandas") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "geopandas" version)) + (sha256 + (base32 + "02k389zyyjv51gd09c92vlr83sv46awdq0066jgh5i24vjs2m5v3")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" + ; Disable test that fails with + ; NotImplementedError in pandas. + "-k" "not test_fillna_no_op_returns_copy" + ; Disable tests that require internet access. + "-m" "not web"))))))) + (propagated-inputs + `(("python-fiona" ,python-fiona) + ("python-pandas" ,python-pandas) + ("python-pyproj" ,python-pyproj) + ("python-shapely" ,python-shapely))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "http://geopandas.org") + (synopsis "Geographic pandas extensions") + (description "The goal of GeoPandas is to make working with +geospatial data in Python easier. It combines the capabilities of +Pandas and Shapely, providing geospatial operations in Pandas and a +high-level interface to multiple geometries to Shapely. GeoPandas +enables you to easily do operations in Python that would otherwise +require a spatial database such as PostGIS.") + (license license:bsd-3))) + (define-public mapnik (package (name "mapnik") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 07:25:42 2021 Received: (at 50812) by debbugs.gnu.org; 27 Sep 2021 11:25:42 +0000 Received: from localhost ([127.0.0.1]:39871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUolS-0001Mr-5a for submit@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:42 -0400 Received: from mout02.posteo.de ([185.67.36.66]:44475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUolJ-0001Lt-Cf for 50812@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:33 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 6A149240106 for <50812@debbugs.gnu.org>; Mon, 27 Sep 2021 13:25:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632741927; bh=kipjwDWBYKUwE34tybBojALa/jS6g4ona2MXjg3l++8=; h=From:To:Cc:Subject:Date:From; b=CuzCVg72EaZP8wCchtzFIY0S0ZU1c1GjX5Iq/KvsX+TM2nQCiPli4QS+1wDyZ8nM8 4mh+oJHRtT8RgJsChkn2Iy27KB7XlbpWkG0elEAh9HH82i49V+XcU6r1TqFyhszS88 F7ASh2bwr/afQ4dVFYHtzpKxQzVL3+GDs5BqhGFQL8NfsDLePMPIswGC7Wxd9zIHa7 IrY6E2S/PREp0hOx4t+bLziZW9MQoQwiFrXpTGv7VXPltlzT46QVnkE23i1RELi3v+ s6X50OrXyKBAIj0fJkXFhD9WUkkX3W5EZWR8DZvSHqAdAbAzJ9FTCddne9KCySUJ0T G7w3Ij9nRGliw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJ0gB5m24z6tmd; Mon, 27 Sep 2021 13:25:26 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v3 6/6] gnu: Improve description of proj packages. Date: Mon, 27 Sep 2021 11:24:57 +0000 Message-Id: <20210927112457.2118-7-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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Xinglu Chen , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/geo.scm (proj, proj.7)[description]: Consistently call the package Proj, instead of Proj, PROJ or proj. Use @acronym to define CRS. --- gnu/packages/geo.scm | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 2e9c6b6c8f..d8af4f71f3 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -539,12 +539,12 @@ fully fledged Spatial SQL capabilities.") (synopsis "Coordinate transformation software") (description "Proj is a generic coordinate transformation software that transforms -geospatial coordinates from one coordinate reference system (CRS) to another. -This includes cartographic projections as well as geodetic transformations. -PROJ includes command line applications for easy conversion of coordinates -from text files or directly from user input. In addition, proj also exposes -an application programming interface that lets developers use the -functionality of proj in their own software.") +geospatial coordinates from one @acronym{CRS, coordinate reference system} +to another. This includes cartographic projections as well as geodetic +transformations. Proj includes command line applications for easy +conversion of coordinates from text files or directly from user input. +In addition, Proj also exposes an application programming interface that +lets developers use the functionality of Proj in their own software.") (license (list license:expat ;; src/projections/patterson.cpp license:asl2.0 @@ -572,12 +572,12 @@ functionality of proj in their own software.") (synopsis "Coordinate transformation software") (description "Proj is a generic coordinate transformation software that transforms -geospatial coordinates from one coordinate reference system (CRS) to another. -This includes cartographic projections as well as geodetic transformations. -PROJ includes command line applications for easy conversion of coordinates -from text files or directly from user input. In addition, proj also exposes -an application programming interface that lets developers use the -functionality of proj in their own software.") +geospatial coordinates from one @acronym{CRS, coordinate reference system} +to another. This includes cartographic projections as well as geodetic +transformations. Proj includes command line applications for easy +conversion of coordinates from text files or directly from user input. +In addition, Proj also exposes an application programming interface that +lets developers use the functionality of Proj in their own software.") (license (list license:expat ;; src/projections/patterson.cpp license:asl2.0 -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 07:25:42 2021 Received: (at 50812) by debbugs.gnu.org; 27 Sep 2021 11:25:42 +0000 Received: from localhost ([127.0.0.1]:39873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUolS-0001My-Hj for submit@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:42 -0400 Received: from mout01.posteo.de ([185.67.36.65]:36927) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUolE-0001LI-5Q for 50812@debbugs.gnu.org; Mon, 27 Sep 2021 07:25:36 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 95658240026 for <50812@debbugs.gnu.org>; Mon, 27 Sep 2021 13:25:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632741922; bh=uNkdD0veFVviIGFE89quQa/aO2tj2q4xLmeWKRewPU4=; h=From:To:Cc:Subject:Date:From; b=Ir0JfR6e19Y8G2Hwq9pa7iFd3TdsgAcHKHALc9STda+tAokghob/2T1Xxi5SpR9tn qSl6UiotwA5OlLA795Q2icBl4doQD/HKPFfFTzMF6aTJyBIbRl9SdA1hf/nQ3nHKGz ZA/ZjOvsY9i4sAQu9sScQMEcYsq39Tp6iErTCzNM1IyHTvso9da24KvaIhFEKGEtdP fQCqzuehTx+CANWU0jpP3QqvDXgR8JMxy6xK0Oabn1aQEkgvy58qRLJ2HPzxsombg2 d04M8K8nA+Nd6KtmL7yEr5jGA46jn3Ha+vD4NRHfOFurddM8ZOkc6i1bQBrcuvf6rY U6GBbtidUNvQg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJ0g53k1Zz6tmS; Mon, 27 Sep 2021 13:25:21 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v3 4/6] gnu: Add python-fiona. Date: Mon, 27 Sep 2021 11:24:55 +0000 Message-Id: <20210927112457.2118-5-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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 50812 Cc: Felix Gruber , Xinglu Chen , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * 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 cf1f737b7d..c4cea0fa3a 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -674,6 +674,63 @@ projections.") projections and coordinate transformations library.") (license license:expat))) +(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 "https://github.com/Toblerity/Fiona") + (synopsis + "Fiona reads and writes spatial data files") + (description + "Fiona is GDAL’s neat and nimble vector API for Python programmers. +Fiona is designed to be simple and dependable. It focuses on reading +and 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 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") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 08:36:23 2021 Received: (at 50812) by debbugs.gnu.org; 27 Sep 2021 12:36:23 +0000 Received: from localhost ([127.0.0.1]:39970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUprr-0007pu-EW for submit@debbugs.gnu.org; Mon, 27 Sep 2021 08:36:23 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:49676 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUprn-0007pY-Vg for 50812@debbugs.gnu.org; Mon, 27 Sep 2021 08:36:21 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1632746169; bh=2+p4Sr3DCnH6GHe+lTIruwzHniOEoKPtL/gp2weEbTk=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=MKgaa8QjsZ5WQZLSqYlDwQbjBe5Z2GX2gRfHrqqj18PgTTC30DtGfXNCV842m9W64 +yAH7yK9xDq+klppsKkFrCUvc0Q+gwOOXHoQZVME9qlJCO1BJriREaPL0bG+vAUYSt zFVS/ekBesywee70ng7ocbjlV9vEr92JZ/M2tnyc= To: Felix Gruber , 50812@debbugs.gnu.org Subject: Re: [bug#50812] [PATCH v2 1/5] gnu: Add proj 7.2.1. In-Reply-To: <5239b8dc-39b8-3402-041e-1066da2220e8@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> <20210926174150.26146-2-felgru@posteo.net> <87fstr6ppg.fsf@yoctocell.xyz> <5239b8dc-39b8-3402-041e-1066da2220e8@posteo.net> Date: Mon, 27 Sep 2021 14:36:08 +0200 Message-ID: <871r5a6vrb.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Mon, Sep 27 2021, Felix Gruber wrote: > On 9/26/21 10:34 PM, Xinglu Chen wrote: >> On Sun, Sep 26 2021, Felix Gruber wrote: >> >>> * gnu/packages/geo.scm (proj.7): New variable. >>> --- >>> gnu/packages/geo.scm | 39 ++++++++++++++++++++++ [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps X-Debbugs-Envelope-To: 50812 Cc: Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Mon, Sep 27 2021, Felix Gruber wrote: > On 9/26/21 10:34 PM, Xinglu Chen wrote: >> On Sun, Sep 26 2021, Felix Gruber wrote: >> >>> * gnu/packages/geo.scm (proj.7): New variable. >>> --- >>> gnu/packages/geo.scm | 39 ++++++++++++++++++++++ [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Mon, Sep 27 2021, Felix Gruber wrote: > On 9/26/21 10:34 PM, Xinglu Chen wrote: >> On Sun, Sep 26 2021, Felix Gruber wrote: >>=20 >>> * gnu/packages/geo.scm (proj.7): New variable. >>> --- >>> gnu/packages/geo.scm | 39 +++++++++++++++++++++++++++++++++++++++ >>> 1 file changed, 39 insertions(+) >>> >>> diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm >>> index 9d4a1a8955..c10b93d83f 100644 >>> --- a/gnu/packages/geo.scm >>> +++ b/gnu/packages/geo.scm >>> @@ -511,6 +511,45 @@ fully fledged Spatial SQL capabilities.") >>> license:mpl1.1 >>> license:public-domain)))) >>>=20=20 >>> +(define-public proj.7 >>=20 >> Hyphens are typically used to denote a specific version of a package, >> e.g., ghc-8.8. > > I've named the package proj.7 as there is already a proj.4 package for > an old API-incompatible version of proj. But you're right that this is > inconsistent with how most version-specific packages are named. > > Maybe we should rename proj.4? I wonder if there was a reason for naming > it this way in the first place? Yes, I think renaming it to =E2=80=98proj-4=E2=80=99 would be a good idea. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmFRurgVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5pvwP/0cdjgvHc2V0JDLXEzVt2TpkFslq hvW17qoij3WVE2Jgg1ff2osMFZjx7bZXJtDRo7FMOWP7uK5kQPY89/OvttlqAVwb m0V82OL4rOtABdN7wMkFYoBM5Wbfi5ysKJ84T08bNOAuKppAxHXhVBWoao9dtha2 wOhUORe2NcNVgwO0Co9BYGvQfViXVsjM5t6DqzMSD8WHDSBC3lflsOeGCENtWR5q /fOMlfapsis8OxbBsAaqU4BYLyttYsbdhBKkEmz1Fa+jnZtyH/1uS6MktRuPkEWJ csE4C19Xs7IkBrhSmoQdsuTAq3JqoJbXlcQElqKlIg4Pm6ZO02BFgKRIwImZZB23 xsM+5JRJmf0nV7Z/wyRiVOgpGxc4gaBvxPx0g7354QGtARcFsFFFu6BJKazFB9g3 8egKiBZHidub37MRU+wUhd/RYTc+EX/kmL+SgOOhu3HXqWhimCcoUYl79t50fYiL S4EaoxOZvdfpIra6xslQGKIA19MXmYfJwKvk4bhBX1qnB11QPEhoZyLTMb97BhuO 8w2tUbAPVBfAyR8ChgcTTBUy7rjtRzBXUQaOANnFeAUsjaWUjFNQUzMSvw2BE1cW 87gRSz9a5JTrit5KP/2j6WuwQNgsxN8Kq6ITZoXWODLLHmaRCtuaJwRJEuCM7nDQ gLV2fI97fLnRZKXo =i7k4 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 27 08:56:23 2021 Received: (at 50812) by debbugs.gnu.org; 27 Sep 2021 12:56:23 +0000 Received: from localhost ([127.0.0.1]:40023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUqBD-0008TA-E2 for submit@debbugs.gnu.org; Mon, 27 Sep 2021 08:56:23 -0400 Received: from mout01.posteo.de ([185.67.36.65]:40087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUqBA-0008St-MI for 50812@debbugs.gnu.org; Mon, 27 Sep 2021 08:56:21 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 3E25A24002B for <50812@debbugs.gnu.org>; Mon, 27 Sep 2021 14:56:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632747374; bh=IiAM2m2/7ytVZqGrz7ioH6Un4XpjBHnOSEsy1uXzwEI=; h=From:To:Cc:Subject:Date:From; b=MeBvCHXkyHup3hKMKpH9MFByVNzZhyaVyTamCXbwDDHnlqpnkBZc/1CyrGES+9BTA /NXdGZpPoIACTeL6e/PXQFdojraw6Cl4wjTGsyVFF6yan8TtAx+6Na5NRZykGVP99r +LfE89a4PBpd72jQOTuscLdq0k+oHgYqVAyo6dkLn/zZKvFAzMQsrziNy91nipW0GN Wfctaha/6C2gC12KbAk3lYqrjWU2Qee/BxFpGJR0sRTvTRe9c4jfldyUZPyFX7x97x OhOBbwUDa4pfJttyqXaOXSRZcPA/mxzkQxdVhLfkqsn4X3U+j1w9OrjeGDleq3aPqk zZoONpMvquzPw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJ2gv0pVfz6tmM; Mon, 27 Sep 2021 14:56:10 +0200 (CEST) References: <20210926085219.13547-1-felgru@posteo.net> <20210926174150.26146-2-felgru@posteo.net> <87fstr6ppg.fsf@yoctocell.xyz> <5239b8dc-39b8-3402-041e-1066da2220e8@posteo.net> <871r5a6vrb.fsf@yoctocell.xyz> From: Guillaume Le Vaillant To: Felix Gruber Subject: Re: [bug#50812] [PATCH v2 1/5] gnu: Add proj 7.2.1. Date: Mon, 27 Sep 2021 12:49:03 +0000 In-reply-to: <871r5a6vrb.fsf@yoctocell.xyz> Message-ID: <87pmsugot3.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Maxime Devos , Xinglu Chen , 50812@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > On Sun, Sep 26 2021, Felix Gruber wrote: >=20 >> * gnu/packages/geo.scm (proj.7): New variable. >> --- >> gnu/packages/geo.scm | 39 +++++++++++++++++++++++++++++++++++++++ >> 1 file changed, 39 insertions(+) Hi, Instead of adding a proj-7 package, wouldn't it be possible to update the proj package (which is currently at version 6.3.1). Also, according to [1], the current version of proj is 8.1.1. Can't the newer version be used instead of 7.2.1? [1] https://proj.org/download.html --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYVG/aA8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j+n6gEAn9V6E3WoWCct7ahm4th3VaX51/SafRBnr367 KPSS6gQA/0xGQg83eo5AKdiKooTdKBB5F/E+/AVmkJarEB/+4d1m =yBR1 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 28 02:26:37 2021 Received: (at 50812) by debbugs.gnu.org; 28 Sep 2021 06:26:37 +0000 Received: from localhost ([127.0.0.1]:43557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6ZZ-0008WG-1A for submit@debbugs.gnu.org; Tue, 28 Sep 2021 02:26:37 -0400 Received: from mout01.posteo.de ([185.67.36.65]:55437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6ZW-0008W0-B1 for 50812@debbugs.gnu.org; Tue, 28 Sep 2021 02:26:35 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 83E06240028 for <50812@debbugs.gnu.org>; Tue, 28 Sep 2021 08:26:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632810387; bh=thNP6FOIaJRhIM8IsJ7NdBu67598ulKsAyj/FaohJio=; h=Subject:To:Cc:From:Date:From; b=JJI1pGVp8PvsIEeBiYyc6rOjQN7nkoyoonQ3WTYHPlsYO/f5ZHoLQTcfCNnqQdrWf 4CzO/abfgjgHaAVnNhz76F2Q9CDkfY4tNLRG1tIcF6VF8B4Z5fxoYwJNKlCzuvUL8N dO4DBhnfuGCArkMUwEef9DliMh73P9v4sQYQKTC7+CLy5+WdiUyDsbI7HLaYy1UMqM GqR2S2srKVi4PdTzqbCwect5+xY46qg2ZijkpmpnJoAg/WCJOT/JRSNMpx+MhIyO4o mfQeMiP/tdwF3Gkb7tijKr832fvV/dqyyHmhVBOGmiICtSfFgxuWWFmpshs9IxlEU1 qudqmk8mFRdPg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJTzk068Hz6tm5; Tue, 28 Sep 2021 08:26:25 +0200 (CEST) Subject: Re: [bug#50812] [PATCH v2 1/5] gnu: Add proj 7.2.1. To: Guillaume Le Vaillant References: <20210926085219.13547-1-felgru@posteo.net> <20210926174150.26146-2-felgru@posteo.net> <87fstr6ppg.fsf@yoctocell.xyz> <5239b8dc-39b8-3402-041e-1066da2220e8@posteo.net> <871r5a6vrb.fsf@yoctocell.xyz> <87pmsugot3.fsf@kitej> From: Felix Gruber Message-ID: <1aecf757-cf8b-261c-1427-f54b3af9df76@posteo.net> Date: Tue, 28 Sep 2021 06:26:19 +0000 MIME-Version: 1.0 In-Reply-To: <87pmsugot3.fsf@kitej> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Maxime Devos , Xinglu Chen , 50812@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On 9/27/21 2:49 PM, Guillaume Le Vaillant wrote: > Hi, > > Instead of adding a proj-7 package, wouldn't it be possible to update > the proj package (which is currently at version 6.3.1). You're right, that works. I've updated the proj package to 7.2.1 and of the packages depending on proj (obtained with `guix refresh -l proj`) all but the following two build: python-hyperkitty and itk-snap. I've checked that those two packages already fail to build with proj 6.3.1 due to build failures in non-proj-related dependencies. It thus seems safe to update proj directly instead of adding a new proj-7 package. > Also, according to [1], the current version of proj is 8.1.1. Can't the > newer version be used instead of 7.2.1? > > [1] https://proj.org/download.html Updating to proj 8.1.1 unfortunately breaks many dependent packages as proj 8.0.1 removed the deprecated proj_api.h API which apparently is still widely used. [1] https://proj.org/news.html#id47 After updating proj to 8.1.1 the following dependencies failed to build: * `/gnu/store/004411fgpblva5gp33xc6l7ri93snsk3-vxl-2.0.2.drv' * `/gnu/store/1p04p9zk2n4p78izl77n4d3bm15pn7xj-qmapshack-1.15.2.drv' * `/gnu/store/3lvgc4vbrjck0q55sac038pm4r8674mp-itk-snap-3.8.0.drv' * `/gnu/store/49f67f3lxfsnpph9qaamwf5jw4dz02i4-saga-7.9.0.drv' * `/gnu/store/547lhnc9w46iwx6v6ysr0ij7jjmgd7d9-r-hierfstat-0.5-7.drv' * `/gnu/store/7rjgcsmrpaxgm80nsaka1hgabhk20iq2-r-rastervis-0.50.3.drv' * `/gnu/store/8r4d9gis8bxxh78b7v3di9w7jfbjp81g-r-zonebuilder-0.0.2.drv' * `/gnu/store/agv23snqvrdf92pk8rw3wfxp1vb4x9rr-r-tmaptools-3.1-1.drv' * `/gnu/store/b4y5li1ffq86zrp3vg2hadi5c8q5cip5-r-spectre-0.5.5-1.f6648ab.drv' * `/gnu/store/bmqqrl99c8srywankdsv75p8vmgs612i-postgis-3.1.2.drv' * `/gnu/store/cb3bspgrsi43c41f6n8gryycwdj6an1k-insight-toolkit-4.13.2.drv' * `/gnu/store/fxh3jwq1652vrns40vqn0j6jgn9096sv-r-rmetasim-3.1.14.drv' * `/gnu/store/hg69zwr6xjdf84y0gjmgldrmnhc6h63m-osm2pgsql-1.2.2.drv' * `/gnu/store/pxlq4xn2fj91zil2j8d225gwc27p16fp-r-zoon-0.6.5.drv' * `/gnu/store/r37iqmzgz00kpk3z93jqrigmjwsp9hv4-r-zonator-0.6.0.drv' * `/gnu/store/s8y7j2hhfb4bsifl15s8l5cixgh2ka1r-qgis-3.16.3.drv' * `/gnu/store/vl4ssl7zj6lxkp3dz0mnx3ncs1syihdm-insight-toolkit-5.0.0.drv' * `/gnu/store/x9qrim5fbpxcf66c9y99kjzrcf439fki-spatialite-gui-2.1.0-beta1.drv' * `/gnu/store/xhn1xr91q36x4skl7jkxawnz28qjcjcy-python-cartopy-0.19.0.post1.drv' * `/gnu/store/y1yyq3w87yn2mph3bmpq10208m0n637j-r-cicero-monocle3-1.3.2-1.fa2fb65.drv' * `/gnu/store/z1l6xjswk905pwb4ibwpl8z2yjjrf8vl-python-hyperkitty-1.3.3.drv' So for now, I propose to update proj to 7.2.1 which is the last version that still includes proj_api.h and which thus still lets us build all the packages that depend on proj. I'll send a v4 of the patchset with this change. Best, Felix From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 28 02:35:14 2021 Received: (at 50812) by debbugs.gnu.org; 28 Sep 2021 06:35:14 +0000 Received: from localhost ([127.0.0.1]:43562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6ht-0000Kk-W8 for submit@debbugs.gnu.org; Tue, 28 Sep 2021 02:35:14 -0400 Received: from mout02.posteo.de ([185.67.36.66]:39849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6hr-0000KN-7c for 50812@debbugs.gnu.org; Tue, 28 Sep 2021 02:35:12 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 1D6ED240105 for <50812@debbugs.gnu.org>; Tue, 28 Sep 2021 08:35:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632810905; bh=cmCKG8OCDcj7jYreEbPE6ea2Os7ebkxGGwI57ZMJGVM=; h=From:To:Cc:Subject:Date:From; b=n9o0IqyU7bZABhgy1mJ8hoJCrnibR18Sc3MvHfehIebosggfmRbOmZ1IjIoid9PYn 1uoTxYQrUxthhUDzFfbMgbx0HpZ/X1YqQFTwbha4AYL+w9+BeRqHavtg9jJVzjxZ9o RzY4YUUqfJqfL9jOVi5IsWoO38YPsiw3k+Y/SpruusuDtu0Jdv3ioz+uoL8202kL/R N4R/tobLspvG53SgB0bO4XlC3jScpOIPzHIaOw2gjxShMNDnU8o+5frYqqwGHA2eu+ f9tL3dKmfjkZGVSg2JymXT5QziyaIgNOH8x2vz7yPk4zasuMrXjX+1bZtTZ8zG1n7K IA8UTnJ7aPP1A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJV9g610Wz6tmH; Tue, 28 Sep 2021 08:35:03 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v4 0/5] Add python-geopandas Date: Tue, 28 Sep 2021 06:34:39 +0000 Message-Id: <20210928063444.466158-1-felgru@posteo.net> In-Reply-To: <20210926085219.13547-1-felgru@posteo.net> References: <20210926085219.13547-1-felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Guillaume Le Vaillant , Felix Gruber , Xinglu Chen , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This version of the patchset updates the proj package to 7.2.1 instead of adding a new proj.7 package. I've confirmed that all but two of the packages given by `guix refresh -l proj` still build. The two failing packages are python-hyperkitty and itk-snap which both already failed to build before the update of proj. There is a newer version 8.1.1 of proj, but that would break quite a lot of dependent packages as it does not contain the deprecated proj_api.h anymore. So for now proj 7.2.1 is the latest version of proj to which we can update. Felix Gruber (5): gnu: proj: Update to 7.2.1. gnu: Add python-pyproj. gnu: Add python-cligj. gnu: Add python-fiona. gnu: Add python-geopandas. gnu/packages/geo.scm | 167 +++++++++++++++++++++++++++++++++--- gnu/packages/python-xyz.scm | 26 ++++++ 2 files changed, 182 insertions(+), 11 deletions(-) -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 28 02:35:22 2021 Received: (at 50812) by debbugs.gnu.org; 28 Sep 2021 06:35:22 +0000 Received: from localhost ([127.0.0.1]:43566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6i2-0000LA-7g for submit@debbugs.gnu.org; Tue, 28 Sep 2021 02:35:22 -0400 Received: from mout01.posteo.de ([185.67.36.65]:45835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6hz-0000Kl-KQ for 50812@debbugs.gnu.org; Tue, 28 Sep 2021 02:35:20 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id C17EA240028 for <50812@debbugs.gnu.org>; Tue, 28 Sep 2021 08:35:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632810913; bh=ig8SXw2r88MfaE68tpnJOdVl7ygje13zji2dgXpICFU=; h=From:To:Cc:Subject:Date:From; b=hIXxJ8S7UPcaym+PVrmGt98esyb51vgOs0BhdHX7myl6Wxx1BHrRB9nbXHURF3kRJ 5+AxyADYrnZTDDp9Ex6ue+oYBCiXiAtVhysQ2gEXzJzJfmxX44CMi4gOT3OLVSxRJW 4/pVrm55yjTcy0zPD26yFur7MpNH8lJ3qOcNh41+0nh+5aRcnJyKgTBjG0uT+7xV6E DF6FabZGKyrQAAwDMgLjb3eReN+OuPJC7EnGsKEKi/ZGfQKWfm2kBEMicTMtAKsxo4 PvmGVPXhPPKq0/KZnPEWUhp40/IUJEplX7lvv3biO4Jj1/P14K+aofpgIffbDDffsu wlVWxqPD/yQEQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJV9r5zyJz6tmH; Tue, 28 Sep 2021 08:35:12 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v4 1/5] gnu: proj: Update to 7.2.1. Date: Tue, 28 Sep 2021 06:34:40 +0000 Message-Id: <20210928063444.466158-2-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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Guillaume Le Vaillant , Felix Gruber , Xinglu Chen , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/geo.scm (proj): Update to 7.2.1. [build-system]: Change to cmake-build-system. [arguments]: Add configure flag to find googletest. [inputs]: Add curl, libjpeg-turbo and libtiff. [native-inputs]: Add googletest. [description]: Consistently call the package Proj, instead of Proj, PROJ or proj. Use @acronym to define CRS. --- gnu/packages/geo.scm | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 9d4a1a8955..ec45601ef4 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -514,7 +514,7 @@ fully fledged Spatial SQL capabilities.") (define-public proj (package (name "proj") - (version "6.3.1") + (version "7.2.1") (source (origin (method url-fetch) @@ -522,22 +522,28 @@ fully fledged Spatial SQL capabilities.") version ".tar.gz")) (sha256 (base32 - "1y46ij32j9b4x1kjnnlykcwk3kkjwkg44sfc1ziwm3a3g0ki3q3d")))) - (build-system gnu-build-system) + "050apzdn0isxpsblys1shrl9ccli5vd32kgswlgx1imrbwpg915k")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags '("-DUSE_EXTERNAL_GTEST=ON"))) (inputs - `(("sqlite" ,sqlite))) + `(("curl" ,curl) + ("libjpeg-turbo" ,libjpeg-turbo) + ("libtiff" ,libtiff) + ("sqlite" ,sqlite))) (native-inputs - `(("pkg-config" ,pkg-config))) + `(("googletest" ,googletest) + ("pkg-config" ,pkg-config))) (home-page "https://proj.org/") (synopsis "Coordinate transformation software") (description "Proj is a generic coordinate transformation software that transforms -geospatial coordinates from one coordinate reference system (CRS) to another. -This includes cartographic projections as well as geodetic transformations. -PROJ includes command line applications for easy conversion of coordinates -from text files or directly from user input. In addition, proj also exposes -an application programming interface that lets developers use the -functionality of proj in their own software.") +geospatial coordinates from one @acronym{CRS, coordinate reference system} +to another. This includes cartographic projections as well as geodetic +transformations. Proj includes command line applications for easy +conversion of coordinates from text files or directly from user input. +In addition, Proj also exposes an application programming interface that +lets developers use the functionality of Proj in their own software.") (license (list license:expat ;; src/projections/patterson.cpp license:asl2.0 -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 28 02:35:26 2021 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 To: 50812@debbugs.gnu.org Subject: [PATCH v4 2/5] gnu: Add python-pyproj. 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Guillaume Le Vaillant , Felix Gruber , Xinglu Chen , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 28 02:35:31 2021 Received: (at 50812) by debbugs.gnu.org; 28 Sep 2021 06:35:31 +0000 Received: from localhost ([127.0.0.1]:43574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6iA-0000Ll-QG for submit@debbugs.gnu.org; Tue, 28 Sep 2021 02:35:31 -0400 Received: from mout01.posteo.de ([185.67.36.65]:35475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6i8-0000LK-4a for 50812@debbugs.gnu.org; Tue, 28 Sep 2021 02:35:28 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 8BFD3240029 for <50812@debbugs.gnu.org>; Tue, 28 Sep 2021 08:35:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632810922; bh=NYtraHlsmDx1nxjmk6GYv4pYZHMujP491yyJ5hBr53E=; h=From:To:Cc:Subject:Date:From; b=OaY9SdSMtsdGUVLmgl9HKq+2fqWtvv3evd5GzBeFLShl6q84pj/Gp4K5AsSXVfFl5 7+7JZjLv87vmXKMHxhmSEm1dWYnCAWcYfaRkJecutc/LRr3rEtksbmmeufES3R+XO5 Td74X8z2rLgz+kWFV3Lq4g/EIYSzcvajmPd4GDxsb0JtCdJqMDJdFepyL/RzbLmy4k GUcSW9tWb+ydE4mWi5JGdzpdlgJ9tnmTuVMKHCXE+10hiQuDB5oyPnvrLNwUXv6qaP qR8vToUo8t/OPw6fc+B/BMVg1wtU9f15GgfdUTp4aH2wUnLJj0ZbVneT3CMUhuBrGe qIOmCjmytdEjw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJVB16T6gz6tm5; Tue, 28 Sep 2021 08:35:21 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v4 3/5] gnu: Add python-cligj. Date: Tue, 28 Sep 2021 06:34:42 +0000 Message-Id: <20210928063444.466158-4-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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Guillaume Le Vaillant , Felix Gruber , Xinglu Chen , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/python-xyz.scm (python-cligj): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 86b1cdc2b1..91740cd0f4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -108,6 +108,7 @@ ;;; Copyright © 2021 Simon Streit ;;; Copyright © 2021 Daniel Meißner ;;; Copyright © 2021 Pradana Aumars +;;; Copyright © 2021 Felix Gruber ;;; ;;; This file is part of GNU Guix. ;;; @@ -3308,6 +3309,31 @@ with sensible defaults out of the box.") (base32 "0njsm0wn31l21bi118g5825ma5sa3rwn7v2x4wjd7yiiahkri337")))) (arguments `()))) +(define-public python-cligj + (package + (name "python-cligj") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cligj" version)) + (sha256 + (base32 + "09vbkik6kyn6yrqzl2r74vaybjk8kjykvi975hy3fsrm4gb17g54")))) + (build-system python-build-system) + (propagated-inputs + `(("python-click" ,python-click))) + (native-inputs + `(("python-pytest-cov" ,python-pytest-cov))) + (home-page "https://github.com/mapbox/cligj") + (synopsis + "Click params for commmand line interfaces to GeoJSON") + (description + "cligj is for Python developers who create command line interfaces +for geospatial data. cligj allows you to quickly build consistent, +well-tested and interoperable CLIs for handling GeoJSON.") + (license license:bsd-3))) + (define-public python-vcversioner (package (name "python-vcversioner") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 28 02:35:37 2021 Received: (at 50812) by debbugs.gnu.org; 28 Sep 2021 06:35:37 +0000 Received: from localhost ([127.0.0.1]:43580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6iH-0000MA-2J for submit@debbugs.gnu.org; Tue, 28 Sep 2021 02:35:37 -0400 Received: from mout01.posteo.de ([185.67.36.65]:39635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6iB-0000LU-P5 for 50812@debbugs.gnu.org; Tue, 28 Sep 2021 02:35:32 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 34B05240027 for <50812@debbugs.gnu.org>; Tue, 28 Sep 2021 08:35:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632810926; bh=gQCp+IL2sHvcBEd7oYoBRvPuywnsjMxG7+FQuj/R3DM=; h=From:To:Cc:Subject:Date:From; b=mchUMt4lYXs+ESjWfcEjh+/UIte9IXcaoIzW0Xg5ASDOk3r4nxfVTUJKx1wzcW8o4 dlUBvMywDnykwEpjuykNjFq90/1WMtQVMQzuAVDdkCtVzle2ZF1tBhTS13mYfXPeEB wXwci6mDWl1TxcE5CUcQi39czjCgxLCdqFGfXfLBIrSaRP6EjMgyBfkZJMe4fsuZ3l NJdMlJjVGfe43LsNMgwk/teEoZMUc4ahY5bp6inDA+RIU2QYfL1Zjz8WPjx1iLZ2Ho tKdcgNnk4foQ7jJrxqQ7GRUF7j4ZjvElaR+McqSmfrYwSWkXwTKZLHCPfTM17Ix8MB AU7aRauRw1kLA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJVB53X4mz9rxL; Tue, 28 Sep 2021 08:35:25 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v4 4/5] gnu: Add python-fiona. Date: Tue, 28 Sep 2021 06:34:43 +0000 Message-Id: <20210928063444.466158-5-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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Guillaume Le Vaillant , Felix Gruber , Xinglu Chen , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * 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 6fdf71c4e3..4329ee118e 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -641,6 +641,63 @@ projections.") projections and coordinate transformations library.") (license license:expat))) +(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 "https://github.com/Toblerity/Fiona") + (synopsis + "Fiona reads and writes spatial data files") + (description + "Fiona is GDAL’s neat and nimble vector API for Python programmers. +Fiona is designed to be simple and dependable. It focuses on reading +and 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 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") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 28 02:35:37 2021 Received: (at 50812) by debbugs.gnu.org; 28 Sep 2021 06:35:38 +0000 Received: from localhost ([127.0.0.1]:43582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6iH-0000MD-BS for submit@debbugs.gnu.org; Tue, 28 Sep 2021 02:35:37 -0400 Received: from mout02.posteo.de ([185.67.36.66]:52261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mV6iF-0000Lj-Ie for 50812@debbugs.gnu.org; Tue, 28 Sep 2021 02:35:35 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id DEC46240107 for <50812@debbugs.gnu.org>; Tue, 28 Sep 2021 08:35:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632810929; bh=7fie50/AH8eRE4fwzr6ZuYmlnAZ40vBdHrh51WT7Giw=; h=From:To:Cc:Subject:Date:From; b=W8/0E5NWdAFUFWYKXVItMWtZD6EL2Sq4we1DzuJFRVgDy79M5ff6E6e0Spee3y3/y TbAMO/rU6OHXmv3Tg9qGn67Ztwk+Y4cGGXiUEm8JyjU2kaDDvbZU/NJ/Dz3k/CymUq /JkmOCNU/CInoukeWPlVJJwF8OwX7YlYX+e6yHmVg1USTUaOc+BnmNfM+SxnOXwDbi 43/QZSydEwkaYKPqLov+WQci+lIFuUBcdj/gxbRM+URL+f1fls9wdR0MHvzoBE142x aJn+QPp1eO/R531Es5ScFCntOABrDM81EucylqYUiu20I1SKeRelK+LgzbZjFNln4+ AFpeAt7Lu8aTw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJVB86wGjz9rxD; Tue, 28 Sep 2021 08:35:28 +0200 (CEST) From: Felix Gruber To: 50812@debbugs.gnu.org Subject: [PATCH v4 5/5] gnu: Add python-geopandas. Date: Tue, 28 Sep 2021 06:34:44 +0000 Message-Id: <20210928063444.466158-6-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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812 Cc: Guillaume Le Vaillant , Felix Gruber , Xinglu Chen , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/geo.scm (python-geopandas): 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 4329ee118e..329ba0a9f9 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -698,6 +698,47 @@ systems and integrates readily with other Python GIS packages such as pyproj, Rtree, and Shapely.") (license license:bsd-3))) +(define-public python-geopandas + (package + (name "python-geopandas") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "geopandas" version)) + (sha256 + (base32 + "02k389zyyjv51gd09c92vlr83sv46awdq0066jgh5i24vjs2m5v3")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" + ; Disable test that fails with + ; NotImplementedError in pandas. + "-k" "not test_fillna_no_op_returns_copy" + ; Disable tests that require internet access. + "-m" "not web"))))))) + (propagated-inputs + `(("python-fiona" ,python-fiona) + ("python-pandas" ,python-pandas) + ("python-pyproj" ,python-pyproj) + ("python-shapely" ,python-shapely))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "http://geopandas.org") + (synopsis "Geographic pandas extensions") + (description "The goal of GeoPandas is to make working with +geospatial data in Python easier. It combines the capabilities of +Pandas and Shapely, providing geospatial operations in Pandas and a +high-level interface to multiple geometries to Shapely. GeoPandas +enables you to easily do operations in Python that would otherwise +require a spatial database such as PostGIS.") + (license license:bsd-3))) + (define-public mapnik (package (name "mapnik") -- 2.30.2 From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 12 12:13:25 2021 Received: (at 50812-done) by debbugs.gnu.org; 12 Oct 2021 16:13:25 +0000 Received: from localhost ([127.0.0.1]:50428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maKP7-0003EC-1r for submit@debbugs.gnu.org; Tue, 12 Oct 2021 12:13:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maKP5-0003Dy-Cn for 50812-done@debbugs.gnu.org; Tue, 12 Oct 2021 12:13:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46958) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maKOx-0000wE-QC; Tue, 12 Oct 2021 12:13:15 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=50956 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maKOv-00017H-Sv; Tue, 12 Oct 2021 12:13:15 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Felix Gruber Subject: Re: bug#50812: [PATCH 0/5] Add python-geopandas References: <20210926085219.13547-1-felgru@posteo.net> <20210928063444.466158-1-felgru@posteo.net> Date: Tue, 12 Oct 2021 18:13:11 +0200 In-Reply-To: <20210928063444.466158-1-felgru@posteo.net> (Felix Gruber's message of "Tue, 28 Sep 2021 06:34:39 +0000") Message-ID: <87pmsate5k.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50812-done Cc: Guillaume Le Vaillant , 50812-done@debbugs.gnu.org, Xinglu Chen , Maxime Devos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Felix Gruber skribis: > This version of the patchset updates the proj package to 7.2.1 instead > of adding a new proj.7 package. I've confirmed that all but two of the > packages given by `guix refresh -l proj` still build. The two failing > packages are python-hyperkitty and itk-snap which both already failed to > build before the update of proj. > > There is a newer version 8.1.1 of proj, but that would break quite a lot > of dependent packages as it does not contain the deprecated proj_api.h > anymore. So for now proj 7.2.1 is the latest version of proj to which we > can update. Sounds good. > Felix Gruber (5): > gnu: proj: Update to 7.2.1. > gnu: Add python-pyproj. > gnu: Add python-cligj. > gnu: Add python-fiona. > gnu: Add python-geopandas. Applied, thanks! Ludo=E2=80=99. From unknown Sat Jun 14 18:38:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 10 Nov 2021 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator