From 175af34c66541efe457eb3486ff4cbb9a1547694 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 1 Nov 2022 19:03:27 +0200 Subject: python3-asttokens: Upgrade 2.0.8 -> 2.1.0 Upgrade to release 2.1.0: - Remove 'unmarked' from public API - Remove remaining mentions of init_tokens - Teach ASTText the special handling for f-strings - Explore a clearer lazy-parsing behaviour API - Handle and test f-strings better - Handle node being None in same way as token-using methods - Make get_text_positions docstring match get_text_range better - Handle f-string nodes even when tokens are present - Type checking blocks will never get runtime coverage Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-asttokens_2.0.8.bb | 18 ------------------ .../recipes-devtools/python/python3-asttokens_2.1.0.bb | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-asttokens_2.0.8.bb create mode 100644 meta-python/recipes-devtools/python/python3-asttokens_2.1.0.bb diff --git a/meta-python/recipes-devtools/python/python3-asttokens_2.0.8.bb b/meta-python/recipes-devtools/python/python3-asttokens_2.0.8.bb deleted file mode 100644 index 973c57661b..0000000000 --- a/meta-python/recipes-devtools/python/python3-asttokens_2.0.8.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "The asttokens module annotates Python abstract syntax trees (ASTs)" -HOMEPAGE = "https://github.com/gristlabs/asttokens" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" - -PYPI_PACKAGE = "asttokens" - -inherit pypi python_setuptools_build_meta - -SRC_URI[sha256sum] = "c61e16246ecfb2cde2958406b4c8ebc043c9e6d73aaa83c941673b35e5d3a76b" - -DEPENDS += "python3-setuptools-scm-native" - -RDEPENDS:${PN} += " \ - ${PYTHON_PN}-six \ -" - -BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-asttokens_2.1.0.bb b/meta-python/recipes-devtools/python/python3-asttokens_2.1.0.bb new file mode 100644 index 0000000000..e4a21ae3e6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-asttokens_2.1.0.bb @@ -0,0 +1,18 @@ +SUMMARY = "The asttokens module annotates Python abstract syntax trees (ASTs)" +HOMEPAGE = "https://github.com/gristlabs/asttokens" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" + +PYPI_PACKAGE = "asttokens" + +inherit pypi python_setuptools_build_meta + +SRC_URI[sha256sum] = "4aa76401a151c8cc572d906aad7aea2a841780834a19d780f4321c0fe1b54635" + +DEPENDS += "python3-setuptools-scm-native" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-six \ +" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf