gnu: python-pyxdg: Return #t from phases.

* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Substitute
INVOKE for SYSTEM*.
This commit is contained in:
Tobias Geerinckx-Rice 2018-06-06 06:44:35 +02:00
parent 5f82a9d5cc
commit 10ee03c1df
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -419,10 +419,11 @@ manager for the current system.")
;; AssertionError: 'x-apple-ios-png' != 'png' ;; AssertionError: 'x-apple-ios-png' != 'png'
(substitute* "test/test-mime.py" (substitute* "test/test-mime.py"
(("self.check_mimetype\\(imgpng, 'image', 'png'\\)") "#")) (("self.check_mimetype\\(imgpng, 'image', 'png'\\)") "#"))
(zero? (system* "nosetests" "-v"))))))) (invoke "nosetests" "-v"))))))
(native-inputs (native-inputs
`(("shared-mime-info" ,shared-mime-info) ;for tests ;; For tests.
("hicolor-icon-theme" ,hicolor-icon-theme) ;for tests `(("shared-mime-info" ,shared-mime-info)
("hicolor-icon-theme" ,hicolor-icon-theme)
("python-nose" ,python-nose))) ("python-nose" ,python-nose)))
(home-page "https://www.freedesktop.org/wiki/Software/pyxdg") (home-page "https://www.freedesktop.org/wiki/Software/pyxdg")
(synopsis "Implementations of freedesktop.org standards in Python") (synopsis "Implementations of freedesktop.org standards in Python")