void-packages/srcpkgs/python3-asttokens/template

18 lines
705 B
Bash

# Template file for 'python3-asttokens'
pkgname=python3-asttokens
version=2.4.1
revision=1
build_style=python3-module
# needs a specific astroid version
# https://github.com/gristlabs/asttokens/issues/79
make_check_args="--deselect=tests/test_astroid.py"
hostmakedepends="python3-setuptools_scm"
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=b03869718ba9a6eb027e134bfdf69f38a236d681c83c160d510768af11254ba0