public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-python/boost-histogram/
@ 2024-02-17 17:22 Alexander Puck Neuwirth
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Puck Neuwirth @ 2024-02-17 17:22 UTC (permalink / raw
  To: gentoo-commits

commit:     4cb594edf14664ac6c2423bbed71f5ccc5f69223
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Thu Feb  1 21:55:58 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Sat Feb 17 17:21:58 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=4cb594ed

dev-python/boost-histogram: new package, add 1.4.0

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
Closes: https://github.com/gentoo/sci/pull/1235
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 .../boost-histogram/boost-histogram-1.4.0.ebuild   | 39 ++++++++++++++++++++++
 dev-python/boost-histogram/metadata.xml            | 19 +++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild b/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild
new file mode 100644
index 000000000..0336c4e87
--- /dev/null
+++ b/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild
@@ -0,0 +1,39 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit 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="
+	test? (
+		dev-python/cloudpickle[${PYTHON_USEDEP}]
+		dev-python/hypothesis[${PYTHON_USEDEP}]
+	)
+"
+
+src_prepare() {
+	default
+	sed -i 's/"pytest-benchmark"//g' 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
+)

diff --git a/dev-python/boost-histogram/metadata.xml b/dev-python/boost-histogram/metadata.xml
new file mode 100644
index 000000000..345502cba
--- /dev/null
+++ b/dev-python/boost-histogram/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+	<maintainer type="person">
+		<email>alexander@neuwirth-informatik.de</email>
+		<name>Alexander Puck Neuwirth</name>
+	</maintainer>
+	<longdescription lang="en">
+	Python bindings for Boost::Histogram (source), a C++14 library. This is one of the fastest libraries for histogramming, while still providing the power of a full histogram object. See what's new.
+	</longdescription>
+	<upstream>
+		<remote-id type="pypi">boost-histogram</remote-id>
+		<remote-id type="github">scikit-hep/boost-histogram</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/boost-histogram/
@ 2024-03-17 15:59 Alexander Puck Neuwirth
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Puck Neuwirth @ 2024-03-17 15:59 UTC (permalink / raw
  To: gentoo-commits

commit:     c08d995df501ca71f6150272ad36908c97a4adfe
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Sun Mar 17 15:59:07 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Sun Mar 17 15:59:07 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c08d995d

dev-python/boost-histogram: enable py3.12

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 dev-python/boost-histogram/boost-histogram-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild b/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild
index 0336c4e87..96950ebe5 100644
--- a/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild
+++ b/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild
@@ -1,6 +1,6 @@
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=setuptools
 inherit distutils-r1 pypi
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/boost-histogram/
@ 2024-06-27 15:02 Alexander Puck Neuwirth
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Puck Neuwirth @ 2024-06-27 15:02 UTC (permalink / raw
  To: gentoo-commits

commit:     de672e4833e05d5ad2c042bf6112992d36c4c2fb
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Thu Jun 27 15:00:55 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Thu Jun 27 15:00:55 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=de672e48

dev-python/boost-histogram: add 1.4.1, drop 1.4.0

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 .../{boost-histogram-1.4.0.ebuild => boost-histogram-1.4.1.ebuild}       | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild b/dev-python/boost-histogram/boost-histogram-1.4.1.ebuild
similarity index 97%
rename from dev-python/boost-histogram/boost-histogram-1.4.0.ebuild
rename to dev-python/boost-histogram/boost-histogram-1.4.1.ebuild
index 96950ebe5..679109b59 100644
--- a/dev-python/boost-histogram/boost-histogram-1.4.0.ebuild
+++ b/dev-python/boost-histogram/boost-histogram-1.4.1.ebuild
@@ -2,6 +2,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_EXT=1
 inherit distutils-r1 pypi
 
 DESCRIPTION="Python bindings for the C++14 Boost::Histogram library"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/boost-histogram/
@ 2024-10-22  8:34 Alexander Puck Neuwirth
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Puck Neuwirth @ 2024-10-22  8:34 UTC (permalink / raw
  To: gentoo-commits

commit:     e0b44a7587c8bd5ad22f1fac28aaf7fe5043fc95
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Sat Oct 19 09:23:15 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 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 <alexander <AT> 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
+)


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-22  8:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-17 15:59 [gentoo-commits] proj/sci:master commit in: dev-python/boost-histogram/ Alexander Puck Neuwirth
  -- strict thread matches above, loose matches on Subject: below --
2024-10-22  8:34 Alexander Puck Neuwirth
2024-06-27 15:02 Alexander Puck Neuwirth
2024-02-17 17:22 Alexander Puck Neuwirth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox