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
1 changed files with 4 additions and 3 deletions

View File

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