diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-09 19:35:25 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-05-09 19:35:25 +0000 |
| commit | ba06d021fa2243c3f49b809eb6cf06f47a881cea (patch) | |
| tree | fb51e62413b41dfbef195d3465ffde4056157e47 /dev-python/vector | |
| parent | 3dc27067f5e12af168623c205d85522b92d1e8d9 (diff) | |
| download | baldeagleos-repo-ba06d021fa2243c3f49b809eb6cf06f47a881cea.tar.gz baldeagleos-repo-ba06d021fa2243c3f49b809eb6cf06f47a881cea.tar.xz baldeagleos-repo-ba06d021fa2243c3f49b809eb6cf06f47a881cea.zip | |
Adding metadata
Diffstat (limited to 'dev-python/vector')
| -rw-r--r-- | dev-python/vector/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/vector/metadata.xml | 25 | ||||
| -rw-r--r-- | dev-python/vector/vector-1.6.2.ebuild | 44 |
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-python/vector/Manifest b/dev-python/vector/Manifest new file mode 100644 index 000000000000..aacca04214d2 --- /dev/null +++ b/dev-python/vector/Manifest @@ -0,0 +1 @@ +DIST vector-1.6.2.tar.gz 350018 BLAKE2B 17a8a22a98261b25c12e4c04ab0a4963920edb47f333d66fa21559f55b5019df18aad50a83fc793853f6bd29dc61b5c218029792ddce8a3ca9e02a1d53e26894 SHA512 6dc118fd22db66fb207bd0003b3aa0ce14cfe1a25e684b3b75a1518300cc687e605dea6c0d8d78d61233bc267997a8f62543a19ae1e094a22c387c8c7ec4a3d8 diff --git a/dev-python/vector/metadata.xml b/dev-python/vector/metadata.xml new file mode 100644 index 000000000000..6176ac5e08eb --- /dev/null +++ b/dev-python/vector/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>alexander@neuwirth-informatik.de</email> + <name>Alexander Puck Neuwirth</name> + </maintainer> + <maintainer type="person"> + <email>nowa@gentoo.org</email> + <name>Nowa Ammerlaan</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>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file 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 |
