23 lines
761 B
Bash
23 lines
761 B
Bash
# Template file for 'python-astroid'
|
|
pkgname=python-astroid
|
|
version=1.6.6
|
|
revision=2
|
|
archs=noarch
|
|
wrksrc="astroid-${version}"
|
|
build_style=python2-module
|
|
pycompile_module="astroid"
|
|
hostmakedepends="python-setuptools"
|
|
depends="python-six python-lazy-object-proxy python-wrapt
|
|
python-backports.functools_lru_cache python-enum34 python-singledispatch"
|
|
short_desc="Abstract syntax tree for Python2"
|
|
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=d25869fc7f44f1d9fb7d24fd7ea0639656f5355fc3089cd1f3d18c6ec6b124c7
|
|
|
|
post_install() {
|
|
# no tests
|
|
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests
|
|
}
|