From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <6de861b0c7046c842ebc494dd723dd74efb5faa5.1451865663.git.leo@famulari.name> References: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFseM-0005aN-8p for guix-devel@gnu.org; Sun, 03 Jan 2016 19:05:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFseJ-00063Q-AY for guix-devel@gnu.org; Sun, 03 Jan 2016 19:05:26 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:54454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFseJ-00063M-7B for guix-devel@gnu.org; Sun, 03 Jan 2016 19:05:23 -0500 Received: from jasmine.lan (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 4E715C016F3 for ; Sun, 3 Jan 2016 19:05:21 -0500 (EST) In-Reply-To: In-Reply-To: References: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * 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