[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 16/17] gnu: python-urwid: Disable failing test test_remove_watch_
From: |
Leo Famulari |
Subject: |
[PATCH 16/17] gnu: python-urwid: Disable failing test test_remove_watch_file. |
Date: |
Sun, 3 Jan 2016 19:05:14 -0500 |
* gnu/packages/python.scm (python-urwid)[arguments]: Add
'disable-failing-test' phase.
[source]: Use pypi-uri.
---
gnu/packages/python.scm | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4af9354..171221b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4324,13 +4324,22 @@ and written in Python.")
(source
(origin
(method url-fetch)
- (uri (string-append
- "https://pypi.python.org/packages/source/u/urwid/urwid-"
- version ".tar.gz"))
+ (uri (pypi-uri "urwid" version))
(sha256
(base32
"18mb0yy94sjc434rd61m2sfnw27sa0nyrszpj5a9r9zh7fnlzw19"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; Disable failing test. Bug filed upstream:
+ ;; https://github.com/wardi/urwid/issues/164
+ ;; TODO: check again for python-urwid > 1.3.0 or python > 3.4.3.
+ (add-after 'unpack 'disable-failing-test
+ (lambda _
+ (substitute* "urwid/tests/test_event_loops.py"
+ (("test_remove_watch_file")
+ "disable_remove_watch_file")))))))
(native-inputs `(("python-setuptools" ,python-setuptools)))
(home-page "http://urwid.org")
(synopsis "Console user interface library for Python")
--
2.6.4
- Re: [PATCH 04/17] gnu: Add python-click-log., (continued)
- [PATCH 13/17] gnu: Add python-icalendar., Leo Famulari, 2016/01/03
- [PATCH 15/17] gnu: Update python-tzlocal to 1.2., Leo Famulari, 2016/01/03
- [PATCH 14/17] gnu: Add python-sphinxcontrib-newsfeed., Leo Famulari, 2016/01/03
- [PATCH 12/17] gnu: Add vdirsyncer., Leo Famulari, 2016/01/03
- [PATCH 10/17] gnu: Add python-pytest-xprocess., Leo Famulari, 2016/01/03
- [PATCH 16/17] gnu: python-urwid: Disable failing test test_remove_watch_file.,
Leo Famulari <=
- [PATCH 17/17] gnu: Add khal., Leo Famulari, 2016/01/03
- [PATCH 05/17] gnu: Add python-apipkg., Leo Famulari, 2016/01/03
- [PATCH 11/17] gnu: Add radicale., Leo Famulari, 2016/01/03
- [PATCH 03/17] gnu: Add python-click-threading., Leo Famulari, 2016/01/03