[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: python-pybtex: Fix test failure.
From: |
guix-commits |
Subject: |
02/02: gnu: python-pybtex: Fix test failure. |
Date: |
Fri, 4 Feb 2022 18:37:25 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 2d5c270ec4f39b81ad07c6a4fc847c9e5997b822
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Feb 4 20:06:58 2022 +0100
gnu: python-pybtex: Fix test failure.
* gnu/packages/python-xyz.scm (python-pybtex)[arguments]: Run nosetests
directly instead of via setup.py.
---
gnu/packages/python-xyz.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 46419e8ace..7c1b5e8ed3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21816,7 +21816,12 @@ working with iterables.")
(inputs
(list python-latexcodec python-pyyaml python-six))
(arguments
- `(#:test-target "nosetests"))
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "nosetests")))))))
(home-page "https://pybtex.org/")
(synopsis "BibTeX-compatible bibliography processor")
(description "Pybtex is a BibTeX-compatible bibliography processor written