9d7cef06c8
See e1b4e11e38
Close #25718
27 lines
909 B
Bash
27 lines
909 B
Bash
# Template file for 'python3-astroid'
|
|
pkgname=python3-astroid
|
|
version=2.4.2
|
|
revision=3
|
|
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_patch() {
|
|
vsed -i -e 's/lazy_object_proxy.*"/lazy_object_proxy"/' \
|
|
astroid/__pkginfo__.py
|
|
}
|
|
|
|
post_install() {
|
|
# no tests
|
|
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests
|
|
}
|