From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mJLxBrndUGFfDgEAgWs5BA (envelope-from ) for ; Sun, 26 Sep 2021 22:53:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QUVzArndUGHUAgAAbx9fmQ (envelope-from ) for ; Sun, 26 Sep 2021 20:53:13 +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 90A0330323 for ; Sun, 26 Sep 2021 22:53:12 +0200 (CEST) Received: from localhost ([::1]:36826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUb95-0004ka-OD for larch@yhetil.org; Sun, 26 Sep 2021 16:53:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUb8w-0004kM-Ne for guix-patches@gnu.org; Sun, 26 Sep 2021 16:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55547) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUb8w-0001n5-GA for guix-patches@gnu.org; Sun, 26 Sep 2021 16:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUb8w-0000gQ-Aq for guix-patches@gnu.org; Sun, 26 Sep 2021 16:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50812] [PATCH v2 5/5] gnu: Add python-geopandas. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Sep 2021 20:53: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: Felix Gruber , 50812@debbugs.gnu.org Cc: Felix Gruber , Maxime Devos Received: via spool by 50812-submit@debbugs.gnu.org id=B50812.16326895232562 (code B ref 50812); Sun, 26 Sep 2021 20:53:02 +0000 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= 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-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=1632689592; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=vAPhm/b2E/g4dajVdMUaFWD5hkJ13PzbYl1+1TfMrMw=; b=YRJ2hwvSAzGItcGcNkJZ75EbBbssb3TOnjM+Trn2uM5CnJkqkdb1wHLJxEev+RbRGe70Ub EyitEicLnX7CFMIIOYxJLjGU2s4rL9sPyJRSTT5jbptezaMGUbrFJhRQ2geXGKaTzcOe+2 HdppkxYsfE45k3/C8P00ZLw1oQBSZTdTOWcn0mwlC9n2lwvLk1csfRq4Gb5uCfrmv1zXHo EUZWmKYU2ewnNZMZ836yBIHyCXDBp/H7kOCMcrPJuQlkDCSnDROS1x8vUwW2zdBqIxu7wj xt20FNecFxM2aROV6L72/4fNfkLNJqr5ZnpC5buw0ezuYvhY41xOu36GvGVDiA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632689592; a=rsa-sha256; cv=none; b=pT0fxXoyTplNvOaDmPo3bFsd5d98JdN9iprcp9Lv1yvLn3f0/aLsGrkDbTDFLqTPcX0SKi GoRV5yK5hS9lQTY/peSiiDyEkXy0hLzfRaJET4TZlYF34C4hpHv0/ZH6Zli7smEfQceFuQ mOmAExlrhB8ScCPLK1FWTOcmLnSWwU8FH5gOKLdJy27JB6b8Ml11IXrqk5jp2UB5cTXCdJ 2pf5/cGZnhTjomfC+ow0xyEhdGeQgyHW+hVFeO26Cm9xFDxc6WbRkrpWToStvvKzhyhXSC /9KZWGlIniGkxtDsqE/0Y8Oyh/SHyoXtuRO0Dvhz/UBYHO/70nNzqCrW6gJT3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=Gi6t2ZUM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=Gi6t2ZUM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: 90A0330323 X-Spam-Score: -3.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8r4Ghjurlpjp --=-=-= 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----- --=-=-=--