index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-01-01 20:38:28 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-01-01 20:38:28 +0100 |
commit | ee04d5812b223b1dea5a7d64b2846b9bfbbe65fb (patch) | |
tree | 6186c93232be1df199801cc0ead94f95136a1239 /extra | |
parent | 7dbe807145928b56fce9eee18bb1566147017e40 (diff) |
-rw-r--r-- | extra/python-setuptools/PKGBUILD | 16 |
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/. + ' +)" |