void-packages/srcpkgs/python3-asttokens/template

18 lines
705 B
Bash

# Template file for 'python3-asttokens'
pkgname=python3-asttokens
version=2.1.0
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=4aa76401a151c8cc572d906aad7aea2a841780834a19d780f4321c0fe1b54635