summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
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}