gnu: python-tabulate: Disable tests.

* gnu/packages/python.scm (python-tabulate)[arguments]: New field.
[native-inputs]: Remove.
[source]: Remove test substitution snippet.
This commit is contained in:
Marius Bakke 2017-02-15 08:28:03 +01:00
parent 619bfd811e
commit fe2ba3a888
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 11 deletions

View File

@ -10824,18 +10824,12 @@ It uses LR parsing and does extensive error checking.")
(uri (pypi-uri "tabulate" version)) (uri (pypi-uri "tabulate" version))
(sha256 (sha256
(base32 (base32
"1inqhspd4frxnp08c32yndr0lc4px1xfkqah184i5w09gkhvi843")) "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")))))
(build-system python-build-system) (build-system python-build-system)
(native-inputs (arguments
`(;; For testing ;; FIXME: The pypi release tarball is missing a 'test/common.py'
("python-nose" ,python-nose))) ;; and the latest release is not tagged in the upstream repository.
'(#:tests? #f))
(home-page "https://bitbucket.org/astanin/python-tabulate") (home-page "https://bitbucket.org/astanin/python-tabulate")
(synopsis "Pretty-print tabular data") (synopsis "Pretty-print tabular data")
(description (description