package/python-asttokens: new package

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Peter: fix alphabetical ordering]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Romain Naour 2023-05-28 21:01:09 +02:00 committed by Peter Korsgaard
parent c8e93f4a6b
commit aa5c233c36
4 changed files with 29 additions and 0 deletions

View File

@ -967,6 +967,7 @@ menu "External python modules"
source "package/python-arrow/Config.in"
source "package/python-asgiref/Config.in"
source "package/python-asn1crypto/Config.in"
source "package/python-asttokens/Config.in"
source "package/python-async-generator/Config.in"
source "package/python-async-lru/Config.in"
source "package/python-async-timeout/Config.in"

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_ASTTOKENS
bool "python-asttokens"
select BR2_PACKAGE_PYTHON_SIX # runtime
help
Annotate AST trees with source code positions.
https://github.com/gristlabs/asttokens

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/asttokens/json
md5 a9ae6ae0f85398e511bcb9ec87695eed asttokens-2.2.1.tar.gz
sha256 4622110b2a6f30b77e1473affaa97e711bc2f07d3f10848420ff1898edbe94f3 asttokens-2.2.1.tar.gz
# Locally computed sha256 checksums
sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1 LICENSE

View File

@ -0,0 +1,16 @@
################################################################################
#
# python-asttokens
#
################################################################################
PYTHON_ASTTOKENS_VERSION = 2.2.1
PYTHON_ASTTOKENS_SOURCE = asttokens-$(PYTHON_ASTTOKENS_VERSION).tar.gz
PYTHON_ASTTOKENS_SITE = https://files.pythonhosted.org/packages/c8/e3/b0b4f32162621126fbdaba636c152c6b6baec486c99f48686e66343d638f
PYTHON_ASTTOKENS_SETUP_TYPE = setuptools
PYTHON_ASTTOKENS_LICENSE = Apache-2.0
PYTHON_ASTTOKENS_LICENSE_FILES = LICENSE
PYTHON_ASTTOKENS_DEPENDENCIES = host-python-setuptools-scm
$(eval $(python-package))