From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2N01Mvy3UmEXIQAAgWs5BA (envelope-from ) for ; Tue, 28 Sep 2021 08:36:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UOfgLfy3UmG1RgAAB5/wlQ (envelope-from ) for ; Tue, 28 Sep 2021 06:36:44 +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 9271E2BD0E for ; Tue, 28 Sep 2021 08:36:44 +0200 (CEST) Received: from localhost ([::1]:52302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mV6jL-0004UJ-Pk for larch@yhetil.org; Tue, 28 Sep 2021 02:36:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mV6ii-0003V2-PP for guix-patches@gnu.org; Tue, 28 Sep 2021 02:36:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60275) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mV6ii-0007lf-GO for guix-patches@gnu.org; Tue, 28 Sep 2021 02:36:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mV6ii-0000Ne-Dt for guix-patches@gnu.org; Tue, 28 Sep 2021 02:36:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50812] [PATCH v4 5/5] gnu: Add python-geopandas. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Sep 2021 06:36:04 +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: Guillaume Le Vaillant , Felix Gruber , Xinglu Chen , Maxime Devos Received: via spool by 50812-submit@debbugs.gnu.org id=B50812.16328109381386 (code B ref 50812); Tue, 28 Sep 2021 06:36:04 +0000 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 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-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=1632811004; 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=wb3UVT3DSLkQVrD80xw7qH/LFRCTy2epPiIQR1iGn04=; b=rH1K13aSsI8088tQJ+U7kiEopTiCbxUMYR6LtHDyTghA7pdEhtyzUE68q2fKBx4GGcIEcM qZcrAsgzckIGSx5oZqMAfbhPTGavSkACGauvno3frAiQx+J/EiZNqwOS4x6yd4abicHRQT y8M1R1Y8DT3ZKKGTpdSr+WMHTBwNWbjQuxWUxAzkSm+ixZhatyIs/CGebDiLLQX34ZEyOX sehYz7vjk5aJVSRD04jaiFyQn1JeHJP5pz1Z1ErU3LL+lUI6tIdAnlEYTkHM/6MLN2MdTR ko8HqJ4yE9mpGw8zsMkuWiqXS6YFktdarksk8wg3v4vhbMgmTScseXqAz7l0Tw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632811004; a=rsa-sha256; cv=none; b=qaHPgQQ3MIl3/uZ3y/0DWazyDe3CBz7yjRrEFxVx0iCtIwSWrwpgPmEDppDq6+xSzJ3z8v WWMcG+xTqNFOk/j3cYQNr4tdXGp11Sol9FrVJf+Xu7U4BZc+ktyF9jFuBiuzJRrEkoK30l ais0r23qpekRxByTWnPYdcX2P/m15iHgbOHmA3qt/siljmm2KzDxZeq2enpHjRmDMX5Yx5 Cj7jYcZdMujTwXxuO9gGRzDynmpqPALqB7LePCaboEZu8d+0jjfMXoQhAXbVmM8tL3h+zy BNeO4VYcVOtz9vNjmb/E0cPLc5TUYfdvjdepe+/UBz78E1GlYWfkdF05nn+CVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="W8/0E5NW"; 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: 3.11 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="W8/0E5NW"; 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: 9271E2BD0E X-Spam-Score: 3.11 X-Migadu-Scanner: scn1.migadu.com X-TUID: oByBC613qkpH * 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