unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#69452] [PATCH] gnu: Add python-mistune-3.
@ 2024-02-28 10:27 Tanguy Le Carrour
  2024-02-29 18:16 ` [bug#69452] Question Andreas Enge
  0 siblings, 1 reply; 2+ messages in thread
From: Tanguy Le Carrour @ 2024-02-28 10:27 UTC (permalink / raw)
  To: 69452
  Cc: Tanguy Le Carrour, Lars-Dominik Braun, Marius Bakke,
	Munyoki Kilyungi, Sharlatan Hellseher, jgart

Hi Guix,

This patch adds Mistune v3, but… we already have 2 other versions of
Mistune:

- python-mistune (0.8.4)
- python-mistune-next (2.0.4)

Would it be ok if, in a following patch, I renamed python-mistune-next to
python-mistune-2 and change the 3 packages that use it?

Regards.

* gnu/packages/python-xyz.scm (python-mistune-3): New variable.

Change-Id: I59adfb92ed65a10292090c758108e889467f28d7
---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8691f70375..4ecc2e5e5d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14155,6 +14155,24 @@ (define-public python-mistune-next
                 (invoke "pytest" "-vv")))))))
     (native-inputs (list python-pytest))))
 
+(define-public python-mistune-3
+  (package
+    (name "python-mistune")
+    (version "3.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "mistune" version))
+       (sha256
+        (base32 "1s4ba1m69yldrhnyfj8lm4bl3axbi95g1dicxya27j9hv7g96zzw"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-pytest python-setuptools python-wheel))
+    (home-page "https://github.com/lepture/mistune")
+    (synopsis "Markdown parser in pure Python")
+    (description "This package provides a fast markdown parser in pure
+Python.")
+    (license license:bsd-3)))
+
 (define-public python-markdown
   (package
     (name "python-markdown")

base-commit: 178c36e1ee6915a27f042f64a6357d5ed9c8cb49
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#69452] Question
  2024-02-28 10:27 [bug#69452] [PATCH] gnu: Add python-mistune-3 Tanguy Le Carrour
@ 2024-02-29 18:16 ` Andreas Enge
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Enge @ 2024-02-29 18:16 UTC (permalink / raw)
  To: 69452

Do we need all these versions, or might one (or at most two) be enough?

Andreas





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-29 18:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-28 10:27 [bug#69452] [PATCH] gnu: Add python-mistune-3 Tanguy Le Carrour
2024-02-29 18:16 ` [bug#69452] Question Andreas Enge

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).