From unknown Thu Aug 21 12:10:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#46449 <46449@debbugs.gnu.org> To: bug#46449 <46449@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add python-mistletoe. Reply-To: bug#46449 <46449@debbugs.gnu.org> Date: Thu, 21 Aug 2025 19:10:36 +0000 retitle 46449 [PATCH] gnu: Add python-mistletoe. reassign 46449 guix-patches submitter 46449 Ron Nazarov severity 46449 normal tag 46449 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 11 16:46:11 2021 Received: (at submit) by debbugs.gnu.org; 11 Feb 2021 21:46:11 +0000 Received: from localhost ([127.0.0.1]:59476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAJmt-0007TY-45 for submit@debbugs.gnu.org; Thu, 11 Feb 2021 16:46:11 -0500 Received: from lists.gnu.org ([209.51.188.17]:45194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAJhm-0007LG-Ir for submit@debbugs.gnu.org; Thu, 11 Feb 2021 16:40:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAJhm-0002W4-9Z for guix-patches@gnu.org; Thu, 11 Feb 2021 16:40:54 -0500 Received: from knopi.disroot.org ([178.21.23.139]:54618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAJhj-0004oC-Ph for guix-patches@gnu.org; Thu, 11 Feb 2021 16:40:54 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7A4C750E3C; Thu, 11 Feb 2021 22:40:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id uLz_e6PaaLos; Thu, 11 Feb 2021 22:40:47 +0100 (CET) From: Ron Nazarov DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1613079627; bh=vqZzKJqf8FzlL6Jb7q+MstJT8d29nPs/2ciRJXzaa9s=; h=From:To:Cc:Subject:Date; b=i3r9NAf/a6vX1O9BxX8wL7Y59GDTGT0WICgkYHtCnXueRIvk9fbSfESbH9xyjAH5B IWveLWogJLIlI6HjB6/4RfWxTnFz1kDYjCpbsJVA11gYSxghdKz3R+XicoC0uNp95g iWuSbiLb+wt8ESoEZgAKcYfAerpkXpSe2BRcx2R2N2Sjsy8tSortQfE9lnAzpbuXX3 4dnfi6u1/b/oe692UOVeogfEPFucsnin9RKeu6q1zh5jCtfSpC7HvlqbGzl8aw/unU onbq15gt4W7oWLLGBLXW3bkrHDnpicCA1oR08UTTa2lHn4lGQT1cTjO6ytM41IFGJ/ mgPY8lRaR55zA== To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-mistletoe. Date: Thu, 11 Feb 2021 21:36:54 +0000 Message-Id: <20210211213654.117065-1-noisytoot@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=noisytoot@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 11 Feb 2021 16:46:10 -0500 Cc: Ron Nazarov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * 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@qq.com> ;;; Copyright © 2021 Morgan Smith ;;; Copyright © 2020 EuAndreh +;;; Copyright © 2021 Noisytoot ;;; ;;; 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 05 14:05:47 2021 Received: (at 46449) by debbugs.gnu.org; 5 Mar 2021 19:05:47 +0000 Received: from localhost ([127.0.0.1]:35441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIFli-0001Uw-6T for submit@debbugs.gnu.org; Fri, 05 Mar 2021 14:05:46 -0500 Received: from knopi.disroot.org ([178.21.23.139]:46538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lIFgs-0001Df-U7 for 46449@debbugs.gnu.org; Fri, 05 Mar 2021 14:00:48 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 61E5A50E98; Fri, 5 Mar 2021 20:00:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DAiLcW2rKGtV; Fri, 5 Mar 2021 20:00:43 +0100 (CET) From: Ron Nazarov DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1614970842; bh=I2M2I3gCUqAZTsQlarcScwfS40caMsYSUDVoKG1LC8k=; h=From:To:Cc:Subject:Date; b=GK9f5TtNtZQlsI/eKQ7VsM0+oTn0na5g3T85Vp1jUOz9x5/ATzOW40aMa3d/6Sckw jILebDIXorzgdd8e9AbXr+NYWnr5I0yWcYt5n6NyD9YQUDREigPgPGOqn4fhgkg4kp qqfwtHfW1Ya9QyZzDauDmsxtGgwLGgqBxJGc66um1g5zX01u00N11DTZgLdGzVf6oq O9n4c3GnvecfHL/2izDGP/dl7Jt5tidX+PCpomWcHJDiGl2nxqh40Qk2P59NWDd9z8 cif7BuO4NewLSD6RGVlPmGJR/CKHXTgbEXNX2ZFak9cMQpBqR6c/FRAVAtji8/O2ZF i28mTSWiDktfg== To: 46449@debbugs.gnu.org Subject: [PATCH] gnu: Add python-mistletoe. Date: Fri, 5 Mar 2021 19:00:12 +0000 Message-Id: <20210305190012.139489-1-noisytoot@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46449 X-Mailman-Approved-At: Fri, 05 Mar 2021 14:05:45 -0500 Cc: Ron Nazarov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-xyz.scm (python-mistletoe): New variable. --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 783812eb03..91d4e343f7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -96,6 +96,7 @@ ;;; Copyright © 2020, 2021 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2021 Morgan Smith ;;; Copyright © 2020 EuAndreh +;;; Copyright © 2021 Noisytoot ;;; ;;; This file is part of GNU Guix. ;;; @@ -23760,3 +23761,24 @@ Application Programming Interface based on the Open Inventor 2.1 API.") 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 + "The @code{mistletoe} Markdown parser is a CommonMark-compliant Markdown parser +that supports definitions of custom tokens. +Parsing Markdown into an abstract syntax tree also allows @code{mistletoe} +to swap out renderers for different output formats, +without touching any of the core components.") + (license license:expat))) -- 2.30.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 07 16:24:27 2021 Received: (at 46449) by debbugs.gnu.org; 7 Mar 2021 21:24:27 +0000 Received: from localhost ([127.0.0.1]:41640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJ0t0-0000u3-Tk for submit@debbugs.gnu.org; Sun, 07 Mar 2021 16:24:27 -0500 Received: from knopi.disroot.org ([178.21.23.139]:55422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJ0sz-0000ts-0W for 46449@debbugs.gnu.org; Sun, 07 Mar 2021 16:24:26 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 903DA50E62; Sun, 7 Mar 2021 22:24:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k07pWpcEBGYa; Sun, 7 Mar 2021 22:24:22 +0100 (CET) From: Ron Nazarov DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1615152262; bh=nLMG7ylBIad4kefVF+nOBK7r2qES3jco3kMGUGZiGlY=; h=From:To:Cc:Subject:Date; b=X7MaXpx0I++VuWvwM+UE5mUtDuawSFgAJF77nJMuQbFpQeSFZQH72uOWGtigIUgWP x8VVBZQM/V3W/uHBejh8DWUrRTqwgAA752F9VTbqLbzmm/kfut3TzwjlqRGYgA5O+P 7noPmJQToZxmFDSiuwb2LLsKChPHO8wIyTDG9n05o/M1H2yI0VJS4kpwfq3zjbxgHZ qmiNnrCu7OzeDW9jtwzjMr7MVkV3El1wRrsn/ihFoIoEaj0ituYh83V4Y98sUgi87y yoX8tFrh57I5CvnAilnUFwhrirv75YnbeQKEIVi2qe1cAqqj+T7ooGKBD6e5+xZEPG 5s7Im0lAarQvw== To: 46449@debbugs.gnu.org Subject: [PATCH] gnu: Add python-mistletoe. Date: Sun, 7 Mar 2021 21:21:25 +0000 Message-Id: <20210307212125.241574-1-noisytoot@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46449 Cc: Ron Nazarov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/markup.scm (python-mistletoe): New variable. --- gnu/packages/markup.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm index 95a3eb269e..4e0fcdce1c 100644 --- a/gnu/packages/markup.scm +++ b/gnu/packages/markup.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 EuAndreh +;;; Copyright © 2021 Noisytoot ;;; ;;; This file is part of GNU Guix. ;;; @@ -31,6 +32,7 @@ #:use-module (guix build-system trivial) #:use-module (guix build-system cmake) #:use-module (guix build-system perl) + #:use-module (guix build-system python) #:use-module (guix utils) #:use-module (gnu packages compression) #:use-module (gnu packages) @@ -300,3 +302,24 @@ and smu is that smu doesn't support reference style links.") SAX-like interface. It is compliant to the CommonMark specification, with a few extensions.") (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 + "The @code{mistletoe} Markdown parser is a CommonMark-compliant Markdown parser +that supports definitions of custom tokens. +Parsing Markdown into an abstract syntax tree also allows @code{mistletoe} +to swap out renderers for different output formats, +without touching any of the core components.") + (license expat))) -- 2.30.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 08 14:02:01 2021 Received: (at 46449-done) by debbugs.gnu.org; 8 Mar 2021 19:02:01 +0000 Received: from localhost ([127.0.0.1]:44847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJL8j-0006KK-0F for submit@debbugs.gnu.org; Mon, 08 Mar 2021 14:02:01 -0500 Received: from tobias.gr ([80.241.217.52]:57710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lJL8g-0006K9-Dt for 46449-done@debbugs.gnu.org; Mon, 08 Mar 2021 14:01:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=/iq8oBQTIjY+9xU8h9dvxZOdFQS/6kZycrHFpzj+dtU=; h=date:in-reply-to: references:subject:cc:to:from; b=n5CYeMSBEW0hWe4foFs07HoztxcHwvHQhjFV3 kUnmQvPda7A4+obNAagQlusV40IPGAWNlQopDVBS18nbpciRiDll7CNN7+M45CppBaxPAx BbJWp9pApQf1cOEWQXP4dL/99KHUFtI5cdNrx7LcZL93mxFD0lYo0IBmfy3v7RYCKLO1Ms hVpEwqS2w54CnhX7vFoORJN3zyjF9NiGrxJK5RlRiSr5EWhrIWKWymIsJ/mfCuaTtdZLrO GOBJVIfmwmku8csyJngSQRmR+hxbXqTIbL0rCqid99xI+fPIF4bj8F5FHxpqucBQ3cRJIY EvTbVuZXia73b71mes7FIbitw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 48951873 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Mon, 8 Mar 2021 19:02:54 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: Ron Nazarov Subject: Re: [bug#46449] [PATCH] gnu: Add python-mistletoe. References: <20210211213654.117065-1-noisytoot@disroot.org> <20210307212125.241574-1-noisytoot@disroot.org> In-reply-to: <20210307212125.241574-1-noisytoot@disroot.org> Date: Mon, 08 Mar 2021 20:01:53 +0100 Message-ID: <87blbto4f2.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 46449-done Cc: 46449-done@debbugs.gnu.org, guix-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Toot, Ron Nazarov via Guix-patches via =E5=86=99=E9=81=93=EF=BC=9A > * gnu/packages/markup.scm (python-mistletoe): New variable. Thanks! Pushed as 80599a739d04fb1830ee0169256021764784e850, with=20 minor changes: > + (synopsis "Fast, extensible Markdown parser in pure=20 > Python") ^^^^ I removed this, since all software is now fast, light-weight, and=20 well-written. It's the law or something. > + (description I wrapped this to 80 characters. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYEZ0og0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW1545MBAJMl9kXrJyxDVkHWS1Kh4Dq6m8LOysgs2xpilODL a2bHAQDNQh38ZsTVSUMzl1iO4AeM4Bj8Gda0YY9q0GjuEPaGCA== =TKOR -----END PGP SIGNATURE----- --=-=-=-- From unknown Thu Aug 21 12:10:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 06 Apr 2021 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator