void-packages/srcpkgs/python3-astroid/template

26 lines
888 B
Bash

# Template file for 'python3-astroid'
pkgname=python3-astroid
version=2.3.3
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"
checkdepends="$depends python3-attrs python3-pytest python3-wcwidth
python3-py python3-pluggy python3-more-itertools python3-importlib_metadata
python3-parsing python3-zipp"
short_desc="Abstract syntax tree for Python3"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://github.com/PyCQA/astroid"
distfiles="${PYPI_SITE}/a/astroid/astroid-${version}.tar.gz"
checksum=71ea07f44df9568a75d0f354c49143a4575d90645e9fead6dfb52c26a85ed13a
post_install() {
# no tests
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests
}