commit:     281eaa53826e68185d854a988365ca50503ceb5f
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Thu Apr 25 12:28:34 2024 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
CommitDate: Thu Apr 25 12:29:52 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=281eaa53

dev-python/vector: add 1.4.0

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

 dev-python/vector/vector-1.4.0.ebuild | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/dev-python/vector/vector-1.4.0.ebuild 
b/dev-python/vector/vector-1.4.0.ebuild
new file mode 100644
index 000000000..a57240b49
--- /dev/null
+++ b/dev-python/vector/vector-1.4.0.ebuild
@@ -0,0 +1,34 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1 pypi optfeature
+
+DESCRIPTION="Vector classes and utilities"
+HOMEPAGE="
+       https://github.com/scikit-hep/vector
+       https://vector.readthedocs.io/
+       https://doi.org/10.5281/zenodo.7054478
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+# tests need numba
+RESTRICT="test"
+
+RDEPEND="
+       >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}]
+       >=dev-python/packaging-19[${PYTHON_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       dev-python/hatch-vcs[${PYTHON_USEDEP}]
+"
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+pkg_postinst() {
+       optfeature "awkward array support" dev-python/awkward
+       optfeature "sympy support" dev-python/sympy
+}

Reply via email to