From patchwork Sat Mar 29 23:00:56 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 40979 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 DE08B27BBEA; Sat, 29 Mar 2025 23:02:47 +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 6A70427BBE2 for ; Sat, 29 Mar 2025 23:02:47 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tyfBx-0001yO-UA; Sat, 29 Mar 2025 19:02:17 -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 1tyfBl-0001v2-CU for guix-patches@gnu.org; Sat, 29 Mar 2025 19:02:05 -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 1tyfBj-0003Hm-Ck for guix-patches@gnu.org; Sat, 29 Mar 2025 19:02: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=wwVv1RiyDZklCgIOWoPOdzlB4HvaO78sdxHSL5oL5K0=; b=sp0eAk7r8k1qntymQqyD1eqiN0taBtiFFz2enEJuz07bbKSW/UHUfSkH6P5sOIlDrBCEHDh4PQwO+sUzEH6HFfzF22kk+CJBOt/YeL+mTT32SfJWecrSb1BGgOw5wpikrRbBxeW6BWESEz+FhAk9aU+rrBiVpu/EDreZU1C0JVDMGxtWmFjt+Swk9fARP9ihPBpg5YIDxbcirudEtwbmEAmspLT0uXyw8t906Fhu/Ttcf5EwcgixyiBAx2cU/FrmgUt34e6dMxrjLInnWJNgIWKjgY7wnQhZdQwAKrkmLF1XqWosN3wSncYtSdSDIBhSucqlSNzspUGDkfrJR+SfuQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tyfBj-0006Xm-8A for guix-patches@gnu.org; Sat, 29 Mar 2025 19:02:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77371] [PATCH 03/12] gnu: Add python-boost-histogram. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Mar 2025 23:02: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.174328930625060 (code B ref 77371); Sat, 29 Mar 2025 23:02:03 +0000 Received: (at 77371) by debbugs.gnu.org; 29 Mar 2025 23:01:46 +0000 Received: from localhost ([127.0.0.1]:33357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tyfBR-0006W6-S8 for submit@debbugs.gnu.org; Sat, 29 Mar 2025 19:01:46 -0400 Received: from mout02.posteo.de ([185.67.36.66]:46529) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tyfBL-0006VU-Ic for 77371@debbugs.gnu.org; Sat, 29 Mar 2025 19:01:41 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 60D54240101 for <77371@debbugs.gnu.org>; Sun, 30 Mar 2025 00:01:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1743289293; bh=ACNMLgg1svCsyoaLMqQZ1Yk9OYEOu/THWERxxVaZyto=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=iXt+ol73GbTxXOEnopHFsVUGZIjvyY/52tPUy84mN2ECmeZXd5yP5jfLXY3Tn6LLL sVlftd1jibC7nIUdBYp7mraTJoU3xvwuFI8WEaXMNGpooSGd/AROXr9Ignpz6t0h5W Bo7S6csRz4/U/mY0SrTUuqwG/oz1Z8NjkI9MA6hJT6ZytGc/roDLXPxokk/cY+mECY 9t4sCyV3h6fL0lae3BACCZ4E+GopsG0rf8Ck1ODhocUEHQ5HEaw2dKYPHQ7ZIaZ8yq 8LqNa6VmlkWTzfy6a6OrpDAvlYDJyEOsIgdZ+MFPTKqKfju5zOVfs6MyLtYjfrvBq2 fNJ1mIRPWSxNQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ZQCZ30FFBz6twM; Sun, 30 Mar 2025 00:01:30 +0100 (CET) From: Vinicius Monego Date: Sat, 29 Mar 2025 23:00:56 +0000 Message-ID: <444b3b2594652986ab1b8a7459db6c9ddb184fc2.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-boost-histogram): New variable. Change-Id: I91e73a0a3e3a698197b2d309bd5bdf388fd2697a --- 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 2471c43d26..8d245f34e1 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -816,6 +816,33 @@ (define-public python-scikit-misc and scientific computing.") (license license:bsd-3))) +(define-public python-boost-histogram + (package + (name "python-boost-histogram") + (version "1.5.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "boost_histogram" version)) + (sha256 + (base32 "0p2f90p5jwlwrjz3hq2fzaifkmny33g2mpi89nnhi3w41f1jxr2i")))) + (build-system pyproject-build-system) + ;; This package bundles files from Boost::Histogram and doesn't provide + ;; a way to use a system library. + (propagated-inputs (list python-numpy)) + (native-inputs (list cmake-minimal + pybind11-2.13 + python-pytest + python-pytest-benchmark + python-scikit-build-core + python-setuptools-scm)) + (home-page "https://boost-histogram.readthedocs.io/en/latest/") + (synopsis "Python bindings for the Boost::Histogram library") + (description + "This package provides Python bindings for the Boost::Histogram library, +one of the fastest libraries for histogramming.") + (license license:bsd-3))) + (define-public python-scikit-opt (package (name "python-scikit-opt")