try adding requires: to the test section
@@ -65,14 +65,39 @@ requirements:
- qtwebkit {{ version }}
test:
+ requires:
+ - {{ cdt('xorg-x11-proto-devel') }} # [linux]
+ - {{ cdt('libx11-devel') }} # [linux]
+ - {{ cdt('libxcb') }} # [linux]
+ - {{ cdt('libxext-devel') }} # [linux]
+ - {{ cdt('libxrender-devel') }} # [linux]
+ - {{ cdt('mesa-libgl-devel') }} # [linux]
+ - {{ cdt('mesa-libegl-devel') }} # [linux]
+ - {{ cdt('mesa-dri-drivers') }} # [linux]
+ - {{ cdt('libxau-devel') }} # [linux]
+ - {{ cdt('alsa-lib-devel') }} # [linux]
+ - {{ cdt('gtk2-devel') }} # [linux]
+ - {{ cdt('gtkmm24-devel') }} # [linux]
+ - {{ cdt('libdrm-devel') }} # [linux]
+ - {{ cdt('libxcomposite-devel') }} # [linux]
+ - {{ cdt('libxcursor-devel') }} # [linux]
+ - {{ cdt('libxi-devel') }} # [linux]
+ - {{ cdt('libxrandr-devel') }} # [linux]
+ - {{ cdt('pciutils-devel') }} # [linux]
+ - {{ cdt('libxscrnsaver-devel') }} # [linux]
+ - {{ cdt('libxtst-devel') }} # [linux]
+ - {{ cdt('libselinux-devel') }} # [linux]
+ - {{ cdt('libxdamage') }} # [linux]
+ - {{ cdt('libxfixes') }} # [linux]
+ - {{ cdt('libxxf86vm') }} # [linux]
+ - {{ cdt('mesa-libgbm') }} # [linux]
files:
- pyqt_test.py
imports:
- PyQt5.QtWebKit
- PyQt5.QtWebKitWidgets
commands:
- # Won't work through xvfb but runs locally... Not sure what is happening.
- #- QT_XCB_GL_INTEGRATION=none DISPLAY=localhost:1.0 xvfb-run -a bash -c 'python pyqt_test.py' # [linux]
+ - DISPLAY=localhost:1.0 xvfb-run -a bash -c 'python pyqt_test.py' # [linux]
- python pyqt_test.py # [not linux]
about:
