From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uO3rGHOxUGHZzAAAgWs5BA (envelope-from ) for ; Sun, 26 Sep 2021 19:44:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id vpCDFHOxUGFMAgAAbx9fmQ (envelope-from ) for ; Sun, 26 Sep 2021 17:44:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2F14D2FB57 for ; Sun, 26 Sep 2021 19:44:19 +0200 (CEST) Received: from localhost ([::1]:47158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUYCI-00067C-91 for larch@yhetil.org; Sun, 26 Sep 2021 13:44:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUYC2-00066V-VW for guix-patches@gnu.org; Sun, 26 Sep 2021 13:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55386) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUYC2-0004hB-OZ for guix-patches@gnu.org; Sun, 26 Sep 2021 13:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUYC2-0000GE-NJ for guix-patches@gnu.org; Sun, 26 Sep 2021 13:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50812] [PATCH v2 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 17:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50812 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50812@debbugs.gnu.org Cc: Felix Gruber , Maxime Devos Received: via spool by 50812-submit@debbugs.gnu.org id=B50812.1632678193921 (code B ref 50812); Sun, 26 Sep 2021 17:44:02 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632678259; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=IjuhAdXdJM1hSI0f7Dc5XnYUQHiuF55YT4kciaTezTE=; b=E9ClWAtsL8pe+el944R+cO3FGIfOAKfuT5GAdLGANPXN0jhHw9anqkOO5LP57d3lp7Tuu4 1DtKRr6CJ72mGJyLPYRuQgT8up+fQN02v0wummN8+i5IM0fVRZ8scnD+zmGUdNtBe/kFg+ iI6rJlpO72E1bHzjsItEum2mmMTNvKeYM3W4z2/SZuaGhSkmO+nXPB/eMaB38DVHidEu7A QYTbC10WSJ7tH3QSxT29gpdfKREkpaRsLSZ9krZ/RMRqa8n5pdvpJyyMnROZWHubOKXdiB 4kUue9+reObZm2CshVglXLMFsYuBnb8+EvD8xEeeR3KuNrZ6GIKK3yUx5FyG2g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632678259; a=rsa-sha256; cv=none; b=RusFBRvtPB2VTfsbJNit1CmCQleH5ocsdD2t+5D5N+eLtW2kKtQ+Qpv9WdKpkzvJjI2I3b ELsSm+Qi8L86KEjOeLN7+I0WIsQasCexZiYiNFeHBL53LI6Q8Z3rfgnOxHk3JM1GAwBjYq 4LgG4Uo2dwzoTP3GSF+oqLewUadrih3hLGR4Getko6wpFOXwGlc/WWjnOuDCbm5BMNfaoU JPtoi52BpfQFiJOCB5Mw4Kn0wWbMdXUHrf+CoSFO8lhBtSxkOIxA7AsN7T5o547g+ZxSR/ Dh6JYuD4QZys1kVU4X+hoXPCR6x1MWRpSBEsgLmfeI2S7JX5eOqv0eBil4MMAg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=pbOb2N8U; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=pbOb2N8U; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 2F14D2FB57 X-Spam-Score: 3.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: lnpi3My/JH5s * 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