aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Puck Neuwirth <alexander@neuwirth-informatik.de>2024-03-14 10:40:12 +0100
committerAlexander Puck Neuwirth <alexander@neuwirth-informatik.de>2024-03-14 13:24:32 +0100
commit0770aa2dcd1651ec567469c9bdca147ec4b17b6c (patch)
treebb28d808ed307721c9b979af37db024d0468d164 /sci-physics
parentdev-python/cadquery*: treeclean (diff)
downloadsci-0770aa2dcd1651ec567469c9bdca147ec4b17b6c.tar.gz
sci-0770aa2dcd1651ec567469c9bdca147ec4b17b6c.tar.bz2
sci-0770aa2dcd1651ec567469c9bdca147ec4b17b6c.zip
sci-physics/hepunits: add 2.3.3, python3_12
Closes: https://github.com/gentoo/sci/pull/1255 Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/hepunits/Manifest1
-rw-r--r--sci-physics/hepunits/hepunits-2.3.3.ebuild25
-rw-r--r--sci-physics/hepunits/hepunits-9999.ebuild4
3 files changed, 29 insertions, 1 deletions
diff --git a/sci-physics/hepunits/Manifest b/sci-physics/hepunits/Manifest
index f831328d4..9b6a3c900 100644
--- a/sci-physics/hepunits/Manifest
+++ b/sci-physics/hepunits/Manifest
@@ -1 +1,2 @@
DIST hepunits-2.3.2.tar.gz 13327 BLAKE2B 16986f4cf96eb927e5ae7268dc2975957846678bff0569fc5d5b9d36bb5dae251905283a07e5fcdd895b20982e1e2d32bce5048752d654ca085286e89b65837f SHA512 48d0a4939e19fc6f26b3bb5f8515d8e0d9d4cbed172c14ae30609c2039bdb77625dad8e1e628178481ee0f203d7d36cd2e0d3306f3b344fe14cd68827c4d9477
+DIST hepunits-2.3.3.tar.gz 13491 BLAKE2B ec212be4e53e7ea5aa195852ea6ad4f3aac8e3eb49676e6bef76d525be861ecd4480821b248d746950b45affccd31bf23d5232aee13058bb48ec8d76c4f70a14 SHA512 7a29dd6220c1fbe610f15ef66f02e499d7e2ade8c39827e3229ae74035d127ca7805b9e32c3859c5af4b001725d21514fd81f0408d7f0dc76e9ee34aa66191e8
diff --git a/sci-physics/hepunits/hepunits-2.3.3.ebuild b/sci-physics/hepunits/hepunits-2.3.3.ebuild
new file mode 100644
index 000000000..6e9ada04b
--- /dev/null
+++ b/sci-physics/hepunits/hepunits-2.3.3.ebuild
@@ -0,0 +1,25 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+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}"
+
+distutils_enable_tests pytest
diff --git a/sci-physics/hepunits/hepunits-9999.ebuild b/sci-physics/hepunits/hepunits-9999.ebuild
index 9816df84b..6e9ada04b 100644
--- a/sci-physics/hepunits/hepunits-9999.ebuild
+++ b/sci-physics/hepunits/hepunits-9999.ebuild
@@ -1,6 +1,6 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1
@@ -21,3 +21,5 @@ RDEPEND="
>=dev-python/attrs-19.2[${PYTHON_USEDEP}]
"
BDEPEND="${RDEPEND}"
+
+distutils_enable_tests pytest