From ee04d5812b223b1dea5a7d64b2846b9bfbbe65fb Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 1 Jan 2022 20:38:28 +0100 Subject: extra/python-setuptools: another bootstrapping trial with correct egg-info --- extra/python-setuptools/PKGBUILD | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'extra') diff --git a/extra/python-setuptools/PKGBUILD b/extra/python-setuptools/PKGBUILD index 5f048dbd..cadd0ba7 100644 --- a/extra/python-setuptools/PKGBUILD +++ b/extra/python-setuptools/PKGBUILD @@ -17,8 +17,14 @@ eval "$( unset checkdepends unset check -makedepends=(${makedepends[@]//python-setuptools/}) -makedepends=(${makedepends[@]//python2-setuptools/}) -depends=(${depends[@]//python-pyparsing/}) -depends=(${depends[@]//python2-pyparsing/}) -makedepends+=(python python2) +# egg-infos are not installed correctly, create them before and install +# them manually +eval "$( + declare -f package | \ + sed ' + 6 i python setup.py egg_info \ + rm -rf "$pkgdir"/usr/lib/python3.10/site-packages/setuptools-57.4.0-py3.10.egg-info \ + mkdir "$pkgdir"/usr/lib/python3.10/site-packages/setuptools-57.4.0-py3.10.egg-info \ + cp -R setuptools.egg-info "$pkgdir"/usr/lib/python3.10/site-packages/setuptools-57.4.0-py3.10.egg-info/. + ' +)" -- cgit v1.2.3-70-g09d2