diff options
| author | Tim Orling <tim.orling@konsulko.com> | 2026-02-03 11:13:52 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-02-06 10:06:19 -0800 |
| commit | 73dbdc65fcd40fdaa8bd1627d252f794e6b1e8d9 (patch) | |
| tree | c4e5f46c1457f906b52506dbe6f26c7cf59e5a42 /meta-python | |
| parent | 64139e703be26855614ae0781b93b431b35343b3 (diff) | |
| download | meta-openembedded-73dbdc65fcd40fdaa8bd1627d252f794e6b1e8d9.tar.gz | |
python3-tokenize-rt: add at v6.2.0
A wrapper around the stdlib `tokenize` which roundtrips.
Dependency for python3-time-machine ptests.
Use git fetcher so we have tests/ and testing/resources/ for ptest.
Testsuite summary
TOTAL: 45
PASS: 45
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 8
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/conf/include/ptest-packagelists-meta-python.inc | 1 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb | 21 |
2 files changed, 22 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 a84718b704..bece6304e8 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc | |||
| @@ -105,6 +105,7 @@ PTESTS_FAST_META_PYTHON = "\ | |||
| 105 | python3-starlette \ | 105 | python3-starlette \ |
| 106 | python3-tblib \ | 106 | python3-tblib \ |
| 107 | python3-tenacity \ | 107 | python3-tenacity \ |
| 108 | python3-tokenize-rt \ | ||
| 108 | python3-tomli-w \ | 109 | python3-tomli-w \ |
| 109 | python3-tomlkit \ | 110 | python3-tomlkit \ |
| 110 | python3-trustme \ | 111 | python3-trustme \ |
diff --git a/meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb b/meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb new file mode 100644 index 0000000000..0f5a1b34d3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | SUMMARY = "A wrapper around the stdlib `tokenize` which roundtrips." | ||
| 2 | HOMEPAGE = "https://github.com/asottile/tokenize-rt" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5fd324061c581b8d45b8cb18c560a543" | ||
| 5 | |||
| 6 | SRCREV = "1582bcf0259d183259da1761444c6fc73fa7ad9a" | ||
| 7 | PYPI_SRC_URI = "git://github.com/asottile/tokenize-rt.git;protocol=https;branch=main;tag=v${PV};destsuffix=tokenize_rt-${PV}" | ||
| 8 | |||
| 9 | inherit pypi setuptools3 ptest-python-pytest | ||
| 10 | |||
| 11 | RDEPENDS:${PN} += "python3-core" | ||
| 12 | |||
| 13 | PYPI_PACKAGE = "tokenize_rt" | ||
| 14 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
| 15 | |||
| 16 | do_install_ptest:append() { | ||
| 17 | install -d ${D}${PTEST_PATH}/testing/resources | ||
| 18 | cp -rf ${S}/testing/resources/* ${D}${PTEST_PATH}/testing/resources/ | ||
| 19 | install -d ${D}${PTEST_PATH}/tests | ||
| 20 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 21 | } | ||
