diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb | 21 |
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 @@ | |||
| 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 | } | ||
