From patchwork Thu Apr 11 09:44:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 62927 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 CBEF927BBE9; Thu, 11 Apr 2024 10:46:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 172E627BBE2 for ; Thu, 11 Apr 2024 10:46:09 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rur0Q-0006Eg-Ns; Thu, 11 Apr 2024 05:46:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rur0E-0006EH-6I for guix-patches@gnu.org; Thu, 11 Apr 2024 05:45:55 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rur0D-0002no-0w for guix-patches@gnu.org; Thu, 11 Apr 2024 05:45:53 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rur0L-0004By-Sy for guix-patches@gnu.org; Thu, 11 Apr 2024 05:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70337] [PATCH] gnu: Add python-verde. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Apr 2024 09:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70337 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70337@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171282873715970 (code B ref -1); Thu, 11 Apr 2024 09:46:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Apr 2024 09:45:37 +0000 Received: from localhost ([127.0.0.1]:54977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruqzx-00049W-87 for submit@debbugs.gnu.org; Thu, 11 Apr 2024 05:45:37 -0400 Received: from lists.gnu.org ([2001:470:142::17]:50658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruqzt-00048D-Lx for submit@debbugs.gnu.org; Thu, 11 Apr 2024 05:45:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ruqzd-0005yj-7b for guix-patches@gnu.org; Thu, 11 Apr 2024 05:45:17 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ruqzb-0002fp-An for guix-patches@gnu.org; Thu, 11 Apr 2024 05:45:17 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6122E240103 for ; Thu, 11 Apr 2024 11:45:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1712828712; bh=Alnsn5Uk65E/OaaMWLLMF9jyD9gbKCQoUBRhbaPQJQo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=r9jrVTyMwhG01gCSzD7uravr4Tab6Ve22vv8X8htHhycp8W50MZ4W3CmDEMmoNxgd ClH8CkvQt+lQhpFTwdrYbvxQHLAdopVxgSsve0VBrtehTalscMnOfUGBIRbSfyIwty KXzIsAlHbwj0+/8mbArVRqxILmFdHgfcEroI4MRjMr0ktgHviW1phsgupPbbgMdtUG b3FjGr0O+qLxpUmAci2Fp12BLxCdY7nsUUwEV5x3MgQR7P5kGBvEcXokITWIjI/kQm aKO7JGj9nCdDoFRE2L6rdLaKBIGx5ZoOb1DQe0WbuL0hQFkLY1Vs86xsillW/PpJob VAmYMEFDDIhUA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VFZYg0Pqpz9rxK; Thu, 11 Apr 2024 11:45:10 +0200 (CEST) From: Vinicius Monego Date: Thu, 11 Apr 2024 09:44:45 +0000 Message-Id: <94a4aafd7c7b303d7a9591ca2fd10f495caa60ee.1712828591.git.monego@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@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_H4=0.001, RCVD_IN_MSPIKE_WL=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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/geo.scm (python-verde): New variable. Change-Id: I0d176a05a993b19224d22489dd3a8eca19e4f2e0 --- gnu/packages/geo.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) base-commit: 51de844a0ff6ea224367a384092896bce6848b9f diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index c30f28d96f..985fa77231 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -105,6 +105,7 @@ (define-module (gnu packages geo) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages lua) + #:use-module (gnu packages machine-learning) #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) #:use-module (gnu packages pcre) @@ -1388,6 +1389,42 @@ (define-public python-pyshp "The Python Shapefile Library (PyShp) reads and writes ESRI Shapefiles.") (license license:expat))) +(define-public python-verde + (package + (name "python-verde") + (version "1.8.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "verde" version)) + (sha256 + (base32 "1hnh91dsk2dxfbk7p2hv3hajaa396139pd6apabgdrp5b7s54k97")))) + (build-system pyproject-build-system) + (arguments + ;; Tests below fetch data remotely. + (list #:test-flags #~(list "-k" (string-append + "not test_minimal_integration_2d_gps" + " and not test_datasets_locate" + " and not test_fetch_texas_wind" + " and not test_fetch_baja_bathymetry" + " and not test_fetch_rio_magnetic" + " and not test_fetch_california_gps")))) + (native-inputs (list python-cartopy python-distributed)) + (propagated-inputs (list python-dask + python-numpy + python-pandas + python-pooch + python-scikit-learn + python-scipy + python-xarray)) + (home-page "https://github.com/fatiando/verde") + (synopsis "Processing and gridding spatial data, machine-learning style") + (description + "Verde is a Python library for processing spatial data (topography, point +clouds, bathymetry, geophysics surveys, etc) and interpolating them on a 2D +surface (i.e., gridding) with a hint of machine learning.") + (license license:bsd-3))) + (define-public python-cartopy (package (name "python-cartopy")