| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.0.0 | 8 | ~amd64 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..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
>=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}]
dev-python/hatch-vcs[${PYTHON_USEDEP}]
test? (
>=sci-physics/scikit-hep-testdata-0.4.36[${PYTHON_USEDEP}]
)
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | pylhe-1.0.0.gh.tar.gz | 218308 bytes | https://github.com/scikit-hep/pylhe/archive/refs/tags/v1.0.0.tar.gz |