void-packages/srcpkgs/python3-astroid/template

22 lines
712 B
Bash

# Template file for 'python3-astroid'
pkgname=python3-astroid
version=2.2.5
revision=2
archs=noarch
wrksrc="astroid-${version}"
build_style=python3-module
pycompile_module="astroid"
hostmakedepends="python3-setuptools"
depends="python3-six python3-lazy-object-proxy python3-wrapt
python3-typed-ast"
short_desc="Abstract syntax tree for Python3"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/PyCQA/astroid"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
distfiles="${PYPI_SITE}/a/astroid/astroid-${version}.tar.gz"
checksum=6560e1e1749f68c64a4b5dee4e091fce798d2f0d84ebe638cf0e0585a343acf4
post_install() {
# no tests
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests
}