summaryrefslogtreecommitdiff
path: root/dev-python/vector
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/vector')
-rw-r--r--dev-python/vector/Manifest1
-rw-r--r--dev-python/vector/vector-1.6.3.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/vector/Manifest b/dev-python/vector/Manifest
index aacca04214d2..5a4771bd6f76 100644
--- a/dev-python/vector/Manifest
+++ b/dev-python/vector/Manifest
@@ -1 +1,2 @@
DIST vector-1.6.2.tar.gz 350018 BLAKE2B 17a8a22a98261b25c12e4c04ab0a4963920edb47f333d66fa21559f55b5019df18aad50a83fc793853f6bd29dc61b5c218029792ddce8a3ca9e02a1d53e26894 SHA512 6dc118fd22db66fb207bd0003b3aa0ce14cfe1a25e684b3b75a1518300cc687e605dea6c0d8d78d61233bc267997a8f62543a19ae1e094a22c387c8c7ec4a3d8
+DIST vector-1.6.3.tar.gz 352886 BLAKE2B 52b5bbb88ab3fce6c6feececc159b16f38ce0fbf4c78b2446011ec581c65dd2b50087a58ae39f53ee39263e8c4c1c32bf0594ca2e6cfb33b00f3c541125c4656 SHA512 ebd176f4901c087fe4b8ce91787633c11a59fe9aa3485cde9f06995aa78f14d7b3f8ea6d9cae55a8a5f92fa8c6ab4b90fa4aabc32317c5cc5425b5836f7fdc80
diff --git a/dev-python/vector/vector-1.6.3.ebuild b/dev-python/vector/vector-1.6.3.ebuild
new file mode 100644
index 000000000000..1ceef3902790
--- /dev/null
+++ b/dev-python/vector/vector-1.6.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10,11,12,13} )
+DISTUTILS_USE_PEP517=hatchling
+
+inherit distutils-r1 pypi optfeature
+
+DESCRIPTION="Vector classes and utilities"
+HOMEPAGE="
+ https://github.com/scikit-hep/vector
+ https://pypi.org/project/vector/
+ https://vector.readthedocs.io/
+ https://doi.org/10.5281/zenodo.7054478
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}]
+ >=dev-python/packaging-19[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
+ test? (
+ dev-python/awkward[${PYTHON_USEDEP}]
+ dev-python/sympy[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_IGNORE=(
+ # no module named papermill
+ tests/test_notebooks.py
+ # testing for exact (not mathematical) equality against sympy
+ # which changes without being wrong...
+ tests/compute/sympy/lorentz/
+)
+
+EPYTEST_PLUGINS=()
+
+distutils_enable_tests pytest
+
+pkg_postinst() {
+ optfeature "awkward array support" dev-python/awkward
+ optfeature "sympy support" dev-python/sympy
+}