gnu: python-mistune-next: Update to 2.0.4.

* gnu/packages/python-xyz.scm (python-mistune-next): Update to 2.0.4.
[arguments]: Add custom 'check phase.
[native-inputs]: Remove python-nose, add python-pytest.
This commit is contained in:
Efraim Flashner 2022-11-17 12:38:41 +02:00
parent 08b6a17de9
commit c8ae11e775
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -11284,14 +11284,22 @@ (define-public python-mistune-next
(package
(inherit python-mistune)
(name "python-mistune-next")
(version "2.0.0rc1")
(version "2.0.4")
(source (origin
(method url-fetch)
(uri (pypi-uri "mistune" version))
(sha256
(base32
"1nd7iav1ixh9hlj4hxn6lmpava88d86ys8rqm30wgvr7gjlxnas5"))))
(native-inputs (list python-nose))))
"024q9l6mgd37wa25w7dhskv1m3zsj5lf0w9cfyx7l9p2adhadq4y"))))
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv")))))))
(native-inputs (list python-pytest))))
(define-public python-markdown
(package