aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Puck Neuwirth <alexander@neuwirth-informatik.de>2024-02-01 23:13:33 +0100
committerAlexander Puck Neuwirth <alexander@neuwirth-informatik.de>2024-02-17 18:24:46 +0100
commit0d902a02e59eecc0dfe2889fd4db098231c4f19b (patch)
treea236ec450ec60f572027ea57ffb329e05b6e4626 /sci-physics
parentdev-python/jacobi: new package, add 0.8.1 (diff)
downloadsci-0d902a02e59eecc0dfe2889fd4db098231c4f19b.tar.gz
sci-0d902a02e59eecc0dfe2889fd4db098231c4f19b.tar.bz2
sci-0d902a02e59eecc0dfe2889fd4db098231c4f19b.zip
sci-physics/pyhepmc: new package, add 2.11.0
Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de> Closes: https://github.com/gentoo/sci/pull/1237 Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/pyhepmc/Manifest1
-rw-r--r--sci-physics/pyhepmc/metadata.xml19
-rw-r--r--sci-physics/pyhepmc/pyhepmc-2.11.0.ebuild20
3 files changed, 40 insertions, 0 deletions
diff --git a/sci-physics/pyhepmc/Manifest b/sci-physics/pyhepmc/Manifest
new file mode 100644
index 000000000..1351fa866
--- /dev/null
+++ b/sci-physics/pyhepmc/Manifest
@@ -0,0 +1 @@
+DIST pyhepmc-2.11.0.tar.gz 361596 BLAKE2B 18264f61bdef3c27f8aa4d48d25257c03f98cc89745533641119cf7ba6d5fe36c084d25ccaeed6769dc9226fd5f2c27060006030447a8ac8409ff6d752437d2c SHA512 31975d0bee5037c1cc36753ce6324342ed6a48b2d3f91f53d61f445f38f0fa3ecbeb0e29fcbc7f6778bafcc23c1f6a689b9516eae8da4cc620cd7c72b89e0b00
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>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">
+ 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
+"