diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-12-16 18:58:40 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-12-20 11:41:02 -0800 |
| commit | 1545689c4ae29e654bcde70eba80e6d000dc567f (patch) | |
| tree | eb8ae9a14e524a92f66052984388d347225639c6 /meta-python | |
| parent | 8820efb4450fcb6075dafa39af2ad9b9ee09f1b2 (diff) | |
| download | meta-openembedded-1545689c4ae29e654bcde70eba80e6d000dc567f.tar.gz | |
python3-pyro5: add recipe
Pyro enables you to build applications in which objects can talk to each
other over the network, with minimal programming effort.
Successor to the python3-pyro4 package - but this supports modern Python,
and still maintained (under the same umbrella that developed pyro4 also).
Ptest takes around a minute to execute. Sample output:
root@qemux86-64:~# ptest-runner
START: ptest-runner
2025-12-16T17:48
BEGIN: /usr/lib/python3-pyro5/ptest
PASS: tests/test_api.py:test_api
PASS: tests/test_client.py:TestProxy.testBasics
PASS: tests/test_client.py:TestProxy.testProxyCopy
[...many lines...]
PASS: tests/test_threadpool.py:TestThreadPool.testClose
PASS: tests/test_threadpool.py:TestThreadPool.testScaling
PASS: tests/test_threadpool.py:TestThreadPoolServer.testServerPoolFull
============================================================================
Testsuite summary
# TOTAL: 415
# PASS: 410
# SKIP: 5
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
DURATION: 60
END: /usr/lib/python3-pyro5/ptest
2025-12-16T17:49
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
3 files changed, 29 insertions, 0 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index e575b372b5..cef905a528 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc | |||
| @@ -134,6 +134,7 @@ PTESTS_SLOW_META_PYTHON = "\ | |||
| 134 | python3-pillow \ | 134 | python3-pillow \ |
| 135 | python3-pint \ | 135 | python3-pint \ |
| 136 | python3-pykickstart \ | 136 | python3-pykickstart \ |
| 137 | python3-pyro5 \ | ||
| 137 | python3-pytest-localserver \ | 138 | python3-pytest-localserver \ |
| 138 | python3-scrypt \ | 139 | python3-scrypt \ |
| 139 | python3-traitlets \ | 140 | python3-traitlets \ |
diff --git a/meta-python/recipes-connectivity/python-pyro5/python3-pyro5_5.15.bb b/meta-python/recipes-connectivity/python-pyro5/python3-pyro5_5.15.bb new file mode 100644 index 0000000000..eb6fab27cb --- /dev/null +++ b/meta-python/recipes-connectivity/python-pyro5/python3-pyro5_5.15.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | SUMMARY = "Python Remote Objects" | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c9ccd5f4ca5d0f5057c0e690a0153d" | ||
| 4 | |||
| 5 | SRC_URI[sha256sum] = "82c3dfc9860b49f897b28ff24fe6716c841672c600af8fe40d0e3a7fac9a3f5e" | ||
| 6 | |||
| 7 | PYPI_PACKAGE = "Pyro5" | ||
| 8 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
| 9 | |||
| 10 | inherit pypi setuptools3 ptest-python-pytest | ||
| 11 | |||
| 12 | RDEPENDS:${PN} += " \ | ||
| 13 | python3-json \ | ||
| 14 | python3-logging \ | ||
| 15 | python3-serpent \ | ||
| 16 | python3-threading \ | ||
| 17 | " | ||
| 18 | |||
| 19 | RDEPENDS:${PN}-ptest += " \ | ||
| 20 | python3-html \ | ||
| 21 | python3-misc \ | ||
| 22 | python3-sqlite3 \ | ||
| 23 | " | ||
| 24 | |||
| 25 | do_install_ptest:append(){ | ||
| 26 | cp -r ${S}/certs ${D}${PTEST_PATH}/ | ||
| 27 | } | ||
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index 37c8e868d3..2ff88e6264 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb | |||
| @@ -335,6 +335,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ | |||
| 335 | python3-pyperclip \ | 335 | python3-pyperclip \ |
| 336 | python3-pyperf \ | 336 | python3-pyperf \ |
| 337 | python3-pyrad \ | 337 | python3-pyrad \ |
| 338 | python3-pyro5 \ | ||
| 338 | python3-pyroute2 \ | 339 | python3-pyroute2 \ |
| 339 | python3-pyrsistent \ | 340 | python3-pyrsistent \ |
| 340 | python3-pyscaffold \ | 341 | python3-pyscaffold \ |
