From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aLHFJT9+u2BwNAEAgWs5BA (envelope-from ) for ; Sat, 05 Jun 2021 15:38:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CNEKIT9+u2DNIgAAB5/wlQ (envelope-from ) for ; Sat, 05 Jun 2021 13:38:07 +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 E89F91DB6C for ; Sat, 5 Jun 2021 15:38:06 +0200 (CEST) Received: from localhost ([::1]:40846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpWV3-000489-N0 for larch@yhetil.org; Sat, 05 Jun 2021 09:38:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpWV0-000481-9n for guix-patches@gnu.org; Sat, 05 Jun 2021 09:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpWV0-0005Lm-2H for guix-patches@gnu.org; Sat, 05 Jun 2021 09:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lpWUz-0004Ao-Qc for guix-patches@gnu.org; Sat, 05 Jun 2021 09:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH 6/6] gnu: Add python-myst-parser. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Jun 2021 13:38: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: Vinicius Monego , 48842@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 48842-submit@debbugs.gnu.org id=B48842.162290026416019 (code B ref 48842); Sat, 05 Jun 2021 13:38:01 +0000 Received: (at 48842) by debbugs.gnu.org; 5 Jun 2021 13:37:44 +0000 Received: from localhost ([127.0.0.1]:48499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpWUi-0004AI-24 for submit@debbugs.gnu.org; Sat, 05 Jun 2021 09:37:44 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:54258 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpWUf-0004A2-6Z for 48842@debbugs.gnu.org; Sat, 05 Jun 2021 09:37:42 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1622900253; bh=QobTRH6Owv0zTkULnq3EZ9AeE93PlfJcFRu2L3uH8Ts=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=GKVER/J3RQ84Gb01uqzafXD+kI89bJRhxqLeEhYFR2LttPHrZoezk7mku0J3dUbgH QAH3ramV84ps1KcnLT2veeOZZowQ7ia1OB2dXB7mHW2Kl02x+RWw2qPqHKk7xE7OYQ zixWoaFw5wnXMxcXfMOfMFzA9U9goAHtu56s9YvA= In-Reply-To: <20210605014655.18459-6-monego@posteo.net> References: <20210605014655.18459-1-monego@posteo.net> <20210605014655.18459-6-monego@posteo.net> Date: Sat, 05 Jun 2021 15:37:32 +0200 Message-ID: <87r1hg8mar.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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=1622900287; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=gwqMLQCam/IHhRlZutnggV1c2iipSV58HNrTpYtTlm4=; b=NKi6nW4YOn7B11pFAehhkhzbeZhUFyQAuHLS/OW6mA8eiRKbZJK0p5Kw9PkHsM1UGxaZ2t w6XJQ86ngv99cce8TttH9ULo+yEK9fRrhipFmJZ8C5ut/2q9Dq3ywbnHmjxAxfu41rJldh 9tdW71yz0y47HxnWym1oC0vldt2/79XwIXPwkTv+JWnwyjPufAB1leispBnIhLWpA7217C j/4JknNJSjZq6TetZUwyZ4Iqww8X2tpYtthWoJO42Ezjv2qMr2jGX4Cq8nZwNyjhE452/0 k+zEbAYnEWlwp5NhVznn6aRy/Rp4yikB+t6bLZMAaKSfDG9mpCyMmoobL9TNbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622900287; a=rsa-sha256; cv=none; b=aKonpu+ybMemldyu11zcvW1XxhqvdOSXCN8SVsRTbS1Ila4lvwRLdT6UbfpR3bBRq9BUTZ upVZTzs7klKNZYb05FAn8LcdGkVOFlviNrdwp1pfOQIOpVkq3bmy0BVSokuc/CoUI6TKvE GeZ6H8qgpfB9bvgcjANanze+ByTGIXOIgjQDJZJtZ2pM1bDcGCLqtOmHdnXYu9AHz8hm7Q /UpwqV4iMgbTR6SrfhIx63cMhJQW8fprWBHH3WCS6y9y4jDDpVIrAGB+OTYDZzC5KD5EYM obJu1lMd2xdCyrfEZnorU8JaklbxMiOubaoOTl8rSAdrCgUCOCGnd8V2SkIKEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="GKVER/J3"; 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: -3.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b="GKVER/J3"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: E89F91DB6C X-Spam-Score: -3.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: 945FygdJkntT --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sat, Jun 05 2021, Vinicius Monego wrote: > * gnu/packages/sphinx.scm (python-myst-parser): New variable. > --- > gnu/packages/sphinx.scm | 53 +++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 53 insertions(+) > > diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm > index 14bc3f5a79..7ec0afae8b 100644 > --- a/gnu/packages/sphinx.scm > +++ b/gnu/packages/sphinx.scm > @@ -44,6 +44,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) > @@ -603,6 +604,58 @@ and several other projects.") > (define-public python2-sphinx-rtd-theme > (package-with-python2 python-sphinx-rtd-theme)) >=20=20 > +(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 fail with AssertionErrors like these: > + ;; E -
> + ;; E +
> + "--ignore" "tests/test_sphinx/test_sphinx_builds.= py" > + ;; E - > + ;; E + > + "-k" "not test_sphinx_directives"))))))) Maybe this is because our =E2=80=98python-sphinx=E2=80=99 package is outdat= ed? Just a guess. > + (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 > + "An extended commonmark compliant parser, with bridges to docutils = and > +Sphinx.") Full sentence. :) Builds fine for me! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmC7fhwVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5+egP/09kvta4ya/FGyCSV7Cn41gDTdu7 V6M5Op6mDRTWM1/JErcTGdQv1J7ePf1tB76Gn1CzvWzw6CGOWh1aM8pFVbEAIbV3 tssXpgP+3R7JdS8aJLJVDyUaGGHD3QTTrgMkdI++VTfzW1jfSfw/Oag1uDfoOVNo w8PMZ3PkDwntTW3NkbdOjuktberneYU/AhLOhA22cqHBM46aEzX6Ulx6CdRSn1aC bul6E5lmtV/MQw7+yQb91b/MVpMvQNBS5kwaMwe+GNNhZKrLSrFOpALl9zKWnDx5 pBkYf3kk0iMvlRVp7qCHBNrwU7BOWUujlbrpyZP/nm9ZiP5PcJv5raqplnuhG8hT V5KQOK40fMnf9k7Wg+Vc9gmQdzzpkF8WOc51JYzTeJcMZDTe2hrvApDcByZ3xqaG L+1kfFyvQKFCD/GTa2/eRfp/IRMw8qgCSk/lSnepf1tTgcio8SW1z2dfWcx5aBSG i0WsRCA1XJI5SjswoV4sisvN13+TIBLsAuUhtVfLyz6e6UlYQWCKbMUDAB2KtsSO tcd0qN8q80+NcyCvjwxNWFcj30usz7b3jyEVd8hIFdpjVMUGa2pR4Abq62vCJfvu HtpOSq97VgjUot+rQ4c+sIiO7N1PkZTSx8flQJiy6dvUkPwG+Bk6DTdstn7GvTUG kdCi40x90v2nEhqi =qQ+i -----END PGP SIGNATURE----- --=-=-=--