diff options
Diffstat (limited to 'dev-python/vector')
| -rw-r--r-- | dev-python/vector/Manifest | 4 | ||||
| -rw-r--r-- | dev-python/vector/metadata.xml | 20 | ||||
| -rw-r--r-- | dev-python/vector/vector-1.8.0.ebuild | 50 | ||||
| -rw-r--r-- | dev-python/vector/vector-1.8.1.ebuild | 50 |
4 files changed, 124 insertions, 0 deletions
diff --git a/dev-python/vector/Manifest b/dev-python/vector/Manifest new file mode 100644 index 000000000000..0a39e3b6da58 --- /dev/null +++ b/dev-python/vector/Manifest @@ -0,0 +1,4 @@ +DIST vector-1.8.0.tar.gz 387493 BLAKE2B f858c435f1a6ba4c2bd2fa609171e207fe06494fa125fbe266535404d4834e9f2b72ca0a3ca6b805e34b8e6221778553c6b96cf72d95f79a76f58e84531b1156 SHA512 2c8129f548285b8bbcfbbaf084358dd15fe11ac3de2b3646b6434a3ed26bb85124b4957f736e6aa24d43fb6e8c35726eea7c5260b6e27a4315ea3500cc2a2bf6 +DIST vector-1.8.0.tar.gz.provenance 9195 BLAKE2B 4cbd5974ae64e9dfc39c4540f087474e86b8d0afe5951f0163c8c36c207d9a6ac417e43941b7ca33bf266701709146d3ece90c74eeb8f070c45f40b5c8e466a4 SHA512 dd494c9c5b7fa2f2e6972cbd73e2c79fa7c329aea751005b256339b5b6e9793c905bfb1d58b989fd0e758271cc451edb871e7bb912259e2285326cb430d2cfdc +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 diff --git a/dev-python/vector/metadata.xml b/dev-python/vector/metadata.xml new file mode 100644 index 000000000000..935b136cb8c1 --- /dev/null +++ b/dev-python/vector/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>apn-pucky@gentoo.org</email> + <name>Alexander Puck Neuwirth</name> + </maintainer> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription lang="en"> + Vector is a Python 3.8+ library (Python 3.6 and 3.7 supported till v0.9.0 and v1.0.0, respectively) for 2D, 3D, and Lorentz vectors, especially arrays of vectors, to solve common physics problems in a NumPy-like way. + </longdescription> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/vector/vector-1.8.0.ebuild b/dev-python/vector/vector-1.8.0.ebuild new file mode 100644 index 000000000000..ba7e2779a1b7 --- /dev/null +++ b/dev-python/vector/vector-1.8.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 +} diff --git a/dev-python/vector/vector-1.8.1.ebuild b/dev-python/vector/vector-1.8.1.ebuild new file mode 100644 index 000000000000..ba7e2779a1b7 --- /dev/null +++ b/dev-python/vector/vector-1.8.1.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 +} |
