From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8GodBR2tJWCyOgAA0tVLHw (envelope-from ) for ; Thu, 11 Feb 2021 22:18:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CPnzAB2tJWA6EQAA1q6Kng (envelope-from ) for ; Thu, 11 Feb 2021 22:18:05 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D9EA2940355 for ; Thu, 11 Feb 2021 22:18:03 +0000 (UTC) Received: from localhost ([::1]:45246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAKHi-0004iX-Ri for larch@yhetil.org; Thu, 11 Feb 2021 17:18:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAJni-0003X2-83 for guix-patches@gnu.org; Thu, 11 Feb 2021 16:47:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAJni-0007il-07 for guix-patches@gnu.org; Thu, 11 Feb 2021 16:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lAJnh-0007Uc-Tw for guix-patches@gnu.org; Thu, 11 Feb 2021 16:47:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46449] [PATCH] gnu: Add python-mistletoe. Resent-From: Ron Nazarov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Feb 2021 21:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46449 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46449@debbugs.gnu.org Cc: Ron Nazarov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161307997128744 (code B ref -1); Thu, 11 Feb 2021 21:47:01 +0000 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) 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== 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-Mailman-Approved-At: Thu, 11 Feb 2021 16:46:10 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 11 Feb 2021 17:17:07 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Ron Nazarov X-ACL-Warn: , Ron Nazarov via Guix-patches From: Ron Nazarov via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b="i3r9NAf/"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D9EA2940355 X-Spam-Score: -2.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6dc9/bnRE6Qp * 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