diff options
author | Erich Eckner <git@eckner.net> | 2018-10-22 20:23:42 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-22 20:23:42 +0200 |
commit | 1bd0ea10badb502631161b535c94d8a69a50834a (patch) | |
tree | 1bb711056e468da4b47885e55ccd063cba0dbf71 | |
parent | 29a2ef18154808e622c0cd0b4e993e0e62b6b679 (diff) | |
download | packages-1bd0ea10badb502631161b535c94d8a69a50834a.tar.xz |
extra/python2: disable xvfb stuff on i486
-rw-r--r-- | extra/python2/PKGBUILD | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/python2/PKGBUILD b/extra/python2/PKGBUILD index c93cac57..519a683a 100644 --- a/extra/python2/PKGBUILD +++ b/extra/python2/PKGBUILD @@ -30,3 +30,16 @@ eval "$( s/ -m test.regrtest/ -m test.regrtest -j1/ " )" + +makedepends=(${makedepends[@]//xorg-server-xvfb/}) +makedepends_i686=(xorg-server-xvfb) + +# skip xvfb stuff on i486 +if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f check | \ + sed ' + s/xvfb-run // + ' + )" +fi |