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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Leon Anavi
2022-11-01 19:03:27 +02:00
committed by Khem Raj
parent dd6ab68c21
commit 175af34c66

View File

@@ -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"