aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-physics/hepunits/hepunits-2.3.5.ebuild')
-rw-r--r--sci-physics/hepunits/hepunits-2.3.5.ebuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/sci-physics/hepunits/hepunits-2.3.5.ebuild b/sci-physics/hepunits/hepunits-2.3.5.ebuild
new file mode 100644
index 000000000..b2f76d1d1
--- /dev/null
+++ b/sci-physics/hepunits/hepunits-2.3.5.ebuild
@@ -0,0 +1,23 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+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
+
+
+BDEPEND="dev-python/hatch-vcs[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest