From 07143d9fe11151b884901186bace1b3ec65d9f40 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 1 Feb 2021 09:52:31 +0100 Subject: gnu: python-pkginfo: Enable tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-pkginfo)[arguments]: Don't disable tests. Disable a failing test. Signed-off-by: 宋文武 --- gnu/packages/python-xyz.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c6310e62b0..5e6f902a76 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17291,8 +17291,14 @@ design and layout.") "1d1xn1xmfvz0jr3pj8irdwnwby3r13g0r2gwklr1q5y68p5p16h2")))) (build-system python-build-system) (arguments - ;; The tests are broken upstream. - '(#:tests? #f)) + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'patch-tests + (lambda _ + (substitute* "pkginfo/tests/test_installed.py" + (("test_ctor_w_package_no_PKG_INFO") + "_test_ctor_w_package_no_PKG_INFO")) + #t))))) (home-page "https://code.launchpad.net/~tseaver/pkginfo/trunk") (synopsis -- cgit v1.2.3