~ruther/guix-local

bb3dbcde48c6f19100726545c43687f0d37fa620 — Sharlatan Hellseher 2 years ago ebe35e6
gnu: Remove python-mistune-next.

* gnu/packages/python-xyz.scm (python-mistune-next): Delete variable.
* gnu/packages/bioinformatics.scm (python-schema-salad)
[propagated-inputs]: Remove python-mistune-next; add python-mistune.
* gnu/packages/mail.scm (python-hyperkitty): Likewise.
* gnu/packages/syndication.scm (giara): Likewise.

Change-Id: Iccf5ffde2b2c5a8c9b8e1c0e6ebd6fa7eab9f144
M gnu/packages/bioinformatics.scm => gnu/packages/bioinformatics.scm +1 -1
@@ 5996,7 5996,7 @@ Note that this package has been deprecated in favor of @code{pyfaidx}.")
    (propagated-inputs
     (list python-cachecontrol
           python-importlib-resources
           python-mistune-next
           python-mistune
           python-mypy-extensions
           python-rdflib
           python-requests

M gnu/packages/mail.scm => gnu/packages/mail.scm +1 -1
@@ 3776,7 3776,7 @@ which sends emails to HyperKitty, the official Mailman3 web archiver.")
           python-django-rest-framework
           python-flufl-lock
           python-mailmanclient
           python-mistune-next
           python-mistune
           python-networkx
           python-pytz
           python-robot-detection))

M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +0 -22
@@ 15449,28 15449,6 @@ It also removes useless @code{pass} statements.")
Python.")
    (license license:bsd-3)))

;; 2.0 is not released yet, but some packages have started using it.
(define-public python-mistune-next
  (package
    (inherit python-mistune)
    (name "python-mistune-next")
    (version "2.0.4")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "mistune" version))
              (sha256
               (base32
                "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
    (name "python-markdown")

M gnu/packages/syndication.scm => gnu/packages/syndication.scm +1 -1
@@ 215,7 215,7 @@ cards.")
           python
           python-beautifulsoup4
           python-dateutil
           python-mistune-next
           python-mistune
           python-pillow
           python-praw
           python-pygobject