summaryrefslogtreecommitdiff
path: root/dev-python/vector
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/vector')
-rw-r--r--dev-python/vector/Manifest2
-rw-r--r--dev-python/vector/vector-1.9.0.ebuild50
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/vector/Manifest b/dev-python/vector/Manifest
index 68cec98f63ab..84188eab90e2 100644
--- a/dev-python/vector/Manifest
+++ b/dev-python/vector/Manifest
@@ -1,2 +1,4 @@
DIST vector-1.8.1.tar.gz 387964 BLAKE2B 2597dfbcae38c4abf81c1790c567e9a2e5a15ed1970337ab4eb3aebc0b1e1e2a7754007366289d06f80b566b5147e6d78e58b28765c7468fa7c92c4da99a4156 SHA512 284c30a3e10563adc6376fee9ab008555052c8ed37240daf3e2c85c0fa396e4e4cebdb52ae5178fa6be307feccc2befc07b6b2f3095ef2873695226b13675f84
DIST vector-1.8.1.tar.gz.provenance 9438 BLAKE2B 32036877fe798eb0a55e68eea8db0a4484ad54d2497b10123762ae5f338bfe75b444b74ab066593c417a61c6e95386349470368363dd49628c77aa0dce881fad SHA512 ef611d21c83603c7b52ee64223fc3695a639e0195956aa4cc68cba247103eda64040944aac2c455d2d76a8a43bc039e9d5731dfcf5514b755ed91c94bfcf1a67
+DIST vector-1.9.0.tar.gz 418311 BLAKE2B 455f6070212ca2c355d21ce826f9a38b24809706e645f7663309d0655fb7e3dec6042936da14269a10f1ddb0f67294ab68ef6a1b7f78e130fedac25dce6d374b SHA512 158b7498085546057509fbbacef5a161680af48fb303d94cbe365dd016ebf96a9fa2e6929270df2a39579e225a1c1b30c9b2725b565434d20c465dae722797d4
+DIST vector-1.9.0.tar.gz.provenance 9824 BLAKE2B 79ce0b150884b8e984d964702ae54d00bbb43253f7506ac6963a55bdd9ee2ccccffd6f00426c0011add3cd4ed45f4bb56f2d3bee3d3f34fb73232d240b9d1fe7 SHA512 5555dcd082d628ca709b9eedc05bcba3a4489b5c6cf0abcde7751a79a4130f026df71c09f0042e839a9651f48998037b7db9c7489ad7d66f95fe1b57d16e4356
diff --git a/dev-python/vector/vector-1.9.0.ebuild b/dev-python/vector/vector-1.9.0.ebuild
new file mode 100644
index 000000000000..ba7e2779a1b7
--- /dev/null
+++ b/dev-python/vector/vector-1.9.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2025-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{13..14} )
+PYPI_VERIFY_REPO=https://github.com/scikit-hep/vector
+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.19.3[${PYTHON_USEDEP}]
+ >=dev-python/packaging-20[${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
+}