From patchwork Sun Sep 26 08:57:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Gruber X-Patchwork-Id: 33302 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C33B627BBE3; Sun, 26 Sep 2021 09:59:50 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8B9D527BBE1 for ; Sun, 26 Sep 2021 09:59:50 +0100 (BST) Received: from localhost ([::1]:38940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUQ0j-0002zw-KX for patchwork@mira.cbaines.net; Sun, 26 Sep 2021 04:59:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUPzz-0002Ey-NZ for guix-patches@gnu.org; Sun, 26 Sep 2021 04:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUPzz-0004hP-F7 for guix-patches@gnu.org; Sun, 26 Sep 2021 04:59:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUPzz-0002aa-Ef for guix-patches@gnu.org; Sun, 26 Sep 2021 04:59:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50812] [PATCH 5/5] gnu: Add python-geopandas. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Sep 2021 08:59:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50812 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50812@debbugs.gnu.org Cc: Felix Gruber X-Debbugs-Original-To: 50812@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16326467239896 (code B ref -1); Sun, 26 Sep 2021 08:59:03 +0000 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 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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")