summaryrefslogtreecommitdiff
path: root/dev-python/vector/vector-1.6.3.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-07-17 19:04:39 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-07-17 19:04:39 +0000
commit9b372916e2e3b7b1ee8f4331c61b919fdf5e5d9f (patch)
tree9573ac17505e70937926986e94bf23174d44ac7c /dev-python/vector/vector-1.6.3.ebuild
parent858d93304d3e0ad44bdc08d8b480df13f2ed29cb (diff)
downloadbaldeagleos-repo-9b372916e2e3b7b1ee8f4331c61b919fdf5e5d9f.tar.gz
baldeagleos-repo-9b372916e2e3b7b1ee8f4331c61b919fdf5e5d9f.tar.xz
baldeagleos-repo-9b372916e2e3b7b1ee8f4331c61b919fdf5e5d9f.zip
Adding metadata
Diffstat (limited to 'dev-python/vector/vector-1.6.3.ebuild')
-rw-r--r--dev-python/vector/vector-1.6.3.ebuild50
1 files changed, 50 insertions, 0 deletions
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
+}