From 79ef0726a9afb7bd4676b9a53401f742c7b83653 Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Wed, 15 Apr 2020 18:41:07 +0200 Subject: gnu: python-podcastparser: Run tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/gpodder.scm (python-podcastparser)[native-inputs]: Add python-coverage. [arguments]: Replace 'check phase and invoke "nosetests". Signed-off-by: Ludovic Courtès --- gnu/packages/gpodder.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gpodder.scm b/gnu/packages/gpodder.scm index 98d7a84ce7..6963da9dff 100644 --- a/gnu/packages/gpodder.scm +++ b/gnu/packages/gpodder.scm @@ -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") -- cgit v1.2.3