summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/conf/include/ptest-packagelists-meta-python.inc1
-rw-r--r--meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb21
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 @@
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}