commit: e9b5a976efddc0fb31b499d1593059e6a76aa5b4
Author: Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 27 21:13:23 2025 +0000
Commit: Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
CommitDate: Mon Oct 27 21:13:23 2025 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e9b5a976
sci-physics/pylhe: add 1.0.0
Signed-off-by: Alexander Puck Neuwirth <apn-pucky <AT> gentoo.org>
sci-physics/pylhe/pylhe-1.0.0.ebuild | 37 ++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/sci-physics/pylhe/pylhe-1.0.0.ebuild
b/sci-physics/pylhe/pylhe-1.0.0.ebuild
new file mode 100644
index 000000000..16b8361d3
--- /dev/null
+++ b/sci-physics/pylhe/pylhe-1.0.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1 pypi
+
+DESCRIPTION="Lightweight Python interface to read Les Houches Event (LHE)
files"
+HOMEPAGE="https://github.com/scikit-hep/pylhe"
+# pypi does not include tests
+SRC_URI="https://github.com/scikit-hep/${PN}/archive/refs/tags/v${PV}.tar.gz
-> ${P}.gh.tar.gz"
+# export is needed here!
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/awkward-1.2.0[${PYTHON_USEDEP}]
+ >=dev-python/graphviz-0.12.0[${PYTHON_USEDEP}]
+ >=sci-physics/particle-0.16[${PYTHON_USEDEP}]
+ >=dev-python/vector-0.8.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
+ test? (
+ >=sci-physics/scikit-hep-testdata-0.4.36[${PYTHON_USEDEP}]
+ )
+"
+PATCHES=(
+ "${FILESDIR}/${PN}"-0.7.0-coverage.patch
+)
+
+distutils_enable_tests pytest