mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-markdown2: Update to 2.5.2.
* gnu/packages/python-xyz.scm (python-markdown2) [arguments] <phases>: Use default 'check. [native-inputs]: Add python-pytest, python-setuptools and python-wheel. Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> Change-Id: Ic3df25863bbb37ec6282ec5dcbf815461663f8cd
This commit is contained in:
parent
980d59617c
commit
7f6b6775ca
1 changed files with 6 additions and 12 deletions
|
@ -15916,7 +15916,7 @@ markdown_py is also provided to convert Markdown files to HTML.")
|
||||||
(define-public python-markdown2
|
(define-public python-markdown2
|
||||||
(package
|
(package
|
||||||
(name "python-markdown2")
|
(name "python-markdown2")
|
||||||
(version "2.4.13")
|
(version "2.5.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch) ; no tests data in PyPi package
|
(method git-fetch) ; no tests data in PyPi package
|
||||||
|
@ -15925,19 +15925,13 @@ markdown_py is also provided to convert Markdown files to HTML.")
|
||||||
(commit version)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0m1wy8i4xmna5b97dvks8cfjmc1wid8pxmd2h82869d0ajva3r6a"))))
|
(base32 "01ll612yq7kjmj5p2zi9sf4l2wg6rm1ldcr6h0m2d9j180j7ggs8"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key tests? test-flags #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(with-directory-excursion "test"
|
|
||||||
(invoke "python" "testall.py"))))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pygments))
|
(list python-pygments
|
||||||
|
python-pytest
|
||||||
|
python-setuptools
|
||||||
|
python-wheel))
|
||||||
(home-page "https://github.com/trentm/python-markdown2")
|
(home-page "https://github.com/trentm/python-markdown2")
|
||||||
(synopsis "Fast and complete Python implementation of Markdown")
|
(synopsis "Fast and complete Python implementation of Markdown")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue