gnu: python-podcastparser: Run tests.
authorPierre Langlois <pierre.langlois@gmx.com>
Wed, 15 Apr 2020 16:41:07 +0000 (18:41 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 17 Apr 2020 11:03:02 +0000 (13:03 +0200)
* gnu/packages/gpodder.scm (python-podcastparser)[native-inputs]: Add
python-coverage.
[arguments]: Replace 'check phase and invoke "nosetests".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages/gpodder.scm

index 98d7a84..6963da9 100644 (file)
@@ -184,7 +184,13 @@ downloading episode status changes.")
        (sha256
         (base32 "0k62ppg20i41gcc5x8ddjn7zbpy47hqpxzrq9257g2c71m4qw07b"))))
     (native-inputs
-     `(("python-nose" ,python-nose)))
+     `(("python-coverage" ,python-coverage)
+       ("python-nose" ,python-nose)))
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _ (invoke "nosetests"))))))
     (build-system python-build-system)
     (home-page "http://gpodder.org/podcastparser")
     (synopsis "Simplified and fast RSS parser Python library")