python3-astroid: unpin dependency

See e1b4e11e38
Close #25718
This commit is contained in:
Đoàn Trần Công Danh 2020-10-19 09:14:35 +07:00
parent 33c24c0800
commit 9d7cef06c8
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python3-astroid'
pkgname=python3-astroid
version=2.4.2
revision=2
revision=3
wrksrc="astroid-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
@ -16,6 +16,11 @@ 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