# Template file for 'python3-asttokens'
pkgname=python3-asttokens
version=3.0.2
revision=1
build_style=python3-pep517
# needs a specific astroid version
# https://github.com/gristlabs/asttokens/issues/79
make_check_args="--deselect=tests/test_astroid.py"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-six"
checkdepends="python3-pytest python3-astroid $depends"
short_desc="Annotate Python AST with source text and token information"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="Apache-2.0"
homepage="https://github.com/gristlabs/asttokens"
distfiles="${PYPI_SITE}/a/asttokens/asttokens-${version}.tar.gz"
checksum=3ecdbd8f2cc195f53ccada3a613538bb5f9ef6f6869129f13e03c30a677b8fe2
