From patchwork Sat Mar 29 23:01:04 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 40984 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 A91CB27BBEC; Sat, 29 Mar 2025 23:03:38 +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=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED 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 5EF0E27BBE2 for ; Sat, 29 Mar 2025 23:03:38 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tyfCj-0002Sb-Tf; Sat, 29 Mar 2025 19:03:05 -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 1tyfCh-0002Qz-Lu for guix-patches@gnu.org; Sat, 29 Mar 2025 19:03:03 -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 1tyfCh-0003Qb-Aa for guix-patches@gnu.org; Sat, 29 Mar 2025 19:03:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=DH0q8z8s8ZeRijaQjWEUlGb8PpEbJtqo4/TWLgAhYb0=; b=YEs3Y6UopNLCpBcBXd7m6BvEM76O4g8QlnISNnopxTqU0M5iJvAdPcDqjJmNODbf+H8v3EQbr2d9raaU2JqAc6l5joOdjSdf92+tXuXFUwew1fwl0OpG4Gn8Z/FQyt7cgyR1Hw66ij61I3EAyIE7QJUZ2s3Nn3V4+HdMoQ4jLug9R5QVT+CbtATenDmqT+nfOwfSuLtnQhIUgDX+L2O6xkeGKiNrw6BHPOLVQ+9T+DfsJz1T4/z4B4RNVNXEtuW1am1rVX4f1yDHwn8Tw0JU7MaYrg7ALFdArMjM9/aMbp3H7rF6WR5vmu4E88nIiC51snZmNWXP5Zid9M2t00SgyA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tyfCh-0006bO-6D for guix-patches@gnu.org; Sat, 29 Mar 2025 19:03:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77371] [PATCH 11/12] gnu: Add python-vector. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Mar 2025 23:03:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77371 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77371@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 77371-submit@debbugs.gnu.org id=B77371.174328933925266 (code B ref 77371); Sat, 29 Mar 2025 23:03:03 +0000 Received: (at 77371) by debbugs.gnu.org; 29 Mar 2025 23:02:19 +0000 Received: from localhost ([127.0.0.1]:33396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tyfBz-0006ZL-Cy for submit@debbugs.gnu.org; Sat, 29 Mar 2025 19:02:19 -0400 Received: from mout01.posteo.de ([185.67.36.65]:45897) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tyfBr-0006Yd-E7 for 77371@debbugs.gnu.org; Sat, 29 Mar 2025 19:02:11 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9E992240028 for <77371@debbugs.gnu.org>; Sun, 30 Mar 2025 00:02:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1743289325; bh=LZm5phxRlyIAsUETcl+9OFtV8bRfT1aoWMUv6JXidHA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=LwwxnzOjWjiMgDyNZ4JWRTOcd0IO6h0Up8L86oUO4dBBGkx40KgjhexxdlAAQYCVD 0dyL47C8XB+8Q/3jkljJyLlmlJYkc+B7JOX2KaOTPA72mE3WF1nCyFRfskEi/mWyxb 739tIc9ykTL9PIY7SiZRDaJ/t1Ba8UeuWllWa3ChOir+NpMxF0X0TyuX6jRRVKXiJ4 VsQz9suWrtj9ktJIqG+AfmWc2G+PBVt59NZN9eKFZ1G3df8Y3Qvv2SvK9/aoIQevnY vMEBaOOfgqNUVw/RRIgk62HNtsW7BX85kTUgIoaIlQUxPCv+oTnv16I95Qne9NQyj/ nohD81sj+vlTg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZQCZh56Bhz6twR; Sun, 30 Mar 2025 00:02:04 +0100 (CET) From: Vinicius Monego Date: Sat, 29 Mar 2025 23:01:04 +0000 Message-ID: In-Reply-To: References: MIME-Version: 1.0 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-science.scm (python-vector): New variable. Change-Id: I77d72b0c18a0bc215cb2198ce5447e587b13d0fe --- gnu/packages/python-science.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index c2f23c8d55..41504b457e 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1207,6 +1207,35 @@ (define-public python-decaylanguage given to programs dedicated to amplitude analyses.") (license license:bsd-3))) +(define-public python-vector + (package + (name "python-vector") + (version "1.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "vector" version)) + (sha256 + (base32 "1r6ncbdnak75nvyhn9rkmgg08l6ggxyvb5ikqrv5zlskwl62v62r")))) + (build-system pyproject-build-system) + (arguments + (list + ;; This file requires python-papermill (not yet packaged). + #:test-flags #~(list "--ignore" "tests/test_notebooks.py"))) + (propagated-inputs (list python-numpy python-packaging)) + (native-inputs (list python-awkward + python-hatch-vcs + python-hatchling + python-pytest + python-sympy)) + (home-page "https://github.com/scikit-hep/vector") + (synopsis "Arrays of 2D, 3D, and Lorentz vectors") + (description "Vector is a Python library for 2D and 3D spatial vectors, as +well as 4D space-time vectors. It is especially intended for performing +geometric calculations on arrays of vectors, rather than one vector at a time +in a Python @code{for} loop.") + (license license:bsd-3))) + (define-public python-trimesh (package (name "python-trimesh")