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>
This commit is contained in:
Gyorgy Sarvari 2025-12-16 18:58:40 +01:00 committed by Khem Raj
parent 8820efb445
commit 1545689c4a
No known key found for this signature in database
GPG Key ID: BB053355919D3314
3 changed files with 29 additions and 0 deletions

View File

@ -134,6 +134,7 @@ PTESTS_SLOW_META_PYTHON = "\
python3-pillow \
python3-pint \
python3-pykickstart \
python3-pyro5 \
python3-pytest-localserver \
python3-scrypt \
python3-traitlets \

View File

@ -0,0 +1,27 @@
SUMMARY = "Python Remote Objects"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c9ccd5f4ca5d0f5057c0e690a0153d"
SRC_URI[sha256sum] = "82c3dfc9860b49f897b28ff24fe6716c841672c600af8fe40d0e3a7fac9a3f5e"
PYPI_PACKAGE = "Pyro5"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
inherit pypi setuptools3 ptest-python-pytest
RDEPENDS:${PN} += " \
python3-json \
python3-logging \
python3-serpent \
python3-threading \
"
RDEPENDS:${PN}-ptest += " \
python3-html \
python3-misc \
python3-sqlite3 \
"
do_install_ptest:append(){
cp -r ${S}/certs ${D}${PTEST_PATH}/
}

View File

@ -335,6 +335,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
python3-pyperclip \
python3-pyperf \
python3-pyrad \
python3-pyro5 \
python3-pyroute2 \
python3-pyrsistent \
python3-pyscaffold \