From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BD3A8158042 for ; Tue, 22 Oct 2024 08:34:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90AC3E08A8; Tue, 22 Oct 2024 08:34:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 75B55E08A6 for ; Tue, 22 Oct 2024 08:34:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E9E1342FB5 for ; Tue, 22 Oct 2024 08:34:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 997FB1682 for ; Tue, 22 Oct 2024 08:34:27 +0000 (UTC) From: "Alexander Puck Neuwirth" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexander Puck Neuwirth" Message-ID: <1729585930.e0b44a7587c8bd5ad22f1fac28aaf7fe5043fc95.alexander@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/boost-histogram/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/boost-histogram/boost-histogram-1.5.0.ebuild X-VCS-Directories: dev-python/boost-histogram/ X-VCS-Committer: alexander X-VCS-Committer-Name: Alexander Puck Neuwirth X-VCS-Revision: e0b44a7587c8bd5ad22f1fac28aaf7fe5043fc95 X-VCS-Branch: master Date: Tue, 22 Oct 2024 08:34:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9e5d9c19-26b1-4d8c-b796-eb30c9a50c1e X-Archives-Hash: 1c0501cd0a6508b402e1686862eebb64 commit: e0b44a7587c8bd5ad22f1fac28aaf7fe5043fc95 Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Sat Oct 19 09:23:15 2024 +0000 Commit: Alexander Puck Neuwirth neuwirth-informatik de> CommitDate: Tue Oct 22 08:32:10 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e0b44a75 dev-python/boost-histogram: add 1.5.0 Signed-off-by: Alexander Puck Neuwirth neuwirth-informatik.de> .../boost-histogram/boost-histogram-1.5.0.ebuild | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/dev-python/boost-histogram/boost-histogram-1.5.0.ebuild b/dev-python/boost-histogram/boost-histogram-1.5.0.ebuild new file mode 100644 index 000000000..7bee5b066 --- /dev/null +++ b/dev-python/boost-histogram/boost-histogram-1.5.0.ebuild @@ -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 +)