void-packages/srcpkgs/python3-asttokens/template

18 lines
705 B
Bash

# Template file for 'python3-asttokens'
pkgname=python3-asttokens
version=2.4.0
revision=2
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=2e0171b991b2c959acc6c49318049236844a5da1d65ba2672c4880c1c894834e