summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorTim Orling <tim.orling@konsulko.com>2026-02-03 11:13:52 -0800
committerKhem Raj <raj.khem@gmail.com>2026-02-06 10:06:19 -0800
commit73dbdc65fcd40fdaa8bd1627d252f794e6b1e8d9 (patch)
treec4e5f46c1457f906b52506dbe6f26c7cf59e5a42 /meta-python/recipes-devtools/python
parent64139e703be26855614ae0781b93b431b35343b3 (diff)
downloadmeta-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/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb21
1 files changed, 21 insertions, 0 deletions
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 @@
1SUMMARY = "A wrapper around the stdlib `tokenize` which roundtrips."
2HOMEPAGE = "https://github.com/asottile/tokenize-rt"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=5fd324061c581b8d45b8cb18c560a543"
5
6SRCREV = "1582bcf0259d183259da1761444c6fc73fa7ad9a"
7PYPI_SRC_URI = "git://github.com/asottile/tokenize-rt.git;protocol=https;branch=main;tag=v${PV};destsuffix=tokenize_rt-${PV}"
8
9inherit pypi setuptools3 ptest-python-pytest
10
11RDEPENDS:${PN} += "python3-core"
12
13PYPI_PACKAGE = "tokenize_rt"
14UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
15
16do_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}