diff options
| author | Crucible <crucible@localhost> | 2026-09-22 18:47:35 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-09-22 18:47:35 -0500 |
| commit | cde96c5ea0c81397fd3214d455a374f76179a7aa (patch) | |
| tree | 12c86d59eb88887c244b1145411db084ae5a6c1f /dev-python/vector/vector-1.9.0.ebuild | |
| parent | 47516b9667518dacb1efd6d257f7b3e6a481ec93 (diff) | |
| download | baldeagleos-repo-cde96c5ea0c81397fd3214d455a374f76179a7aa.tar.gz baldeagleos-repo-cde96c5ea0c81397fd3214d455a374f76179a7aa.tar.xz baldeagleos-repo-cde96c5ea0c81397fd3214d455a374f76179a7aa.zip | |
Publish baldeagleos-repo candidate 0000000325-20260922-184323
Diffstat (limited to 'dev-python/vector/vector-1.9.0.ebuild')
| -rw-r--r-- | dev-python/vector/vector-1.9.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
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 +} |
