~ruther/guix-local

bee81b5d399ec61457918c0bf3ef53b4d9bb19d1 — Nicolas Graves 10 months ago 5b0ae59
gnu: python-pyvirtualdisplay: Enable tests.

* gnu/packages/python-xyz.scm (python-pyvirtualdisplay):
[arguemnts]<#:tests?>: Enable them.
<#:test-flags>: Disable failing tests.
[native-inputs]: Remove python-pytest-runner.  Add
python-vncdotool-bootstrap, xmessage and xorg-server-for-tests.

Change-Id: If829e4100a4a361d4bed67c0a55d4a6e193b3820
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 9 insertions(+), 4 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +9 -4
@@ 24073,12 24073,17 @@ etc.")
        (base32 "0nb1s7nilakrkcm0vq08pz9mh8rzyhjm9jkyn1gp5sxnrv1mnx89"))))
    (build-system pyproject-build-system)
    (arguments
     ;; Tests fail with:
     ;; FileNotFoundError: [Errno 2] No such file or directory: 'Xvnc'.
     `(#:tests? #f))
     (list
      #:test-flags
      #~(list "--ignore=tests/test_examples.py"
              ;; OSError: Pillow was built without XCB support
              "--ignore=tests/test_smart.py"
              "--ignore=tests/test_smart2.py"
              "--ignore=tests/test_smart_thread.py")))
    (native-inputs
     (list python-entrypoint2 python-psutil python-pytest
           python-pytest-runner python-setuptools python-wheel))
           python-setuptools python-vncdotool-bootstrap python-wheel
           xmessage xorg-server-for-tests))
    (propagated-inputs
     (list python-easyprocess python-pillow))
    (home-page "https://github.com/ponty/pyvirtualdisplay")