From patchwork Wed Sep 15 16:41:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 32871 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 F38E027BBE3; Wed, 15 Sep 2021 17:51:39 +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_H2,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 B757D27BBE1 for ; Wed, 15 Sep 2021 17:51:39 +0100 (BST) Received: from localhost ([::1]:57852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQY8I-0006LO-Op for patchwork@mira.cbaines.net; Wed, 15 Sep 2021 12:51:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQXzy-0001y9-SV for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQXzy-0006Co-JS for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQXzy-0003XY-FP for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v3 1/5] gnu: Add python-uc-micro-py. 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: Wed, 15 Sep 2021 16:43: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.163172412713496 (code B ref 48842); Wed, 15 Sep 2021 16:43:02 +0000 Received: (at 48842) by debbugs.gnu.org; 15 Sep 2021 16:42:07 +0000 Received: from localhost ([127.0.0.1]:53112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXz4-0003Vb-L2 for submit@debbugs.gnu.org; Wed, 15 Sep 2021 12:42:06 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXz2-0003Un-0p for 48842@debbugs.gnu.org; Wed, 15 Sep 2021 12:42:05 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id C4694240106 for <48842@debbugs.gnu.org>; Wed, 15 Sep 2021 18:41:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631724117; bh=U+CUqP4sU98uD7E9GUogUELLnYE+iqcMzsCsFo4RDks=; h=From:To:Cc:Subject:Date:From; b=PO8Jnm70YJPGi6G7zjioab7oLIPoLuQryDURrVZ4yKAPRjs2SCPWv7dmDVlCFdrfm rceRtK4FEz0gPdkxBbUHg/LI7A2wUTS/YqmiOZpFl7o3bJ8gE7ScuxJXH6wtnrOsAo P2LOBzOUY9scfksI6SqbPQJBHHmvgQQGRFA0lqpotGZwtYgebpMh6bIvFIf5aZYHpe +tDTzZqo1olYjcug/25unaVlgSEyesK6lSbgkPOt3Cno1qYY8sIMzcAnvOg7zpwwdM kElHmSfGDoel7BimSPFhDEeG7gYFUKdgIa28YV1GIi9ELXvQK6jPPzp5eJL5CJEsBV TpsJguOXhT+7Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H8mFk4Ht1z9rxf; Wed, 15 Sep 2021 18:41:46 +0200 (CEST) From: Vinicius Monego Date: Wed, 15 Sep 2021 16:41:26 +0000 Message-Id: <20210915164130.11236-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. --- Rebasing. Starting from this patch because the pytest plugins were pushed to the repository. 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 e98eec19bc..b742050b06 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7257,6 +7257,41 @@ cluster directly from Python. You can directly map Python functions onto the cluster without needing to write any wrapper code yourself.") (license license:gpl3+))) +;; 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 "Micro subset of unicode data files for linkify-it-py projects") + (description "This is a Python port of @code{uc.micro}. This package's +content is only for the @code{linkify-it-py} project needs.") + (license license:expat))) + (define-public python-honcho (package (name "python-honcho") From patchwork Wed Sep 15 16:41:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 32875 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 3D5D827BBE3; Wed, 15 Sep 2021 18:13:02 +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_H2,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 0470A27BBE1 for ; Wed, 15 Sep 2021 18:13:02 +0100 (BST) Received: from localhost ([::1]:41604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQYSy-0000Tf-MJ for patchwork@mira.cbaines.net; Wed, 15 Sep 2021 13:13:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQXzy-0001xG-Gm for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41576) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQXzy-0006CB-5G for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQXzy-0003XR-14 for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v3 2/5] gnu: Add python-linkify-it-py. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Sep 2021 16:43: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.163172412213473 (code B ref 48842); Wed, 15 Sep 2021 16:43:01 +0000 Received: (at 48842) by debbugs.gnu.org; 15 Sep 2021 16:42:02 +0000 Received: from localhost ([127.0.0.1]:53106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXz0-0003VF-B5 for submit@debbugs.gnu.org; Wed, 15 Sep 2021 12:42:02 -0400 Received: from mout01.posteo.de ([185.67.36.65]:52147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXyx-0003Ug-Ev for 48842@debbugs.gnu.org; Wed, 15 Sep 2021 12:42:01 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1B732240028 for <48842@debbugs.gnu.org>; Wed, 15 Sep 2021 18:41:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631724113; bh=3meUIQDcCGlk0kOog66WS5UgHm77LKA9Sy0gRZn+XwI=; h=From:To:Cc:Subject:Date:From; b=BXWVrOYWnC4LOnIzwzDAOMi3X+9UIFKK8v94o4Dkuargux/FZKof6TGyl/rkpscNu EBmgdUsvNhevnzmyVUH0KW6aro41BQREfoET3XsejU9hm5vgSIy3N2cRzo42P8dGCp tz3PgZP9C0aaXcx4dvdUplrzc7IJ7nG7hyI2SofiyB0CU/LPHaFVVW+C7kiINURHQv yCWXCxhJkoG1rimkCz+DBa8WcyQPFsAEpfvG0ncBVmrRyTlZnm0doFp1cRlc1Atcm5 zlNBFl3IWBqvnSAn6fWnjY8GAJTX8vSqK3ChgXjN1iG1i+c2en/9Sw2G8H8QGy45Nj 5+/ToF18f0xrQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H8mFr0RDzz6tmJ; Wed, 15 Sep 2021 18:41:51 +0200 (CEST) From: Vinicius Monego Date: Wed, 15 Sep 2021 16:41:27 +0000 Message-Id: <20210915164130.11236-2-monego@posteo.net> In-Reply-To: <20210915164130.11236-1-monego@posteo.net> References: <20210915164130.11236-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. --- Rebasing. 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 b742050b06..8e50b1c4ff 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7292,6 +7292,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 Wed Sep 15 16:41:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 32873 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 A590F27BBE3; Wed, 15 Sep 2021 17:54:06 +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_H2,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 6642927BBE1 for ; Wed, 15 Sep 2021 17:54:06 +0100 (BST) Received: from localhost ([::1]:36554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQYAf-0002Ya-Fi for patchwork@mira.cbaines.net; Wed, 15 Sep 2021 12:54:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQXzz-0001zN-7D for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQXzy-0006DD-Uj for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQXzy-0003Xf-Sq for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v3 3/5] gnu: Add python-markdown-it-py. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Sep 2021 16:43: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.163172412713504 (code B ref 48842); Wed, 15 Sep 2021 16:43:02 +0000 Received: (at 48842) by debbugs.gnu.org; 15 Sep 2021 16:42:07 +0000 Received: from localhost ([127.0.0.1]:53114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXz4-0003Vd-U2 for submit@debbugs.gnu.org; Wed, 15 Sep 2021 12:42:07 -0400 Received: from mout02.posteo.de ([185.67.36.66]:58607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXz2-0003Up-Fv for 48842@debbugs.gnu.org; Wed, 15 Sep 2021 12:42:05 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 9D08824010E for <48842@debbugs.gnu.org>; Wed, 15 Sep 2021 18:41:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631724118; bh=uoBJA4ytpdei2c7f68g3bJJzCqpWwPejCsMRaagUAok=; h=From:To:Cc:Subject:Date:From; b=Mb8DiLI2GxqkvsKB7zzqQRCBO+Krb9jpS4pubJG1T/4Gy0Ssdf4UwOHmi1WSW412D rxoW3F5fZ2yVSyKPdI6AXIVXG3lwnOILLNz/tZ1SH5yU22v1jEnEbZcAVLDrvhgpiq MK220LqjeSkjPeT1HuFS1Onzri7L3of8gLSHIW6n0SLMMWTVsHxGS3LpiT7bHXV+vD 5x7BqqoKq3hsr6BccbUh4j51EJolotZgR4GTXlbpiVM6nySzExb1V8mnyOFkng1jS6 +VZvulfIdClCzNDGVcbuyxjHrJbXWWcbfm8sD64rKIIdmNp0Jx9fLkK/RCwZeHmi1i 7WGb52kxWXZRQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H8mFx4sN3z9rxD; Wed, 15 Sep 2021 18:41:57 +0200 (CEST) From: Vinicius Monego Date: Wed, 15 Sep 2021 16:41:28 +0000 Message-Id: <20210915164130.11236-3-monego@posteo.net> In-Reply-To: <20210915164130.11236-1-monego@posteo.net> References: <20210915164130.11236-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. --- Rebasing. 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 8e50b1c4ff..11e766ab35 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7330,6 +7330,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 Wed Sep 15 16:41:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 32872 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 199A627BBE3; Wed, 15 Sep 2021 17:52:09 +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_H2,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 D40BE27BBE1 for ; Wed, 15 Sep 2021 17:52:08 +0100 (BST) Received: from localhost ([::1]:58696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQY8i-0006tB-6F for patchwork@mira.cbaines.net; Wed, 15 Sep 2021 12:52:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQXzz-00020p-Kn for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41579) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQXzz-0006Da-BG for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQXzz-0003Xn-90 for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v3 4/5] gnu: Add python-mdit-py-plugins. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Sep 2021 16:43: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.163172413213527 (code B ref 48842); Wed, 15 Sep 2021 16:43:03 +0000 Received: (at 48842) by debbugs.gnu.org; 15 Sep 2021 16:42:12 +0000 Received: from localhost ([127.0.0.1]:53118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXzA-0003W7-98 for submit@debbugs.gnu.org; Wed, 15 Sep 2021 12:42:12 -0400 Received: from mout01.posteo.de ([185.67.36.65]:53173) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXz6-0003VM-37 for 48842@debbugs.gnu.org; Wed, 15 Sep 2021 12:42:08 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 7D791240029 for <48842@debbugs.gnu.org>; Wed, 15 Sep 2021 18:42:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631724122; bh=uXNht/B3fvG3vxYOozctNZeDtZLrVyAbFsYijS0CSTQ=; h=From:To:Cc:Subject:Date:From; b=ctFouj7kPC9uckv+Ueh7cy4s/ayFB5NMLLigaymfcVHCHNjm8l2VfesMwgJbcF9d7 WAK3GonG1l5dtibnIKFxMwqM7aVW/mjlTPnVj8Y4idJ/B/PPdmZmCEB6J1CUVKE7Xm xeavGcaANGY/mxzOPCeZ826C8XUjgsnYCfNxg4qGMgGF+/EWDMYmdqzpqjfwyxKnyp 4a22N411vyPL+9QbkQBnNOkDSPrymAw3SmkypqjGxa5KsmkjJn6dJHmExd55egCbri raoQyaZxMRMcIhqJa4KfPPFeaZyFTIKrMXQiiDE/9ZLbmrJegpmrqgYPK1Yu02FbIj 7rNpG7UDQW+Xg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H8mG15QPCz6tmB; Wed, 15 Sep 2021 18:42:01 +0200 (CEST) From: Vinicius Monego Date: Wed, 15 Sep 2021 16:41:29 +0000 Message-Id: <20210915164130.11236-4-monego@posteo.net> In-Reply-To: <20210915164130.11236-1-monego@posteo.net> References: <20210915164130.11236-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. --- Rebasing. 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 11e766ab35..fa00277500 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7380,6 +7380,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 Wed Sep 15 16:41:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 32874 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 DF35727BBE3; Wed, 15 Sep 2021 17:59:01 +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_H2,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 9D9B227BBE1 for ; Wed, 15 Sep 2021 17:59:01 +0100 (BST) Received: from localhost ([::1]:44328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQYFQ-000878-85 for patchwork@mira.cbaines.net; Wed, 15 Sep 2021 12:59:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQY00-00022F-2p for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41580) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQXzz-0006E0-P6 for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQXzz-0003Xu-MD for guix-patches@gnu.org; Wed, 15 Sep 2021 12:43:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH v3 5/5] gnu: Add python-myst-parser. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Sep 2021 16:43: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.163172413513543 (code B ref 48842); Wed, 15 Sep 2021 16:43:03 +0000 Received: (at 48842) by debbugs.gnu.org; 15 Sep 2021 16:42:15 +0000 Received: from localhost ([127.0.0.1]:53122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXzD-0003WN-Ig for submit@debbugs.gnu.org; Wed, 15 Sep 2021 12:42:15 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQXzA-0003Vi-9V for 48842@debbugs.gnu.org; Wed, 15 Sep 2021 12:42:13 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 9F28524002A for <48842@debbugs.gnu.org>; Wed, 15 Sep 2021 18:42:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631724126; bh=8M9wNzgEoSFcRAfLDBFAZ4kPq8C0lb/RZFyilnXda9I=; h=From:To:Cc:Subject:Date:From; b=BtPsEZdXi/nfHVOIw42z7TQ3tlBCLAi7htT04DJoKf3l/0PSM31Ik5i/Z7ey9CTua 8cohJMf7YzH4rBOVttXfpoNToRyDKTs1mCbDLcUKFowP4XnHGyE+K71BTt8sxPgalX mo9Ox1FvU9igwAB2eAUabFjKrEG4FqpEZnYnEGrK7fB1O0/3de7/b//0MiBMuIJoGQ RSa1sZYTHmbKHTZQXl1w1eAtXGypE5BpM1zsFwRVUvUucrknUzZRkdnWmBQBZZDDlE OaOYEDLWbI8l4thosQ7Kge5ajNbl0U8oS9ntFQkEgW3ys7Z/P89eRrP+dpFKJhkZuo 2l2iIIYk4vHfA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H8mG56JK6z6tmB; Wed, 15 Sep 2021 18:42:05 +0200 (CEST) From: Vinicius Monego Date: Wed, 15 Sep 2021 16:41:30 +0000 Message-Id: <20210915164130.11236-5-monego@posteo.net> In-Reply-To: <20210915164130.11236-1-monego@posteo.net> References: <20210915164130.11236-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. --- Updated to 0.15.2 and enabled full tests. gnu/packages/sphinx.scm | 47 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index a7a3443707..b801ef41c7 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -46,6 +46,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) @@ -619,6 +620,52 @@ 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.15.2") + (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 "0x894k0s2c1f71b5rh0vlcv8hxm1p1i3hqnyhi5qz5z35npnf3ms")))) + (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-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-linkify-it-py" ,python-linkify-it-py) + ("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")