diff --git a/srcpkgs/python3-astroid/template b/srcpkgs/python3-astroid/template index 3d98165a52d..b46bab1b014 100644 --- a/srcpkgs/python3-astroid/template +++ b/srcpkgs/python3-astroid/template @@ -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