From patchwork Thu Feb 13 09:38:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lars Bilke X-Patchwork-Id: 38536 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 B4EC727BBE9; Thu, 13 Feb 2025 09:40:49 +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.6 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 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 528F427BBE2 for ; Thu, 13 Feb 2025 09:40:49 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tiVhv-0000tA-ND; Thu, 13 Feb 2025 04:40:31 -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 1tiVho-0000qF-Fj for guix-patches@gnu.org; Thu, 13 Feb 2025 04:40:26 -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 1tiVho-0002pt-1u; Thu, 13 Feb 2025 04:40:24 -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=10atGdugFVWkgE4MXTa+syFfLxQvp2Cx8sKJi/PfO2o=; b=ClObVp5DUvWipiHhJB0TXcIBNBwjIqB9TKHIiYAA93ztaf0fwVdDPCypGbUC+A/SV3o6t7cHaXjjfZr+MZKkw9d8OstaY4OIuLANO2jNX71p9UDV0AOP9QnE0bH8Sx+BUjID3OK5chbADxqDONkHVdCCVLZuh8TTslsguG5zIfmouBPN8V3NG5BwvtKpVeEodtXQ6NF8Q33MSYls5igYtuBRb70cHT7xc7vKeFR+FRrayDxov+zkr9XzgTz5bcbQHAca1iJzVbcTfE/x/SZ6Lh1UrbDummKjIgGwhy4cUzf+u6XY75OdYrsqzlfqV6Bk+uf7A/39WiSMNgAKWSQ19A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tiVhd-0003BS-2e; Thu, 13 Feb 2025 04:40:13 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76259] [PATCH 2/3] gnu: Add python-triangle. Resent-From: Lars Bilke Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Thu, 13 Feb 2025 09:40:12 +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 , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 76259-submit@debbugs.gnu.org id=B76259.173943957912056 (code B ref 76259); Thu, 13 Feb 2025 09:40:12 +0000 Received: (at 76259) by debbugs.gnu.org; 13 Feb 2025 09:39:39 +0000 Received: from localhost ([127.0.0.1]:40456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiVh1-00038J-5f for submit@debbugs.gnu.org; Thu, 13 Feb 2025 04:39:38 -0500 Received: from mailgate5.ufz.de ([141.65.7.212]:33134 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 1tiVgn-00037d-6L for 76259@debbugs.gnu.org; Thu, 13 Feb 2025 04:39:24 -0500 Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135]) by mailgate.ufz.de (Mailgate5-UFZ) with ESMTP id D2BAC16036C for <76259@debbugs.gnu.org>; Thu, 13 Feb 2025 10:39:19 +0100 (CET) MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8 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:19 +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 <0SRM00GFS85JPQD0@imap.intranet.ufz.de> for 76259@debbugs.gnu.org; Thu, 13 Feb 2025 10:39:19 +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 A3543E0052; Thu, 13 Feb 2025 10:39:19 +0100 (CET) Date: Thu, 13 Feb 2025 10:38:42 +0100 From: Lars Bilke In-reply-to: Message-id: <64d4e2e3b8a474234bd7875dfc2e90e7e53a21b1.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/python-xyz.scm (python-triangle): New variable. Change-Id: I0bc8f96eaf3c2c7d45277ce2ae54ed3b526f8e15 --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5f359d9c54..dde22ebc27 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -161,6 +161,7 @@ ;;; Copyright © 2025 Jordan Moore ;;; Copyright © 2025 Dariqq ;;; Copyright © 2025 Nguyễn Gia Phong +;;; Copyright © 2025 Lars Bilke ;;; ;;; This file is part of GNU Guix. ;;; @@ -36144,6 +36145,38 @@ (define-public python-pyhull Voronoi diagram.") (license license:expat))) +(define-public python-triangle + (package + (name "python-triangle") + (version "20250106") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/drufat/triangle") + (commit (string-append "v" version)) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1fj8a64k94mibdz5i6zzmlgs0bvsfsa5qns33ppv8wl306yxq1d3")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-v"))))))) + (propagated-inputs (list python-numpy)) + (native-inputs (list python-setuptools python-wheel python-pytest)) + (home-page "https://github.com/drufat/triangle") + (synopsis "Python bindings to the triangle library") + (description + "Triangle is a python wrapper around Jonathan Richard +Shewchuk's two-dimensional quality mesh generator and delaunay +triangulator library.") + (license license:lgpl3))) + (define-public python-opcodes ;; There are no tags in this repo, but 'opcodes/__init__.py' specifies a ;; version number, which is what we use here.