public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-physics/mplhep/
@ 2024-10-22  8:34 Alexander Puck Neuwirth
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Puck Neuwirth @ 2024-10-22  8:34 UTC (permalink / raw
  To: gentoo-commits

commit:     2476e6e6009db0cc4806b335aba6cc5bd335f4de
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Sat Oct 19 12:51:34 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Tue Oct 22 08:32:33 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2476e6e6

sci-physics/mplhep: new package, add 0.3.53

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

 sci-physics/mplhep/metadata.xml         | 19 +++++++++++++
 sci-physics/mplhep/mplhep-0.3.53.ebuild | 47 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/sci-physics/mplhep/metadata.xml b/sci-physics/mplhep/metadata.xml
new file mode 100644
index 000000000..e8b27c898
--- /dev/null
+++ b/sci-physics/mplhep/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">
+	A set of helpers for matplotlib to more easily produce plots typically needed in HEP as well as style them in way that's compatible with current collaboration requirements (ROOT-like plots for CMS, ATLAS, LHCb, ALICE).
+	</longdescription>
+	<upstream>
+		<remote-id type="pypi">mplhep</remote-id>
+		<remote-id type="github">scikit-hep/mplhep</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/sci-physics/mplhep/mplhep-0.3.53.ebuild b/sci-physics/mplhep/mplhep-0.3.53.ebuild
new file mode 100644
index 000000000..ed147722d
--- /dev/null
+++ b/sci-physics/mplhep/mplhep-0.3.53.ebuild
@@ -0,0 +1,47 @@
+EAPI=8
+
+# wait for pytest-mpl before adding 3_13
+PYTHON_COMPAT=( python3_{11..12} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1 pypi
+
+DESCRIPTION="Histogram plots using matplotlib and HEP compatible styling ROOT."
+HOMEPAGE="
+	https://mplhep.readthedocs.io
+	https://github.com/scikit-hep/mplhep
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	>=dev-python/matplotlib-3.4[${PYTHON_USEDEP}]
+	>=dev-python/numpy-1.16.0[${PYTHON_USEDEP}]
+	sci-physics/mplhep-data[${PYTHON_USEDEP}]
+	dev-python/packaging[${PYTHON_USEDEP}]
+	>=dev-python/uhi-0.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	dev-python/hatch-vcs[${PYTHON_USEDEP}]
+	test? (
+		dev-python/boost-histogram[${PYTHON_USEDEP}]
+		dev-python/hist[${PYTHON_USEDEP}]
+		dev-python/pytest-mock[${PYTHON_USEDEP}]
+		dev-python/pytest-mpl[${PYTHON_USEDEP}]
+		>=dev-python/pytest-6.0[${PYTHON_USEDEP}]
+		sci-physics/scikit-hep-testdata[${PYTHON_USEDEP}]
+		>=dev-python/scipy-1.1.0[${PYTHON_USEDEP}]
+		sci-physics/uproot[${PYTHON_USEDEP}]
+	)
+"
+
+# we do not want to care about old uproot4
+EPYTEST_DESELECT=(
+	'tests/test_inputs.py::test_inputs_uproot'
+	'tests/test_inputs.py::test_uproot_versions[png]'
+	'tests/test_inputs.py::test_uproot_versions[pdf]'
+	'tests/test_inputs.py::test_uproot_versions[svg]'
+)
+
+distutils_enable_tests pytest


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/mplhep/
@ 2024-11-14 12:30 Alexander Puck Neuwirth
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Puck Neuwirth @ 2024-11-14 12:30 UTC (permalink / raw
  To: gentoo-commits

commit:     c22d0de79d39537c853d9b3aace4e8734b411979
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Thu Nov 14 12:29:38 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Thu Nov 14 12:30:02 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c22d0de7

sci-physics/mplhep: add 0.3.55, drop 0.3.53

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

 sci-physics/mplhep/{mplhep-0.3.53.ebuild => mplhep-0.3.55.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sci-physics/mplhep/mplhep-0.3.53.ebuild b/sci-physics/mplhep/mplhep-0.3.55.ebuild
similarity index 100%
rename from sci-physics/mplhep/mplhep-0.3.53.ebuild
rename to sci-physics/mplhep/mplhep-0.3.55.ebuild


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

end of thread, other threads:[~2024-11-14 12:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22  8:34 [gentoo-commits] proj/sci:master commit in: sci-physics/mplhep/ Alexander Puck Neuwirth
  -- strict thread matches above, loose matches on Subject: below --
2024-11-14 12:30 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