diff options
| author | alperak <alperyasinak1@gmail.com> | 2024-03-07 16:01:43 +0300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-03-08 10:07:26 -0800 |
| commit | 8cb9b358393d6f411000c0db2a166eec9d4648a1 (patch) | |
| tree | 4fec68fb64a7702c052be345941913fcd137775a /meta-python/recipes-devtools/python/python3-traitlets_5.14.1.bb | |
| parent | 9c6e4d467c786dcc09cefe4b997982c48d6c3cc9 (diff) | |
| download | meta-openembedded-8cb9b358393d6f411000c0db2a166eec9d4648a1.tar.gz | |
python3-traitlets: add ptest and update runtime dependencies
* Upstream provides a pyproject.toml and updated runtime dependencies accordingly to it.
* Ptest tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_SLOW_META_PYTHON
Ptest result:
==============
qemux86-64:
Testsuite summary
TOTAL: 567
PASS: 567
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 48
END: /usr/lib/python3-traitlets/ptest
2024-03-07T12:37
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 567
PASS: 567
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 41
END: /usr/lib/python3-traitlets/ptest
2024-03-07T12:41
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-traitlets_5.14.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-traitlets_5.14.1.bb | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/meta-python/recipes-devtools/python/python3-traitlets_5.14.1.bb b/meta-python/recipes-devtools/python/python3-traitlets_5.14.1.bb index e650906aa9..3a65427850 100644 --- a/meta-python/recipes-devtools/python/python3-traitlets_5.14.1.bb +++ b/meta-python/recipes-devtools/python/python3-traitlets_5.14.1.bb | |||
| @@ -1,13 +1,26 @@ | |||
| 1 | SUMMARY = "Traitlets Python config system" | 1 | SUMMARY = "Traitlets Python config system" |
| 2 | HOMEPAGE = "http://ipython.org" | 2 | HOMEPAGE = "https://github.com/ipython/traitlets" |
| 3 | LICENSE = "BSD-3-Clause" | 3 | LICENSE = "BSD-3-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=13bed0ee6f46a6f6dbf1f9f9572f250a" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=13bed0ee6f46a6f6dbf1f9f9572f250a" |
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "8585105b371a04b8316a43d5ce29c098575c2e477850b62b848b964f1444527e" | 6 | SRC_URI[sha256sum] = "8585105b371a04b8316a43d5ce29c098575c2e477850b62b848b964f1444527e" |
| 7 | 7 | ||
| 8 | inherit pypi python_hatchling | 8 | inherit pypi python_hatchling ptest |
| 9 | 9 | ||
| 10 | RDEPENDS:${PN} = "\ | 10 | SRC_URI += " \ |
| 11 | python3-ipython-genutils \ | 11 | file://run-ptest \ |
| 12 | python3-decorator \ | ||
| 13 | " | 12 | " |
| 13 | |||
| 14 | RDEPENDS:${PN}-ptest += " \ | ||
| 15 | python3-argcomplete \ | ||
| 16 | bash \ | ||
| 17 | python3-mypy \ | ||
| 18 | python3-pytest \ | ||
| 19 | python3-pytest-mock \ | ||
| 20 | python3-unittest-automake-output \ | ||
| 21 | " | ||
| 22 | |||
| 23 | do_install_ptest() { | ||
| 24 | install -d ${D}${PTEST_PATH}/tests | ||
| 25 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 26 | } | ||
