From 1e65f6bc278b3a65eb1ddf0394d195c6372531ae Mon Sep 17 00:00:00 2001 From: Richard Leitner Date: Mon, 14 Jul 2025 14:42:33 +0200 Subject: 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 Signed-off-by: Khem Raj --- .../python/python3-vector_1.6.2.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-vector_1.6.2.bb diff --git a/meta-python/recipes-devtools/python/python3-vector_1.6.2.bb b/meta-python/recipes-devtools/python/python3-vector_1.6.2.bb new file mode 100644 index 0000000000..9452a838b3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-vector_1.6.2.bb @@ -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 \ +" -- cgit v1.2.3-54-g00ecf