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 ms0.migadu.com with LMTPS id QMj9IYwCvmCeDAEAgWs5BA (envelope-from ) for ; Mon, 07 Jun 2021 13:27:08 +0200 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 iJ6dHYwCvmBNVQAA1q6Kng (envelope-from ) for ; Mon, 07 Jun 2021 11:27:08 +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 4904D20579 for ; Mon, 7 Jun 2021 13:27:08 +0200 (CEST) Received: from localhost ([::1]:60932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqDPP-0004M5-9J for larch@yhetil.org; Mon, 07 Jun 2021 07:27:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqDKV-0000ur-Oj for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43029) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqDKV-0006Ux-HV for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqDKV-0002KG-DP for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v2 5/7] gnu: Add python-markdown-it-py. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Jun 2021 11:22:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48842 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48842@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 48842-submit@debbugs.gnu.org id=B48842.16230648988864 (code B ref 48842); Mon, 07 Jun 2021 11:22:03 +0000 Received: (at 48842) by debbugs.gnu.org; 7 Jun 2021 11:21:38 +0000 Received: from localhost ([127.0.0.1]:54567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDK5-0002In-Mw for submit@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:37 -0400 Received: from mout02.posteo.de ([185.67.36.66]:55551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDK0-0002HZ-3y for 48842@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:32 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 0EF832400E5 for <48842@debbugs.gnu.org>; Mon, 7 Jun 2021 13:21:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1623064886; bh=yuaK7hkp+vYeZYQLSj4GkxJZvrwlb7oYyug2kBRrTWs=; h=From:To:Cc:Subject:Date:From; b=RhRWB8TVpzJ9TwSrF1jl0+RltM8zeRmOy9Z8ieruYARjIrsRLDVep6pxXX7lpzZXT 422rYQRtsvbo7nhmkqPWrolrvgWD95b7KCumJSID+jUJdIArjhDWlHp7bhxM9Ggl5y vKTgwMiVACBGvQukdfVeSXMEcAksTwUnk9La1TrvUHqUB9UFVF/nWt8AhM/lruxuA7 EitUa02LW0vZVozI43VAxKFmyL3WBu8LczwsuLwnsQNcfR/icdTAcHxdQw0TNNlZV4 lCP0hAtnqJ5/HwZLnx5tLM/H0u6FaPQc0TvgbJuGWeve56ZhsxbGkBg6QWeZwHf0h5 r7+z4lUKa/k/w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fz9tD4G8zz9rxB; Mon, 7 Jun 2021 13:21:24 +0200 (CEST) From: Vinicius Monego Date: Mon, 7 Jun 2021 11:20:49 +0000 Message-Id: <20210607112051.214681-5-monego@posteo.net> In-Reply-To: <20210607112051.214681-1-monego@posteo.net> References: <20210607112051.214681-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623065228; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=0Ib7FpdKehXYZqMYRBsxZRnc/NBorywQwZ9FKcliE2c=; b=esOS9T3BklGzLfrseydLifUqtaOustzVGh5iGgXsUR4wE7hkmOFTC5mFjmpWLqYzD7h+ch tEsMBlz8p9v0OCMf+R8YjbnTaCKFJdMxHLq5UsbHJxVLtESZwUof673vgUZnAVseQke3cx I1+UG87chQQTR39zlMnGciQHVgvh5bdAR5+qs9KfXBiETR/CUNjMO1D55UCReMX6pSHqdb A2ifTRah0kEc5uioJf7zTkQWKsllJRMkiXzPHIciAcOftk9lOLD/szwtIRV5+0ItEJ2oiZ Twp9BC0HQtBMcpBujdWwTxk4td/CTpkH+vK4gWKA2XSW28L6qjSGfyhY09qcdQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623065228; a=rsa-sha256; cv=none; b=NnaxplUkGgPvHm9FCrlSlIVz/K27Hqgf2XDO4+vTcvqg8oYLJtTLA3wRl6sF9e56NslZI6 KMPPt2QCo3KCVcMJArLZWwqJjTooESe+riqghEbdXTy2+p1xwJ70hL1vZq/XYC2ZZaLYpy JCHVkoHl5Bs+iAMvpWITs8A3ZdpHkRkZ7IVGzas+UjGhQjT/7zVhhrEh1+7lE9WvMDg8jA 4CuO7iwuWmz0RMRC0AqsUCVjfXXT2Hw95yDsOEdDci9I+RHc/tgYdZIQrTSLxBk9Y3xrFm VoDyc5u9aLX2sYnqCE2qn9tRu4KZvkyac2tFTPyg+57sMXlSJZfg7BWm7lKDYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=RhRWB8TV; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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-Spam-Score: 5.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=RhRWB8TV; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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: 4904D20579 X-Spam-Score: 5.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ra/1pXlZ7lBY * gnu/packages/python-xyz.scm (python-markdown-it-py): New variable. --- Changed synopsis and description. gnu/packages/python-xyz.scm | 50 +++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d910d370e9..170eb15759 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7134,6 +7134,56 @@ content is only for the @code{linkify-it-py} project needs.") links recognition library with full unicode support.") (license license:expat))) +(define-public python-markdown-it-py + (package + (name "python-markdown-it-py") + (version "1.1.0") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/executablebooks/markdown-it-py") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0h7rn3rcqfwmnqs97qczwkw9w5g4df8bgn6sw7k149svfqgrkf56")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest"))))))) + (propagated-inputs + `(("python-attrs" ,python-attrs) + ("python-typing-extensions" + ,python-typing-extensions))) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-linkify-it-py" ,python-linkify-it-py) + ("python-psutil" ,python-psutil) + ("python-pytest" ,python-pytest) + ("python-pytest-benchmark" + ,python-pytest-benchmark) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-regressions" + ,python-pytest-regressions))) + (home-page "https://github.com/executablebooks/markdown-it-py") + (synopsis "Markdown parser with CommonMark support") + (description "This is a Python port of @code{markdown-it} (a Markdown +parser in JavaScript), and some of its associated plugins. Features: + +@itemize +@item Follows the CommonMark spec for baseline parsing. +@item Configurable syntax: Add new rules and even replace existing ones. +@item Pluggable: Adds syntax extensions to extend the parser. +@item Safe by default. +@end itemize") + (license license:expat))) + (define-public python-honcho (package (name "python-honcho") -- 2.31.1