summaryrefslogtreecommitdiff
path: root/gnu/packages/freedesktop.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-06-06 06:44:35 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-06-07 23:57:39 +0200
commit10ee03c1df568a9685c892efb1a1f00e2483cdf3 (patch)
tree32eb59c0054fd8fbd6f7fef92beaa7ca3ad55dfc /gnu/packages/freedesktop.scm
parent5f82a9d5cc0e71797cdea6d4e80a7c9148b8bb92 (diff)
downloadpatches-10ee03c1df568a9685c892efb1a1f00e2483cdf3.tar
patches-10ee03c1df568a9685c892efb1a1f00e2483cdf3.tar.gz
gnu: python-pyxdg: Return #t from phases.
* gnu/packages/freedesktop.scm (python-pyxdg)[arguments]: Substitute INVOKE for SYSTEM*.
Diffstat (limited to 'gnu/packages/freedesktop.scm')
-rw-r--r--gnu/packages/freedesktop.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index a6b79f41b0..7df44dfb0f 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -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")