gnu: python-pybtex: Update to 0.24.0.

* gnu/packages/python-xyz.scm (python-pybtex): Update to 0.24.0.
[native-inputs]: Remove python-nose; add python-pytest.
[inputs]: Move python-latexcodec, python-pyyaml, and python-six from here...
[propagated-inputs]: ...to here.
[arguments]: Use pytest.
This commit is contained in:
Ricardo Wurmus 2022-04-06 12:37:33 +02:00
parent e1df15794b
commit 3b262b51fa
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -22002,17 +22002,17 @@ (define-public python-latexcodec
(define-public python-pybtex (define-public python-pybtex
(package (package
(name "python-pybtex") (name "python-pybtex")
(version "0.22.2") (version "0.24.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "pybtex" version)) (uri (pypi-uri "pybtex" version))
(sha256 (sha256
(base32 "070wfcmxrd7xg1si421mi9150gmx2qwx431nwf69sq3hhmgnx080")))) (base32 "0ma7sc10hk6caq5zghbk865vrlaynz7x5z630z0facqpnqssx3l1"))))
(build-system python-build-system) (build-system python-build-system)
(native-inputs (native-inputs
(list python-nose)) (list python-pytest))
(inputs (propagated-inputs
(list python-latexcodec python-pyyaml python-six)) (list python-latexcodec python-pyyaml python-six))
(arguments (arguments
(list (list
@ -22020,7 +22020,7 @@ (define-public python-pybtex
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(when tests? (when tests?
(invoke "nosetests"))))))) (invoke "pytest")))))))
(home-page "https://pybtex.org/") (home-page "https://pybtex.org/")
(synopsis "BibTeX-compatible bibliography processor") (synopsis "BibTeX-compatible bibliography processor")
(description "Pybtex is a BibTeX-compatible bibliography processor written (description "Pybtex is a BibTeX-compatible bibliography processor written