Skip to contentSkip to conversation

python3-packageurl-python: add recipe

PATCH New Samuli Piippo 1 participant 3 messages May 5

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 python3-packageurl-python: add recipe

Python library to parse and build “purl” aka. Package URLs.

---
 .../python/python3-packageurl-python_0.17.6.bb       | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-packageurl-python_0.17.6.bb
meta-python/recipes-devtools/python/python3-packageurl-python_0.17.6.bb new file +12 -0
new file mode 100644
index 0000000000..4ae0f3a824
@@ -0,0 +1,12 @@
+SUMMARY = "A purl aka. Package URL parser and builder"
+HOMEPAGE = "https://github.com/package-url/packageurl-python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://mit.LICENSE;md5=ec425c78d8beabdb209b01c5fbcd38e0"
+
+SRC_URI[sha256sum] = "1252ce3a102372ca6f86eb968e16f9014c4ba511c5c37d95a7f023e2ca6e5c25"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "packageurl_python"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/3 python3-py-serializable: add recipe

This Pythonic library provides a framework for serializing/ deserializing Python classes to and from JSON and XML

---
 .../python/python3-py-serializable_2.1.0.bb        | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-py-serializable_2.1.0.bb
meta-python/recipes-devtools/python/python3-py-serializable_2.1.0.bb new file +14 -0
new file mode 100644
index 0000000000..8e2a6111d7
@@ -0,0 +1,14 @@
+SUMMARY = "Library for serializing and deserializing Python Objects to and from JSON and XML."
+HOMEPAGE = "https://github.com/madpah/serializable"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+
+SRC_URI[sha256sum] = "9d5db56154a867a9b897c0163b33a793c804c80cee984116d02d49e4578fc103"
+
+inherit pypi python_poetry_core
+
+PYPI_PACKAGE = "py_serializable"
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN} += "python3-defusedxml"
Signature · 1 line
2.43.0
#2 lore raw

PATCH 3/3 python3-cyclonedx-python-lib: add recipe

In reply to Samuli Piippo

OWASP CycloneDX is a full-stack Bill of Materials (BOM) standard that provides advanced supply chain capabilities for cyber risk reduction.

This Python package provides data models, validators and more, to help you create/render/read CycloneDX documents.

---
 .../python3-cyclonedx-python-lib_11.7.0.bb    | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-cyclonedx-python-lib_11.7.0.bb
meta-python/recipes-devtools/python/python3-cyclonedx-python-lib_11.7.0.bb new file +19 -0
new file mode 100644
index 0000000000..56c108c6fe
@@ -0,0 +1,19 @@
+SUMMARY = "Python library for CycloneDX"
+HOMEPAGE = "https://github.com/CycloneDX/cyclonedx-python-lib/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+
+SRC_URI[sha256sum] = "fb1bc3dedfa31208444dbd743007f478ab6984010a184e5bd466bffd969e936e"
+
+inherit pypi python_poetry_core
+
+PYPI_PACKAGE = "cyclonedx_python_lib"
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS:${PN} = "\
+    python3-py-serializable \
+    python3-sortedcontainers \
+    python3-jsonschema \
+    python3-referencing \
+"
Signature · 1 line
2.43.0