From ba06d021fa2243c3f49b809eb6cf06f47a881cea Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 9 May 2025 19:35:25 +0000 Subject: Adding metadata --- dev-python/vector/vector-1.6.2.ebuild | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 dev-python/vector/vector-1.6.2.ebuild (limited to 'dev-python/vector/vector-1.6.2.ebuild') diff --git a/dev-python/vector/vector-1.6.2.ebuild b/dev-python/vector/vector-1.6.2.ebuild new file mode 100644 index 000000000000..d52f66d559ab --- /dev/null +++ b/dev-python/vector/vector-1.6.2.ebuild @@ -0,0 +1,44 @@ +# 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}] +" + +pkg_postinst() { + optfeature "awkward array support" dev-python/awkward + optfeature "sympy support" dev-python/sympy +} + +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/ +) + +distutils_enable_tests pytest -- cgit v1.3.1