commit:     2c04ee42002f905ffe88fc425e01f6e0da58c5c3
Author:     Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  6 14:07:19 2026 +0000
Commit:     Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
CommitDate: Fri Feb  6 14:35:23 2026 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2c04ee42

dev-python/boost-histogram: add 1.7.1

Signed-off-by: Alexander Puck Neuwirth <apn-pucky <AT> gentoo.org>

 .../boost-histogram/boost-histogram-1.7.1.ebuild   | 50 ++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/dev-python/boost-histogram/boost-histogram-1.7.1.ebuild 
b/dev-python/boost-histogram/boost-histogram-1.7.1.ebuild
new file mode 100644
index 000000000..ed18fbdc1
--- /dev/null
+++ b/dev-python/boost-histogram/boost-histogram-1.7.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=scikit-build-core
+DISTUTILS_EXT=1
+inherit cmake distutils-r1 pypi
+
+DESCRIPTION="Python bindings for the C++14 Boost::Histogram library"
+HOMEPAGE="
+       https://github.com/scikit-hep/boost-histogram
+       https://boost-histogram.readthedocs.io/en/latest/
+       https://pypi.org/project/boost-histogram/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-libs/boost:=[python,${PYTHON_USEDEP}]
+       >=dev-python/numpy-1.21.3[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       >=dev-python/pybind11-2.13.3[${PYTHON_USEDEP}]
+       test? (
+               dev-python/cloudpickle[${PYTHON_USEDEP}]
+               >=dev-python/hypothesis-6[${PYTHON_USEDEP}]
+       )
+"
+
+src_prepare() {
+       default
+       sed -i 's/\["pytest-benchmark"\]/[]/g' pyproject.toml || die
+       # https://github.com/scikit-build/scikit-build-core/issues/912
+       sed -i -e '/scikit-build-core/s:0\.11:0.8:' pyproject.toml || die
+}
+
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+       tests/test_benchmark_1d.py
+       tests/test_benchmark_2d.py
+       tests/test_benchmark_category_axis.py
+       tests/test_pickle.py
+       tests/test_threaded_fill.py
+)

Reply via email to