From patchwork Sat Mar 29 23:00:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 40974 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 9411727BBEA; Sat, 29 Mar 2025 23:02:19 +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 3826D27BBE2 for ; Sat, 29 Mar 2025 23:02:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tyfBr-0001wh-8y; Sat, 29 Mar 2025 19:02:11 -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 1tyfBm-0001vO-Ps for guix-patches@gnu.org; Sat, 29 Mar 2025 19:02:07 -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 1tyfBk-0003Hu-Fi for guix-patches@gnu.org; Sat, 29 Mar 2025 19:02:05 -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=G4HJIMgSEksBzykRiuUo+lN97XnxWy/n+4O3kKZqAKE=; b=du3LJ5nEtjWKoXGBKbPVi0aM+YrBzrwybFurpp2CXvA/pm4UOdru5Lz9UN0lMOvo7GHzv31q0UjzvR9j8fIMbQojouyDf1gx76s56Z6h8w/yeaxXkqy43zidA2qFsq3I5XPh+sNH2So8cnJ+N+uxYliNn6gGGa8a7W2hBfsACXVZs3aG3uxYngW7XhNr5jTQh1UShL1/r8BqA+jdc29JYI6dpt4CiSoAMxUxFdRXhcNuToaqocPDOMYyVzOLj0K6hxuQntHZ1URMPbSYZKRHWPu0j8L3zY8FJDHDmlv0Hy/P/8MvxNBNcaZ+enl8CE3zXh1i0lramxmy1TPn/Jv1hA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tyfBk-0006Y7-B4 for guix-patches@gnu.org; Sat, 29 Mar 2025 19:02:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77371] [PATCH 05/12] gnu: Add python-uhi. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Mar 2025 23:02:04 +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.174328931925111 (code B ref 77371); Sat, 29 Mar 2025 23:02:04 +0000 Received: (at 77371) by debbugs.gnu.org; 29 Mar 2025 23:01:59 +0000 Received: from localhost ([127.0.0.1]:33367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tyfBf-0006Wv-6a for submit@debbugs.gnu.org; Sat, 29 Mar 2025 19:01:59 -0400 Received: from mout02.posteo.de ([185.67.36.66]:38231) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tyfBR-0006Vp-Uv for 77371@debbugs.gnu.org; Sat, 29 Mar 2025 19:01:46 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 344B9240101 for <77371@debbugs.gnu.org>; Sun, 30 Mar 2025 00:01:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1743289300; bh=E9FLWUWIiiBOdzDF3BztcD35yMotC/nghddGgJaGCFc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=Uqp95cA6KD3N/2ar8EFHS3k2I8yBJoyTWXk8KQNO1CAb7B6PuYu2ER16ReiZbO3gq MYeR86SI5F7Ipt6yvAefckiJ4bSmbxsqWrHfcrZ8AmfdQbfYwl0nW915ZqnCXUMCGJ Y7Dw8eJQcTVAolzvhir1XYVDo5q5B9B7sBoSBGAWjoemZVCtavxI19duXAmOJADWVI lE6akwCmGUgeOGTTJx4+3R/Ym3Q/cGk3wcVS0oWFf5M+P/sycX/IQM13QlBW8saqEJ 3mSTA3zilLHFcdBSzVxIKpxRL/SBJYysFLb3lPjG0S2DwlyA42PaOBi/lLO85PgDC7 KbHeRowB2acug== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZQCZC1VBpz6twM; Sun, 30 Mar 2025 00:01:38 +0100 (CET) From: Vinicius Monego Date: Sat, 29 Mar 2025 23:00:58 +0000 Message-ID: <564bd3d1e97214d179d1a7499e2104d0f252847f.1743288280.git.monego@posteo.net> 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-uhi): New variable. Change-Id: I12e802cfc9dd6473cac9657dc477e470238f1bbc --- gnu/packages/python-science.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 8d245f34e1..ced52c4b51 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1002,6 +1002,33 @@ (define-public python-scikit-survival cross-validation.") (license license:gpl3+)))) +(define-public python-uhi + (package + (name "python-uhi") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "uhi" version)) + (sha256 + (base32 "0753b7yw0zi06g4azafnk3w8i3q6js9i6wwg3pya464gygrbnncm")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-numpy)) + (native-inputs (list python-boost-histogram + python-fastjsonschema + python-hatch-vcs + python-hatchling + python-pytest)) + (home-page "https://github.com/scikit-hep/uhi") + (synopsis "Universal Histogram Interface") + (description "This is a package meant primarily for documenting histogram +indexing and the PlottableHistogram Protocol and any future cross-library +standards. It also contains the code for the PlottableHistogram Protocol, to +be used in type checking libraries wanting to conform to the protocol. It is +not usually a runtime dependency, but only a type checking, testing, and/or +docs dependency in support of other libraries.") + (license license:bsd-3))) + (define-public python-tdda (package (name "python-tdda")