~ruther/guix-local

7f6b6775ca350479e0bdbecf62e11a0f9cfabc23 — Sergey Trofimov 1 year, 3 months ago 980d596
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
1 files changed, 6 insertions(+), 12 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +6 -12
@@ 15916,7 15916,7 @@ markdown_py is also provided to convert Markdown files to HTML.")
(define-public python-markdown2
  (package
    (name "python-markdown2")
    (version "2.4.13")
    (version "2.5.2")
    (source
     (origin
       (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)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0m1wy8i4xmna5b97dvks8cfjmc1wid8pxmd2h82869d0ajva3r6a"))))
        (base32 "01ll612yq7kjmj5p2zi9sf4l2wg6rm1ldcr6h0m2d9j180j7ggs8"))))
    (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
     (list python-pygments))
     (list python-pygments
           python-pytest
           python-setuptools
           python-wheel))
    (home-page "https://github.com/trentm/python-markdown2")
    (synopsis "Fast and complete Python implementation of Markdown")
    (description