From fe2ba3a888f78669cc4abe6a9bf2db73c390a4c8 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 15 Feb 2017 08:28:03 +0100 Subject: [PATCH] gnu: python-tabulate: Disable tests. * gnu/packages/python.scm (python-tabulate)[arguments]: New field. [native-inputs]: Remove. [source]: Remove test substitution snippet. --- gnu/packages/python.scm | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 421291d7de..87066fc88e 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -10824,18 +10824,12 @@ It uses LR parsing and does extensive error checking.") (uri (pypi-uri "tabulate" version)) (sha256 (base32 - "1inqhspd4frxnp08c32yndr0lc4px1xfkqah184i5w09gkhvi843")) - ;; Fix tests - (modules '((guix build utils))) - (snippet '(substitute* '("test/test_cli.py" - "test/test_input.py" - "test/test_output.py" - "test/test_regression.py") - (("from common") "from nose.tools"))))) + "1inqhspd4frxnp08c32yndr0lc4px1xfkqah184i5w09gkhvi843")))) (build-system python-build-system) - (native-inputs - `(;; For testing - ("python-nose" ,python-nose))) + (arguments + ;; FIXME: The pypi release tarball is missing a 'test/common.py' + ;; and the latest release is not tagged in the upstream repository. + '(#:tests? #f)) (home-page "https://bitbucket.org/astanin/python-tabulate") (synopsis "Pretty-print tabular data") (description