python3-vector: add initial recipe for version 1.6.2

Add support for the python3 vector library. Vector is a Python
library for 2D and 3D spatial vectors, as well as 4D space-time
vectors. It is especially intended for performing geometric
calculations on arrays of vectors, rather than one vector at a time
in a Python for loop.

Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Richard Leitner 2025-07-14 14:42:33 +02:00 committed by Khem Raj
parent cafce95171
commit 1e65f6bc27
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -0,0 +1,22 @@
SUMMARY = "Python library for arrays of 2D, 3D, and Lorentz vectors"
DESCRIPTION = "\
Vector is a Python library for 2D and 3D spatial vectors, as well as 4D space-time vectors. \
It is especially intended for performing geometric calculations on arrays of vectors, rather \
than one vector at a time in a Python for loop.\
"
HOMEPAGE = "https://github.com/scikit-hep/vector"
BUGTRACKER = "https://github.com/scikit-hep/vector/issues"
SECTION = "devel/python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2963f0dc7a24919505850460dd1a785b"
DEPENDS += "python3-hatch-vcs-native"
SRC_URI[sha256sum] = "6e59d9db8b615016fa542a2e8150d0c819046fe6940badd267811a454a7f0eca"
inherit pypi python_hatchling
RDEPENDS:${PN} += "\
python3-numpy \
python3-packaging \
"