commit: b175b16607dd3f024b5dba360b1f022128b1b35e
Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT>
de>
AuthorDate: Mon Jan 20 13:33:53 2025 +0000
Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT>
de>
CommitDate: Mon Jan 20 13:33:53 2025 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b175b166
dev-python/vector: add 1.6.0
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
dev-python/vector/vector-1.6.0.ebuild | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/dev-python/vector/vector-1.6.0.ebuild
b/dev-python/vector/vector-1.6.0.ebuild
new file mode 100644
index 000000000..b9c06d278
--- /dev/null
+++ b/dev-python/vector/vector-1.6.0.ebuild
@@ -0,0 +1,33 @@
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+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}]
+"
+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
+}