Skip to contentSkip to conversation

python3-jsonrpcclient: Added the jsonrpcclient Python package

PATCH New Jan Vermaete 1 participant 3 messages Jul 17, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 python3-jsonrpcclient: Added the jsonrpcclient Python package

---
 .../python/python3-jsonrpcclient_4.0.2.bb          | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-jsonrpcclient_4.0.2.bb
meta-python/recipes-devtools/python/python3-jsonrpcclient_4.0.2.bb new file +14 -0
new file mode 100644
index 000000000..26ee3786b
@@ -0,0 +1,14 @@
+SUMMARY = "Generate JSON-RPC requests and parse responses in Python"
+HOMEPAGE = "https://github.com/explodinglabs/jsonrpcclient"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=10f3d7679914df805c98fb351172e677"
+
+SRC_URI[sha256sum] = "c0d475494b3e1b591ecdee7883739accaf5695edb673f16b7383b8c6bbdb1ca3"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += "\
+    python3-core \
+"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/3 python3-oslash: added the oslash Python package

This is needed as rdepends of the python3-jsonrpcserver package in version 5.0.7. Is should not be needed anymore in the 6.x version.

---
 .../python/python3-oslash_0.6.3.bb            | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-oslash_0.6.3.bb
meta-python/recipes-devtools/python/python3-oslash_0.6.3.bb new file +21 -0
new file mode 100644
index 000000000..d9d977b70
@@ -0,0 +1,21 @@
+SUMMARY = "Functors, Applicatives, And Monads in Python"
+HOMEPAGE = "https://github.com/dbrattli/oslash"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://README.md;md5=ed79d2637878dfe97de89e357b5c02dd"
+
+DEPENDS += "\
+    ${PYTHON_PN}-pip-native \
+    ${PYTHON_PN}-pytest-runner-native\
+"
+
+SRC_URI[sha256sum] = "868aeb58a656f2ed3b73d9dd6abe387b20b74fc9413d3e8653b615b15bf728f3"
+
+PYPI_PACKAGE = "OSlash"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += "\
+    python3-core \
+"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1
#2 lore raw

PATCH 3/3 python3-jsonrpcserver: added the python3-oslash rdepends

In reply to Jan Vermaete

This one is needed for version 5.0.7.
And should not be needed anymore for version 6.x.

---
 .../recipes-devtools/python/python3-jsonrpcserver_5.0.7.bb     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-jsonrpcserver_5.0.7.bb +2 -1
index 537fd3313..12e900379 100644
@@ -1,5 +1,5 @@
 SUMMARY = "Library to process JSON-RPC requests"
-HOMEPAGE = "https://github.com/bcb/jsonrpcserver"
+HOMEPAGE = "https://github.com/explodinglabs/jsonrpcserver"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=61b63ea9d36f6fb63ddaaaac8265304f"
 
@@ -16,6 +16,7 @@ RDEPENDS:${PN} += "\
     python3-logging \
     python3-netclient \
     python3-pkgutil \
+    python3-oslash \
 "
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1