index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-07-21 15:31:41 +0000 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-07-21 15:31:41 +0000 |
commit | a285bcc8d431861e2fcc52a9e9c1fe9cafcbf669 (patch) | |
tree | 0e90c03f2a0c9233064d7f74d314b458e55e0961 /extra | |
parent | 56c9b99dc6be9d5191b706a7e84c4a629d8e499d (diff) |
-rw-r--r-- | extra/python2/PKGBUILD | 35 |
diff --git a/extra/python2/PKGBUILD b/extra/python2/PKGBUILD index 7ff6b97e..65e8d592 100644 --- a/extra/python2/PKGBUILD +++ b/extra/python2/PKGBUILD @@ -13,3 +13,38 @@ eval "$( /xvfb-run/ s/-x test_idle/-x test_idle test_bytes test_str test_string test_unicode test_userstring test_tuple/ ' )" + +# 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! + checkdepends=(${checkdepends[@]//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// + ' + )" + + # ignore even more tests + eval "$( + declare -f check | \ + sed ' + s/-v -uall -x/-v -uall -x test_gdb test_ssl test_urllib2net/ + ' + )" +fi + |