From patchwork Thu Feb 13 09:38:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lars Bilke X-Patchwork-Id: 38534 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 2F75227BBEA; Thu, 13 Feb 2025 09:40:42 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED,URIBL_SBL_A autolearn=ham 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 CB4CD27BBE2 for ; Thu, 13 Feb 2025 09:40:41 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tiVhs-0000qS-Gr; Thu, 13 Feb 2025 04:40:30 -0500 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 1tiVhk-0000or-LR for guix-patches@gnu.org; Thu, 13 Feb 2025 04:40:20 -0500 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 1tiVhk-0002pL-8R for guix-patches@gnu.org; Thu, 13 Feb 2025 04:40:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-reply-to:From:Date:MIME-version:To:Subject; bh=x6MNEQyU7eE6lUUJPeOf4rThvied9p5YbNMFOnX6yiw=; b=lF5pfFmyNp+A7lE7W+MwppG0AaQnjySCdOSlQKIABlyykKBv0Rc6RTLDCUtbnkr/OuaVSY34bftZJxpQiDbz5OJXc0An/L2T3Tn0yWI3aB81F426AeS/IpCiJkJ2UcvR4uGIlymoAh+o47rWWWnWH8zDMqUwxF1WJmzJwuylVwNh5dgSMS3P4BpVXvc19xHWy59TtJgrJt4RbqsSzXXXVMXy6X+LqT2lC4SeKEBG1RnL5ruJNiAZ7NYNEU33PCh0LUXsfEPNQZR+KYS6X9OGu2BGKtV+pLHaAMUpEHrKHBN7v3nU5bRylLD86vI8XZskLvXUhiog/5B4sbbz92tnIQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tiVhi-0003Cg-Ed; Thu, 13 Feb 2025 04:40:18 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76259] [PATCH 3/3] gnu: Add python-pandamesh. Resent-From: Lars Bilke Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Thu, 13 Feb 2025 09:40:17 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76259 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76259@debbugs.gnu.org Cc: Lars Bilke , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 76259-submit@debbugs.gnu.org id=B76259.173943958312074 (code B ref 76259); Thu, 13 Feb 2025 09:40:17 +0000 Received: (at 76259) by debbugs.gnu.org; 13 Feb 2025 09:39:43 +0000 Received: from localhost ([127.0.0.1]:40458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiVh4-00038P-TH for submit@debbugs.gnu.org; Thu, 13 Feb 2025 04:39:42 -0500 Received: from mailgate5.ufz.de ([141.65.7.212]:33140 helo=mailgate.ufz.de) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tiVgs-00037v-Qu for 76259@debbugs.gnu.org; Thu, 13 Feb 2025 04:39:29 -0500 Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135]) by mailgate.ufz.de (Mailgate5-UFZ) with ESMTP id C15B216036C for <76259@debbugs.gnu.org>; Thu, 13 Feb 2025 10:39:25 +0100 (CET) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: TEXT/PLAIN Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit (built Feb 27 2020)) id <0SRM00J006HN7O00@imap.intranet.ufz.de> for 76259@debbugs.gnu.org; Thu, 13 Feb 2025 10:39:25 +0100 (CET) Received: from smtp2.ufz.de ([141.65.7.217]) by imap.intranet.ufz.de (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit (built Feb 27 2020)) with ESMTPS id <0SRM00GFY85PPQD0@imap.intranet.ufz.de> for 76259@debbugs.gnu.org; Thu, 13 Feb 2025 10:39:25 +0100 (CET) Received: from envinf4.minotaur-alpha.ts.net (unknown [141.65.34.85]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp2.ufz.de (smtp2-UFZ) with ESMTPSA id 93272E0052; Thu, 13 Feb 2025 10:39:25 +0100 (CET) Date: Thu, 13 Feb 2025 10:38:43 +0100 From: Lars Bilke In-reply-to: Message-id: <048a91bda30167d10ed31643fcf0ee6bfc96a1d1.1739439090.git.lars.bilke@ufz.de> X-Mailer: git-send-email 2.46.1 References: 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-pandamesh): New variable. Change-Id: I084c772f859cde3be4d4b611cba6b5420067bbe8 --- gnu/packages/geo.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index d7cef57cde..0070b8a3c1 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -1091,6 +1091,41 @@ (define-public python-geopandas require a spatial database such as PostGIS.") (license license:bsd-3))) +(define-public python-pandamesh + (package + (name "python-pandamesh") + (version "0.2.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Deltares/pandamesh") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gnrxw8zxcdkkqzw08lrmnz946bp507r9zn1djhaxxqjs09yzmqp")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; tests requiring network disabled + (invoke "pytest" "-v" "--ignore=tests/test_data.py"))))))) + (propagated-inputs (list gmsh + python-geopandas + python-matplotlib + python-pooch + python-shapely + python-triangle + python-xarray)) + (native-inputs (list python-hatchling python-pytest)) + (home-page "https://deltares.github.io/pandamesh/") + (synopsis "From geodataframe to mesh") + (description "From geodataframe to mesh.") + (license license:expat))) + (define-public python-overpass (package (name "python-overpass")