commit:     b59e22f2965cbbb4a3bad85baa1889e29edd33a9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 22 02:39:42 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 22 02:45:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b59e22f2

dev-python/vector: Bump to 1.7.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/vector/Manifest            |  2 ++
 dev-python/vector/vector-1.7.0.ebuild | 50 +++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/vector/Manifest b/dev-python/vector/Manifest
index f0b37bdb66fb..562a2dd42522 100644
--- a/dev-python/vector/Manifest
+++ b/dev-python/vector/Manifest
@@ -1 +1,3 @@
 DIST vector-1.6.3.tar.gz 352886 BLAKE2B 
52b5bbb88ab3fce6c6feececc159b16f38ce0fbf4c78b2446011ec581c65dd2b50087a58ae39f53ee39263e8c4c1c32bf0594ca2e6cfb33b00f3c541125c4656
 SHA512 
ebd176f4901c087fe4b8ce91787633c11a59fe9aa3485cde9f06995aa78f14d7b3f8ea6d9cae55a8a5f92fa8c6ab4b90fa4aabc32317c5cc5425b5836f7fdc80
+DIST vector-1.7.0.tar.gz 386607 BLAKE2B 
96689863e1e602d64bbbf694b62afeb69f2487d2232178fd5b3352a1d757023d62e2a0e98003d113e34d3eb1794a7fa03701fc2040d353ae5ad6bcede26ab320
 SHA512 
de2b7c775e8db0d1797d43c2541fb4e8f118e616b1875d48fbc3bd6a1a08013319b0e576bffd8d3178791483468cb690295ed58e3626f16d7a05650e9ddbbb80
+DIST vector-1.7.0.tar.gz.provenance 9150 BLAKE2B 
b9d5804f99c9df10986e0d92fa09388aa66bf502e9fa4069ec25b7eddff79a69dc8b6fb017c5f6baeaa404a1f8e5d0916d19077846b05f1e7afb3523815cec06
 SHA512 
13f9a72f0079cd27228d701fa13342546900c05666c97cf821c29c0b750e0a56c94d0121d57b8a4cc474a8a5c4598e36fd5247d7ee9131146574ab1097481496

diff --git a/dev-python/vector/vector-1.7.0.ebuild 
b/dev-python/vector/vector-1.7.0.ebuild
new file mode 100644
index 000000000000..614b90167bfa
--- /dev/null
+++ b/dev-python/vector/vector-1.7.0.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_{11..13} )
+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
+}

Reply via email to