24 lines
820 B
Bash
24 lines
820 B
Bash
# Template file for 'python3-astroid'
|
|
pkgname=python3-astroid
|
|
version=2.4.2
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="astroid-${version}"
|
|
build_style=python3-module
|
|
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-parsing"
|
|
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=2f4078c2a41bf377eea06d71c9d2ba4eb8f6b1af2135bec27bbbb7d8f12bb703
|
|
|
|
post_install() {
|
|
# no tests
|
|
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests
|
|
}
|