From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id HsIWCPY5UGFxegEAgWs5BA (envelope-from ) for ; Sun, 26 Sep 2021 11:14:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CD4bA/Y5UGGaRAAAB5/wlQ (envelope-from ) for ; Sun, 26 Sep 2021 09:14:30 +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 5AA3F2A212 for ; Sun, 26 Sep 2021 11:14:29 +0200 (CEST) Received: from localhost ([::1]:40198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUQEn-0006vM-1R for larch@yhetil.org; Sun, 26 Sep 2021 05:14:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUQ01-0002Nn-Oh for guix-patches@gnu.org; Sun, 26 Sep 2021 04:59:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUQ01-0004kP-Gq for guix-patches@gnu.org; Sun, 26 Sep 2021 04:59:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUQ01-0002bB-Fa for guix-patches@gnu.org; Sun, 26 Sep 2021 04:59:05 -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:05 +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 50812-submit@debbugs.gnu.org id=B50812.16326467229883 (code B ref 50812); Sun, 26 Sep 2021 08:59:05 +0000 Received: (at 50812) by debbugs.gnu.org; 26 Sep 2021 08:58:42 +0000 Received: from localhost ([127.0.0.1]:35811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPze-0002ZJ-E3 for submit@debbugs.gnu.org; Sun, 26 Sep 2021 04:58:42 -0400 Received: from mout01.posteo.de ([185.67.36.65]:60633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUPza-0002Ye-Ne for 50812@debbugs.gnu.org; Sun, 26 Sep 2021 04:58:39 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 16C04240028 for <50812@debbugs.gnu.org>; 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 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=1632647669; 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=DW7MPoUk5gsrqvyVtIfVufy/aocTZYp8AgDleNuSqik=; b=T2eDpU18JSIl6Lep/giFC6gCjSu8XkiHgDz8S1Df5+9EOBD4aIvYrgGUEwz1Uwvo7khFMJ rnJfqX5Q1O1L7e6B1QlomVa09r1GeyQqQ80PcBkfNUx0a9e+5cRzfQD2wlefvG2YZTOU5Z 9b2wv6BM3rV7GEibkDuGGTaXwqkzhjO4dD1n2ZDj19NjYhJ5PHc3KmoKZnIU79YrLmeMT8 leP687Eo8sY6DKkPi3vX7/sMBDd4kl9U08mdFw+EoI8xGROcxip8LbmWB+PQezAueH9Uga uVA/fXeiL79pM06IfnnlNemCkxkFplHXTgpb8cGoLojHygj3bAG+p94KCPUh1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632647669; a=rsa-sha256; cv=none; b=K2QaakiYiknD5A1hBIgp8QGYlNAPz+bOjFkQA5kJtAK/9C3QAOONY7eTPttsrfhQ+Y0jgc AJacJeZdEA8YXz5bl+qoq0MDMbTov9kfFPUWt7Pxk3ZcY26y/x/TU8adSewUUek6YYlTbp yMfv3EOKlWpdOks7WmdPwm1lczCG1XMir9AHDpSPTWmVnlE/QyuQWZG8XVbd0IC/s+kP7Y HoAj+kSrD9MqhhjFZfNvnNXNT4EyOd0Y8l6UJ9n67b1X/tgfB0r8dgv3yqhH9Cr+3VCp9+ W0yAAHc1ol5TCK8zvKyVOHnO9PGSBvm0Sv3ILdVRrMqQ1lPbGuVJ96GEpF3QEw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=CHfCisB8; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 5.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=CHfCisB8; 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: 5AA3F2A212 X-Spam-Score: 5.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: uZxtfeKucqm6 * 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