Skip to contentSkip to conversation

python3-vector: add initial recipe for version 1.6.2

PATCH New Richard Leitner 1 participant 1 message Jul 14, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 .../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
meta-python/recipes-devtools/python/python3-vector_1.6.2.bb new file +22 -0
new file mode 100644
index 0000000000..9452a838b3
@@ -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 \
+"
Signature · 1 line
2.47.2