From patchwork Mon Jun 7 11:20:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 29998 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0532827BC83; Mon, 7 Jun 2021 12:28:54 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 84E3A27BC81 for ; Mon, 7 Jun 2021 12:28:53 +0100 (BST) Received: from localhost ([::1]:37570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqDR6-0007Zj-Ic for patchwork@mira.cbaines.net; Mon, 07 Jun 2021 07:28:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqDKU-0000qf-Ik for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43026) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqDKU-0006TX-AL for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqDKU-0002Ju-6T for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v2 1/7] gnu: Add python-pytest-datadir. References: <20210605014517.18212-1-monego@posteo.net> In-Reply-To: <20210605014517.18212-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Jun 2021 11:22:02 +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.16230648948834 (code B ref 48842); Mon, 07 Jun 2021 11:22:02 +0000 Received: (at 48842) by debbugs.gnu.org; 7 Jun 2021 11:21:34 +0000 Received: from localhost ([127.0.0.1]:54557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDJx-0002Hy-SA for submit@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:34 -0400 Received: from mout01.posteo.de ([185.67.36.65]:59339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDJu-0002HO-Aa for 48842@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:28 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E2E03240029 for <48842@debbugs.gnu.org>; Mon, 7 Jun 2021 13:21:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1623064879; bh=bpg8io0MNyXqlXbOJGqoHQZcRvnh/I63dQBjXZlstF4=; h=From:To:Cc:Subject:Date:From; b=mvCnlvjyGr/uzsyNIzOp6GhIC9JhDY0hB2/8Sh0DzzDQRQPzD8uUCHaPGBkHMtdKM p2CeJIPCAGuUZJkGcrT6jJu0vTS+SyJhIev9tilzlKpMBMu1N/Lb9/wF+Ctf9NGna3 WPTEfD+AYFX8pX5Z5xsK+rgvM1rVv7KdoXMcT/jbOVhj1SgounGUS4wTGDw8h1miMF naXFJZjPG66uVD3t5CcCdWAzKMyBqmQPGzbsR/BuxPkDxVqyLw/XYBix0ohCQ2b+u2 O3PWCOsKGWcC/lPWGOPjAS23uACfWgBkBidiFXJbqeAK59DNjKyWqAUVC/VjNOruhJ IxafhUgjqQIEA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fz9t62DrXz9rxB; Mon, 7 Jun 2021 13:21:17 +0200 (CEST) From: Vinicius Monego Date: Mon, 7 Jun 2021 11:20:45 +0000 Message-Id: <20210607112051.214681-1-monego@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-check.scm (python-pytest-datadir): New variable. --- Changed synopsis and description. gnu/packages/python-check.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 1206dda5c4..3bdd11d4f5 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -882,6 +882,36 @@ framework.") for the @code{pytest} framework.") (license license:expat))) +(define-public python-pytest-datadir + (package + (name "python-pytest-datadir") + (version "1.3.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-datadir" version)) + (sha256 + (base32 "066bg6wlzgq2pqnjp73dfrcmk8951xw3aqcxa3p1axgqimrixbyk")))) + (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-pathlib2" ,python-pathlib2))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-setuptools-scm" ,python-setuptools-scm))) + (home-page "https://github.com/gabrielcnr/pytest-datadir") + (synopsis "Pytest plugin to manipulate test data directories and files") + (description "This package provides a Pytest plugin for manipulating test +data directories and files.") + (license license:expat))) + (define-public python-pytest-benchmark (package (name "python-pytest-benchmark") From patchwork Mon Jun 7 11:20:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 30000 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C799C27BC78; Mon, 7 Jun 2021 12:33:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9AB1627BC81 for ; Mon, 7 Jun 2021 12:33:24 +0100 (BST) Received: from localhost ([::1]:50344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqDVT-0007xd-FG for patchwork@mira.cbaines.net; Mon, 07 Jun 2021 07:33:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqDKU-0000q6-72 for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43025) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqDKT-0006Ss-Vu for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqDKT-0002Jn-Pt for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v2 2/7] gnu: Add python-pytest-regressions. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Jun 2021 11:22:01 +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.16230648898805 (code B ref 48842); Mon, 07 Jun 2021 11:22:01 +0000 Received: (at 48842) by debbugs.gnu.org; 7 Jun 2021 11:21:29 +0000 Received: from localhost ([127.0.0.1]:54555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDJx-0002Hw-Jd for submit@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:29 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDJv-0002HQ-JC for 48842@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:28 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 720A92400FD for <48842@debbugs.gnu.org>; Mon, 7 Jun 2021 13:21:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1623064881; bh=aoC4QGsWFR+y2XQt+uOZ+9ckDzlsI6Mkq87fzVIguxc=; h=From:To:Cc:Subject:Date:From; b=k4krOa7y8IRintNq1rXVmudO99UpI2iIau6GKMJIlOSeP2yyJzngyUgw5husd3bKh aGrpEKhRA5lH5+P93BXhKvTc5UmB5ZAnUZPm8JtbnLzfSCn7K/qt1qPrwkbfEJ+kSO GIntm20GykjA7UfYd3yk6g+qC9zK4sTyPMwZF+Ytd5S8XpqMvh8ZGfeVt6fp+dDw7f ATpdYFW5HvzzvKjUin0ngNj7y3Im3NWTxJ6Q4sN+d+5jIaJVTnpOS5Ze7b7xQl/pmK xSO5Mo8f8iO55kzsMZ8fzc1CoJxkR/HPJPAai/zTA4TkHY5eyBjae8nhLGsP3yNf6A SqorPQn0y8Q+A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fz9t76W9Vz9rxG; Mon, 7 Jun 2021 13:21:19 +0200 (CEST) From: Vinicius Monego Date: Mon, 7 Jun 2021 11:20:46 +0000 Message-Id: <20210607112051.214681-2-monego@posteo.net> In-Reply-To: <20210607112051.214681-1-monego@posteo.net> References: <20210607112051.214681-1-monego@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-check.scm (python-pytest-regressions): New variable. --- Rebasing only. gnu/packages/python-check.scm | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 3bdd11d4f5..7c8e6546a2 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -35,9 +35,11 @@ #:use-module (gnu packages django) #:use-module (gnu packages openstack) #:use-module (gnu packages python-build) + #:use-module (gnu packages python-science) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) + #:use-module (gnu packages sphinx) #:use-module (gnu packages web) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -912,6 +914,47 @@ for the @code{pytest} framework.") data directories and files.") (license license:expat))) +(define-public python-pytest-regressions + (package + (name "python-pytest-regressions") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-regressions" version)) + (sha256 + (base32 "05jpsvv8rj8i4x24fphpnar5dl4s6d6bw6ikjk5d8v96rdviz9qm")))) + (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" + ;; DeprecrationWarning. + "-k" "not test_image_regression"))))))) + (propagated-inputs + `(("python-pytest-datadir" ,python-pytest-datadir) + ("python-pyyaml" ,python-pyyaml))) + (native-inputs + `(("python-matplotlib" ,python-matplotlib) + ("python-numpy" ,python-numpy) + ("python-pandas" ,python-pandas) + ("python-pillow" ,python-pillow) + ("python-pytest" ,python-pytest) + ("python-restructuredtext-lint" + ,python-restructuredtext-lint) + ("python-setuptools-scm" ,python-setuptools-scm))) + (home-page "https://github.com/ESSS/pytest-regressions") + (synopsis "Easy to use fixtures to write regression tests") + (description + "This Pytest plugin makes it simple to test general data, images, files, +and numeric tables by saving expected data in a data directory that can be +used to verify that future runs produce the same data.") + (license license:expat))) + (define-public python-pytest-benchmark (package (name "python-pytest-benchmark") From patchwork Mon Jun 7 11:20:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 29995 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6119327BC81; Mon, 7 Jun 2021 12:26:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 235AF27BC78 for ; Mon, 7 Jun 2021 12:26:51 +0100 (BST) Received: from localhost ([::1]:59280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqDP8-0003F3-5p for patchwork@mira.cbaines.net; Mon, 07 Jun 2021 07:26:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqDKU-0000sB-WB for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43027) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqDKU-0006Tw-Nl for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqDKU-0002K2-K3 for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v2 3/7] gnu: Add python-uc-micro-py. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Jun 2021 11:22:02 +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.16230648978845 (code B ref 48842); Mon, 07 Jun 2021 11:22:02 +0000 Received: (at 48842) by debbugs.gnu.org; 7 Jun 2021 11:21:37 +0000 Received: from localhost ([127.0.0.1]:54562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDK2-0002IR-HR for submit@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:36 -0400 Received: from mout01.posteo.de ([185.67.36.65]:33845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDJw-0002HT-9M for 48842@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:28 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id B6DDA24002B for <48842@debbugs.gnu.org>; Mon, 7 Jun 2021 13:21:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1623064882; bh=suqpMETgI8D5JTsGLekQ2b6MotySBZo/eZI5JX2gPXw=; h=From:To:Cc:Subject:Date:From; b=lEh29/gmeGrK5UZfEarTTblfQ/ZRU//p0m18WCEmI0TjjL3rjADZ+qe7DcimaBDrj Q3Jyb+S9oKJ7y5yJcOmGFC6ff9ABWepAb2fgNegZ+HAmGsP2oye9NS8UsK2XUNuFWf 4vjQD3mBVIZZyTFFKw88m5la5C85nTN/oPHjfvXWPBFfmd9gOcLL/Mcx03RJuWGIYS 76TVdE8R1iqosRfiJX3ktLIuqLrngjP/I/s/Ryi8E2GhOa1vmwMf+L3Kcyn4GPHz1x n2sDIgDLk+5faRpTHb08zsrV8StMUPNHALlIaZdKOG8M5xMsNPk5cpQEmMzLNJy7q8 nCipg+qJiZKNg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fz9t93ftfz9rxG; Mon, 7 Jun 2021 13:21:21 +0200 (CEST) From: Vinicius Monego Date: Mon, 7 Jun 2021 11:20:47 +0000 Message-Id: <20210607112051.214681-3-monego@posteo.net> In-Reply-To: <20210607112051.214681-1-monego@posteo.net> References: <20210607112051.214681-1-monego@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-uc-micro-py): New variable. --- Split this patch into two. Added a comment on the top of the definition. Changed synopsis and description. gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b63c2852d5..0292fdcdfb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7061,6 +7061,41 @@ cluster without needing to write any wrapper code yourself.") (define-public python2-gridmap (package-with-python2 python-gridmap)) +;; This package's only purpose is to support python-linkify-it-py. Both +;; have to be updated at the same time by updating this one. +(define python-uc-micro-py + (package + (name "python-uc-micro-py") + (version "1.0.1") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/tsutsu3/uc.micro-py") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "17f55gi55rg47nm88fn3f8851ph03dgykdp011lxr3j6hk18lyfv")))) + (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"))))))) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (home-page "https://github.com/tsutsu3/uc.micro-py") + (synopsis "Data files for @code{python-linkify-it-py}") + (description "This is a Python port of @code{uc.micro}. This package's +content is only for the @code{python-linkify-it-py} project needs.") + (license license:expat))) + (define-public python-honcho (package (name "python-honcho") From patchwork Mon Jun 7 11:20:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 29996 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7D4AA27BC81; Mon, 7 Jun 2021 12:26:59 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 076C427BC78 for ; Mon, 7 Jun 2021 12:26:59 +0100 (BST) Received: from localhost ([::1]:60132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqDPG-0003nr-0L for patchwork@mira.cbaines.net; Mon, 07 Jun 2021 07:26:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqDKV-0000tz-CT for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqDKV-0006Uh-4y 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-0002K9-0g for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v2 4/7] gnu: Add python-linkify-it-py. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Jun 2021 11:22:02 +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.16230648978856 (code B ref 48842); Mon, 07 Jun 2021 11:22:02 +0000 Received: (at 48842) by debbugs.gnu.org; 7 Jun 2021 11:21:37 +0000 Received: from localhost ([127.0.0.1]:54565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDK5-0002Ib-1L for submit@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:37 -0400 Received: from mout02.posteo.de ([185.67.36.66]:58869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDJy-0002HW-8J for 48842@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:30 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 6F34A2400E5 for <48842@debbugs.gnu.org>; Mon, 7 Jun 2021 13:21:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1623064884; bh=2X0GBFLWVmiqp8SgJ7HZeniTmVU7eM7P+Os19EupZ4c=; h=From:To:Cc:Subject:Date:From; b=dWTu0LeymSdHtCrEYGDWdjHGC2IdPngegiURVabj7IPIzNyD4K96sOV3a19Kcz9nh BkFVYibR56Yr2hmAZSqD6koceiz6qYKOFxVYIh7evh6SsXJV/NEzkSwwzRTDLDKHQn 8hVUtqWkQHNw1z2/WwEPhicoeHUWFFGOfuKodhb3r+/qXZxf0gibpAin9x6JuZbk4X uha/tb1fxH14sGop75uso6w2P1YzddaYKUJnq2fLQPRjXWpvwL9zZ94vw2a4mV4O6Y 3XxsCLY6xUJxtlM9l2xunnTk2y6pV0WkEgfEKd9NFQUNmLk9VDGW7mD8nbknv7/xEH k+aGRbViXw3Hg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fz9tC0VBfz9rxG; Mon, 7 Jun 2021 13:21:22 +0200 (CEST) From: Vinicius Monego Date: Mon, 7 Jun 2021 11:20:48 +0000 Message-Id: <20210607112051.214681-4-monego@posteo.net> In-Reply-To: <20210607112051.214681-1-monego@posteo.net> References: <20210607112051.214681-1-monego@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-linkify-it-py): New variable. --- Changed description. gnu/packages/python-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0292fdcdfb..d910d370e9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7096,6 +7096,44 @@ cluster without needing to write any wrapper code yourself.") content is only for the @code{linkify-it-py} project needs.") (license license:expat))) +(define-public python-linkify-it-py + (package + (name "python-linkify-it-py") + (version (package-version python-uc-micro-py)) + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/tsutsu3/linkify-it-py") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00r4sxgvlxkm5k2jwvrsxgzcccfkfzd0knypbcig5almisg7bpl1")))) + (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-uc-micro-py" ,python-uc-micro-py))) + (native-inputs + `(("python-black" ,python-black) + ("python-coverage" ,python-coverage) + ("python-flake8" ,python-flake8) + ("python-isort" ,python-isort) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (home-page "https://github.com/tsutsu3/linkify-it-py") + (synopsis "Links recognition library with full unicode support") + (description "This is a Python port of @code{linkify-it}, a JavaScript +links recognition library with full unicode support.") + (license license:expat))) + (define-public python-honcho (package (name "python-honcho") From patchwork Mon Jun 7 11:20:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 29997 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9AED127BC81; Mon, 7 Jun 2021 12:27:07 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5A8F727BC78 for ; Mon, 7 Jun 2021 12:27:07 +0100 (BST) Received: from localhost ([::1]:60932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqDPO-0004M5-Bj for patchwork@mira.cbaines.net; Mon, 07 Jun 2021 07:27:06 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Mon Jun 7 11:20:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 29999 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B6B1927BC81; Mon, 7 Jun 2021 12:29:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7A07327BC78 for ; Mon, 7 Jun 2021 12:29:15 +0100 (BST) Received: from localhost ([::1]:38232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqDRS-00083x-HQ for patchwork@mira.cbaines.net; Mon, 07 Jun 2021 07:29:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqDKY-0000v2-Mr for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43030) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqDKV-0006V3-TQ for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqDKV-0002KO-Pr for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v2 6/7] gnu: Add python-mdit-py-plugins. 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.16230648988870 (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]:54569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDK6-0002Iv-1K for submit@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:38 -0400 Received: from mout01.posteo.de ([185.67.36.65]:59275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDK0-0002Ha-SG for 48842@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:33 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 5AD0C24002A for <48842@debbugs.gnu.org>; Mon, 7 Jun 2021 13:21:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1623064887; bh=DkCxr2LUQVgAtUZYpSCZVEXqUSE8Yvj/6g26APqrjLI=; h=From:To:Cc:Subject:Date:From; b=FMChEtF8PWOnUYJMDKJFd+7FlFd41dGrxlhfQnDWPbnZCLKM5eOzTdUPhj0bxQLXy G2WT99qo9/xa23B3w1VaOSZiQ68Ltr2EtFfgQJpfHJdsbXMEArvA9Lq7kjJFf/9OnV HP6ZPWdebE4evC+l9CP88DR5ZpjhlqkxsxYKGWcInYhnS9ulAeMSpbXFFpskdnrE0f sfNXp2YN2766fQWOrDHhwnXvVST4lQ70A3x9x0eyn99fxXq46or+pJgafwEI8GqxU0 JcE6sT8V72opqMwxPrDJ5mO+qGSUyadOWyTjaf3piZD7e1vCmYK8x1kZzauigi4bxV KIuQNXuOZsqMw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fz9tG12Ybz9rxK; Mon, 7 Jun 2021 13:21:25 +0200 (CEST) From: Vinicius Monego Date: Mon, 7 Jun 2021 11:20:50 +0000 Message-Id: <20210607112051.214681-6-monego@posteo.net> In-Reply-To: <20210607112051.214681-1-monego@posteo.net> References: <20210607112051.214681-1-monego@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-mdit-py-plugins): New variable. --- Changed synopsis and description. gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 170eb15759..b01a7f5bb8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7184,6 +7184,43 @@ parser in JavaScript), and some of its associated plugins. Features: @end itemize") (license license:expat))) +(define-public python-mdit-py-plugins + (package + (name "python-mdit-py-plugins") + (version "0.2.8") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/executablebooks/mdit-py-plugins") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0pq7cgzwb1gcbsdpdp51r3l6mnjdxc4hbfmwk6dy30pfa1lj6x1i")))) + (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-markdown-it-py" ,python-markdown-it-py))) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-regressions" + ,python-pytest-regressions))) + (home-page "https://github.com/executablebooks/mdit-py-plugins") + (synopsis "Collection of plugins for @code{python-markdown-it-py}") + (description "This package provides a collection of plugins for +@code{python-markdown-it-py}.") + (license license:expat))) + (define-public python-honcho (package (name "python-honcho") From patchwork Mon Jun 7 11:20:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 30001 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5486927BC81; Mon, 7 Jun 2021 12:36:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id EB80D27BC78 for ; Mon, 7 Jun 2021 12:36:09 +0100 (BST) Received: from localhost ([::1]:55552 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqDY9-0003BO-2j for patchwork@mira.cbaines.net; Mon, 07 Jun 2021 07:36:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqDKY-0000v1-MS for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43031) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqDKW-0006V5-AC for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqDKW-0002KV-6I for guix-patches@gnu.org; Mon, 07 Jun 2021 07:22:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v2 7/7] gnu: Add python-myst-parser. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Jun 2021 11:22:04 +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.16230648998878 (code B ref 48842); Mon, 07 Jun 2021 11:22:04 +0000 Received: (at 48842) by debbugs.gnu.org; 7 Jun 2021 11:21:39 +0000 Received: from localhost ([127.0.0.1]:54571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDK7-0002J8-B7 for submit@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:39 -0400 Received: from mout01.posteo.de ([185.67.36.65]:52759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqDK2-0002Hv-DY for 48842@debbugs.gnu.org; Mon, 07 Jun 2021 07:21:36 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id DFD0924002C for <48842@debbugs.gnu.org>; Mon, 7 Jun 2021 13:21:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1623064888; bh=2DY5T39e7rJWcroMq84M8PS6zUW+S2+HB+IZH5r3ww8=; h=From:To:Cc:Subject:Date:From; b=YT+h+8AiIR3y3Ycn8FQ6ChBQcSGSKURTsWl/+6JK55E8R2nwyMMHLXgRKAbXn5PK1 JsA3iHxBTgDYYlmutqJhHzCTYpBVj0Mv2ENZjv2/DXILuq4RM+EIBWvgAcRZcDwn1Q ypwC92uffxuW6mnALwhRSjZ/tkwq9g1oVIo0J0iQqylpQT8zqdgIkkl3Cd+HItvrNU 4Oo5zGzLNIdHvPaDapsKIjcTp0IWUDG/icB18DJg8sSL+t7evcvQU6ngawoXGpvzIj O3ySfOnuuz3QD3nwr8bIrVQNO7K4AYT39Xx19xe+L28CmwCNLq51MSxouMCjCRnXxM T6rRsJE2vOj3w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Fz9tH4qQ9z9rxN; Mon, 7 Jun 2021 13:21:27 +0200 (CEST) From: Vinicius Monego Date: Mon, 7 Jun 2021 11:20:51 +0000 Message-Id: <20210607112051.214681-7-monego@posteo.net> In-Reply-To: <20210607112051.214681-1-monego@posteo.net> References: <20210607112051.214681-1-monego@posteo.net> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/sphinx.scm (python-myst-parser): New variable. --- Changed synopsis and description, and clarified the comment about why tests are skipped. gnu/packages/sphinx.scm | 55 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 428a701d87..eefba27f00 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -45,6 +45,7 @@ #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) #:use-module (gnu packages python-build) + #:use-module (gnu packages python-check) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) @@ -616,6 +617,60 @@ and several other projects.") (define-public python2-sphinx-rtd-theme (package-with-python2 python-sphinx-rtd-theme)) +(define-public python-myst-parser + (package + (name "python-myst-parser") + (version "0.14.0") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/executablebooks/myst-parser") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0s5lmhj1rb94na646klivzvzzhzpy03m5q9ixif9vg14yin3gm7s")))) + (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" + ;; Tests in this file fail with AssertionErrors related + ;; to adding divs to the HTML tags: + ;; E -
+ ;; E +
+ "--ignore" "tests/test_sphinx/test_sphinx_builds.py" + ;; Another AssertionError: + ;; E - + ;; E + + "-k" "not test_sphinx_directives"))))))) + (propagated-inputs + `(("python-docutils" ,python-docutils) + ("python-jinja2" ,python-jinja2) + ("python-markdown-it-py" ,python-markdown-it-py) + ("python-mdit-py-plugins" + ,python-mdit-py-plugins) + ("python-pyyaml" ,python-pyyaml) + ("python-sphinx" ,python-sphinx))) + (native-inputs + `(("python-beautifulsoup4" ,python-beautifulsoup4) + ("python-coverage" ,python-coverage) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-regressions" + ,python-pytest-regressions))) + (home-page "https://github.com/executablebooks/MyST-Parser") + (synopsis "Extended CommonMark-compliant parser") + (description + "MyST-parser is an extended CommonMark-compliant parser, with bridges to +docutils and Sphinx.") + (license license:expat))) + (define-public python-breathe (package (name "python-breathe")