GNU bug report logs -
#46449
[PATCH] gnu: Add python-mistletoe.
Previous Next
Reported by: Ron Nazarov <noisytoot <at> disroot.org>
Date: Thu, 11 Feb 2021 21:47:01 UTC
Severity: normal
Tags: patch
Done: Tobias Geerinckx-Rice <me <at> tobias.gr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 08 Mar 2021 20:01:53 +0100
with message-id <87blbto4f2.fsf <at> nckx>
and subject line Re: [bug#46449] [PATCH] gnu: Add python-mistletoe.
has caused the debbugs.gnu.org bug report #46449,
regarding [PATCH] gnu: Add python-mistletoe.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
46449: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46449
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* gnu/packages/python-xyz.scm (python-mistletoe): New variable.
---
gnu/packages/python-xyz.scm | 39 ++++++++++++++++++++++++++++++-------
1 file changed, 32 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 783812eb03..69a2f29fcb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -96,6 +96,7 @@
;;; Copyright © 2020, 2021 Zheng Junjie <873216071 <at> qq.com>
;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith <at> outlook.com>
;;; Copyright © 2020 EuAndreh <eu <at> euandre.org>
+;;; Copyright © 2021 Noisytoot <noisytoot <at> disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23745,18 +23746,42 @@ Application Programming Interface based on the Open Inventor 2.1 API.")
(name "python-crayons")
(version "0.4.0")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "crayons" version))
- (sha256
- (base32
- "0gw106k4b6y8mw7pp52awxyplj2bwvwk315k4sywzwh0g1abfcxx"))))
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "crayons" version))
+ (sha256
+ (base32
+ "0gw106k4b6y8mw7pp52awxyplj2bwvwk315k4sywzwh0g1abfcxx"))))
(build-system python-build-system)
(propagated-inputs
- `(("python-colorama" ,python-colorama)))
+ `(("python-colorama" ,python-colorama)))
(home-page "https://github.com/MasterOdin/crayons")
(synopsis "TextUI colors for Python")
(description "This package gives you colored strings for the terminal.
Crayons automatically wraps a given string in the foreground color and
restores the original state after the string is printed.")
(license license:expat)))
+
+(define-public python-mistletoe
+ (package
+ (name "python-mistletoe")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mistletoe" version))
+ (sha256
+ (base32
+ "18z6hqfnfjqnrcgfgl5pkj9ggf9yx0yyy94azcn1qf7hqn6g3l14"))))
+ (build-system python-build-system)
+ (home-page
+ "https://github.com/miyuchina/mistletoe")
+ (synopsis
+ "Fast, extensible Markdown parser in pure Python")
+ (description
+ "A CommonMark-compliant Markdown parser
+that supports easy definitions of custom tokens.
+Parsing Markdown into an abstract syntax tree also allows mistletoe
+to swap out renderers for different output formats,
+without touching any of the core components.")
+ (license license:expat)))
--
2.30.0
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Toot,
Ron Nazarov via Guix-patches via 写道:
> * gnu/packages/markup.scm (python-mistletoe): New variable.
Thanks! Pushed as 80599a739d04fb1830ee0169256021764784e850, with
minor changes:
> + (synopsis "Fast, extensible Markdown parser in pure
> Python")
^^^^
I removed this, since all software is now fast, light-weight, and
well-written. It's the law or something.
> + (description
I wrapped this to 80 characters.
Kind regards,
T G-R
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 4 years and 136 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.