Skip to content

Commit

Permalink
dev-python/boost-histogram: add 1.5.0
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
  • Loading branch information
APN-Pucky committed Oct 19, 2024
1 parent c3184d2 commit 8a8e979
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-python/boost-histogram/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST boost_histogram-1.4.1.tar.gz 1337723 BLAKE2B 42087abfd34471f42b06571ab4e701e7fbc071a5b9f3133f6f80831a0fd01ef95f65cae7bdcc6892674a415fd9b48a20bb0ecd5fd294a4880a6f5e3922e60a09 SHA512 fda8085929677a1664030fd29beb01caf37b42413fe941c2760fed17325301c4bf6b8ec5fa3b0e128558a52dee3245ec3a3fc2f4ca145dd09dea0b88fcfa33d4
DIST boost_histogram-1.5.0.tar.gz 1181192 BLAKE2B b25e20b9440849d9cd4837b762bcc7a9625e69fec60dbe4a975b0329678e0035d5d29d8ea5a7a35b1b78ee00b1c8941361774f0dcd069da04f67632b98af5783 SHA512 5c107f69514fbbad013e2e2a265537c55f4500b61bbb6a37cfb3a69fcf92d4cfba333ba27b43df444cf6120768d5a324822019dcccac58ce0ae127630f8bf999
43 changes: 43 additions & 0 deletions dev-python/boost-histogram/boost-histogram-1.5.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
EAPI=8

PYTHON_COMPAT=( python3_{10..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"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
dev-libs/boost:=[python,${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-python/pybind11-2.13.3[${PYTHON_USEDEP}]
test? (
dev-python/cloudpickle[${PYTHON_USEDEP}]
dev-python/hypothesis[${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\.10: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
)

0 comments on commit 8a8e979

Please sign in to comment.