diff options
Diffstat (limited to 'extra/python')
-rw-r--r-- | extra/python/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/python/PKGBUILD b/extra/python/PKGBUILD index 30e16fe8..407d9333 100644 --- a/extra/python/PKGBUILD +++ b/extra/python/PKGBUILD @@ -14,3 +14,29 @@ eval "$( s/ -m test.regrtest/ -m test.regrtest -j1/ " )" + +# i486-specific +if [ "${CARCH}" = "i486" ]; then + # remove dependency on most things, we want only a simple interpreter + # a little bit smarter than a shell for building and code generation + makedepends=(${makedepends[@]//tk/}) + makedepends=(${makedepends[@]//bluez-libs/}) + makedepends=(${makedepends[@]//llvm/}) + + # do not start X servers just for building software! + makedepends=(${makedepends[@]//xorg-server-xvfb/}) + eval "$( + declare -f build | \ + sed ' + /export servernum=99/,/done/d + s/.*make/make/ + ' + )" + eval "$( + declare -f check | \ + sed ' + /export servernum=99/,/done/d + s/xvfb-run -s "-screen 0 1280x720x24 -ac +extension GLX" -a -n "$servernum"// + ' + )" +fi |