commit: 0d902a02e59eecc0dfe2889fd4db098231c4f19b Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> AuthorDate: Thu Feb 1 22:13:33 2024 +0000 Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de> CommitDate: Sat Feb 17 17:24:46 2024 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0d902a02
sci-physics/pyhepmc: new package, add 2.11.0 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> Closes: https://github.com/gentoo/sci/pull/1237 Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de> sci-physics/pyhepmc/metadata.xml | 19 +++++++++++++++++++ sci-physics/pyhepmc/pyhepmc-2.11.0.ebuild | 20 ++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/sci-physics/pyhepmc/metadata.xml b/sci-physics/pyhepmc/metadata.xml new file mode 100644 index 000000000..6f6a9a0bb --- /dev/null +++ b/sci-physics/pyhepmc/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>s...@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="person"> + <email>alexan...@neuwirth-informatik.de</email> + <name>Alexander Puck Neuwirth</name> + </maintainer> + <longdescription lang="en"> + pyhepmc largely mirrors the C++ interface of the HepMC3 library, which is documented here. Parts of the documentation have been copied from HepMC3. Documentation is available as Python docstrings, so you can use Python's help() browser to learn about the API. Alternatively, you can consult the online reference generated from these docstrings which includes some examples. + </longdescription> + <upstream> + <remote-id type="pypi">pyhepmc</remote-id> + <remote-id type="github">scikit-hep/pyhepmc</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-physics/pyhepmc/pyhepmc-2.11.0.ebuild b/sci-physics/pyhepmc/pyhepmc-2.11.0.ebuild new file mode 100644 index 000000000..c28b094bb --- /dev/null +++ b/sci-physics/pyhepmc/pyhepmc-2.11.0.ebuild @@ -0,0 +1,20 @@ +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="A Pythonic wrapper for the HepMC3 C++ library." +HOMEPAGE="https://github.com/scikit-hep/pyhepmc" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/numpy-1.0[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + dev-build/cmake +"