commit:     ac4c4a55b40ccb96c3febba0c45ada3a542d326c
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Wed Jul 26 18:28:26 2023 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
CommitDate: Wed Jul 26 22:15:06 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ac4c4a55

sci-physics/hepunits: new package, add 2.3.2, 9999

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

 sci-physics/hepunits/hepunits-2.3.2.ebuild | 23 +++++++++++++++++++++++
 sci-physics/hepunits/hepunits-9999.ebuild  | 23 +++++++++++++++++++++++
 sci-physics/hepunits/metadata.xml          | 19 +++++++++++++++++++
 3 files changed, 65 insertions(+)

diff --git a/sci-physics/hepunits/hepunits-2.3.2.ebuild 
b/sci-physics/hepunits/hepunits-2.3.2.ebuild
new file mode 100644
index 000000000..9816df84b
--- /dev/null
+++ b/sci-physics/hepunits/hepunits-2.3.2.ebuild
@@ -0,0 +1,23 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1
+
+DESCRIPTION="units and constants in the HEP system of units"
+HOMEPAGE="https://github.com/scikit-hep/hepunits";
+
+LICENSE="BSD"
+SLOT="0"
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/scikit-hep/hepunits";
+else
+       inherit pypi
+       KEYWORDS="~amd64"
+fi
+
+RDEPEND="
+       >=dev-python/attrs-19.2[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"

diff --git a/sci-physics/hepunits/hepunits-9999.ebuild 
b/sci-physics/hepunits/hepunits-9999.ebuild
new file mode 100644
index 000000000..9816df84b
--- /dev/null
+++ b/sci-physics/hepunits/hepunits-9999.ebuild
@@ -0,0 +1,23 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1
+
+DESCRIPTION="units and constants in the HEP system of units"
+HOMEPAGE="https://github.com/scikit-hep/hepunits";
+
+LICENSE="BSD"
+SLOT="0"
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/scikit-hep/hepunits";
+else
+       inherit pypi
+       KEYWORDS="~amd64"
+fi
+
+RDEPEND="
+       >=dev-python/attrs-19.2[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}"

diff --git a/sci-physics/hepunits/metadata.xml 
b/sci-physics/hepunits/metadata.xml
new file mode 100644
index 000000000..41d598fa2
--- /dev/null
+++ b/sci-physics/hepunits/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>[email protected]</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Alexander Puck Neuwirth</name>
+       </maintainer>
+       <longdescription lang="en">
+       hepunits collects the most commonly used units and constants in the HEP 
System of Units, as derived from the basic units originally defined by the 
CLHEP project
+       </longdescription>
+       <upstream>
+               <remote-id type="pypi">hepunits</remote-id>
+               <remote-id type="github">scikit-hep/hepunits</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to