gnu: python-pybtex: Fix test failure.

* gnu/packages/python-xyz.scm (python-pybtex)[arguments]: Run nosetests
directly instead of via setup.py.
This commit is contained in:
Marius Bakke 2022-02-04 20:06:58 +01:00
parent f0e638a576
commit 2d5c270ec4
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -21816,7 +21816,12 @@ (define-public python-pybtex
(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