diff mbox series

[meta-python] python3-vector: add initial recipe for version 1.6.2

Message ID 20250714124233.3427031-1-dev@g0hl1n.net
State Under Review
Headers show
Series [meta-python] python3-vector: add initial recipe for version 1.6.2 | expand

Commit Message

Richard Leitner July 14, 2025, 12:42 p.m. UTC
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>
---
 .../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 mbox series

Patch

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 \
+"