Skip to contentSkip to conversation

python3-booleanpy: add recipe

PATCH In review Peter Kolbus 2 participants 4 messages Dec 27, 2019 – Dec 28, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-booleanpy: add recipe

boolean.py is a library to define and parse boolean algebras. It is used by python3-license-expression.

---
 .../recipes-devtools/python/python-booleanpy.inc   | 14 ++++++++++++++
 .../python/python3-booleanpy_3.7.bb                |  2 ++
 2 files changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-booleanpy.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-booleanpy_3.7.bb
meta-python/recipes-devtools/python/python-booleanpy.inc new file +14 -0
new file mode 100644
index 000000000..4484af29b
@@ -0,0 +1,14 @@
+SUMMARY = "Define boolean algebras, create and parse boolean expressions and create custom boolean DSL"
+HOMEPAGE = "https://github.com/bastikr/boolean.py"
+
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7f538584cc3407bf76042def7168548a"
+
+SRC_URI[md5sum] = "1189d115a38f84f5df743014926a9159"
+SRC_URI[sha256sum] = "bd19b412435611ecc712603d0fd7d0e280e24698e7a6e3d5f610473870c5dd1e"
+
+PYPI_PACKAGE = "boolean.py"
+
+inherit pypi
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-booleanpy_3.7.bb new file +2 -0
new file mode 100644
index 000000000..5f8602d18
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-booleanpy.inc
Signature · 1 line
2.24.1
#1 lore raw

PATCH 2/2 python3-license-expression: add recipe

python3-license-expression is a utility library to parse and work with license expressions.

---
 .../python/python-license-expression.inc         | 16 ++++++++++++++++
 .../python/python3-license-expression_1.0.bb     |  2 ++
 2 files changed, 18 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-license-expression.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-license-expression_1.0.bb
meta-python/recipes-devtools/python/python-license-expression.inc new file +16 -0
new file mode 100644
index 000000000..5b18f2e96
@@ -0,0 +1,16 @@
+SUMMARY = "Utility library to parse, compare, simplify and normalize license expressions"
+HOMEPAGE = "https://github.com/nexB/license-expression"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=7f538584cc3407bf76042def7168548a"
+
+SRC_URI[md5sum] = "81477f779099f55071c6a7b88a29bb01"
+SRC_URI[sha256sum] = "8aaa455c5b97c4f2174090178b19792b2a1c620e80591aafd4e0a99b713f9e8d"
+
+inherit pypi
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-booleanpy \
+    "
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-license-expression_1.0.bb new file +2 -0
new file mode 100644
index 000000000..10a702ca4
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-license-expression.inc
Signature · 1 line
2.24.1
#2 lore raw

Re: [meta-python][PATCH 2/2] python3-license-expression: add recipe

License checksum fails
http://errors.yoctoproject.org/Errors/Details/300493/

Quoted 50 lines · Peter Kolbus

python3-license-expression is a utility library to parse and work with license expressions.

---
 .../python/python-license-expression.inc         | 16 ++++++++++++++++
 .../python/python3-license-expression_1.0.bb     |  2 ++
 2 files changed, 18 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-license-expression.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-license-expression_1.0.bb
meta-python/recipes-devtools/python/python-license-expression.inc new file +16 -0
new file mode 100644
index 000000000..5b18f2e96
@@ -0,0 +1,16 @@
+SUMMARY = "Utility library to parse, compare, simplify and normalize license expressions"
+HOMEPAGE = "https://github.com/nexB/license-expression"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=7f538584cc3407bf76042def7168548a"
+
+SRC_URI[md5sum] = "81477f779099f55071c6a7b88a29bb01"
+SRC_URI[sha256sum] = "8aaa455c5b97c4f2174090178b19792b2a1c620e80591aafd4e0a99b713f9e8d"
+
+inherit pypi
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-booleanpy \
+    "
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-license-expression_1.0.bb new file +2 -1
new file mode 100644
index 000000000..10a702ca4
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-license-expression.inc
--

2.24.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw
In reply to Peter Kolbus

license checksum fails

http://errors.yoctoproject.org/Errors/Details/300491/

Quoted 48 lines · Peter Kolbus

boolean.py is a library to define and parse boolean algebras. It is used by python3-license-expression.

---
 .../recipes-devtools/python/python-booleanpy.inc   | 14 ++++++++++++++
 .../python/python3-booleanpy_3.7.bb                |  2 ++
 2 files changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-booleanpy.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-booleanpy_3.7.bb
meta-python/recipes-devtools/python/python-booleanpy.inc new file +14 -0
new file mode 100644
index 000000000..4484af29b
@@ -0,0 +1,14 @@
+SUMMARY = "Define boolean algebras, create and parse boolean expressions and create custom boolean DSL"
+HOMEPAGE = "https://github.com/bastikr/boolean.py"
+
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7f538584cc3407bf76042def7168548a"
+
+SRC_URI[md5sum] = "1189d115a38f84f5df743014926a9159"
+SRC_URI[sha256sum] = "bd19b412435611ecc712603d0fd7d0e280e24698e7a6e3d5f610473870c5dd1e"
+
+PYPI_PACKAGE = "boolean.py"
+
+inherit pypi
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-booleanpy_3.7.bb new file +2 -1
new file mode 100644
index 000000000..5f8602d18
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-booleanpy.inc
--

2.24.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel