From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 05 09:37:44 2021 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= To: Vinicius Monego , 48842@debbugs.gnu.org Subject: Re: [bug#48842] [PATCH 6/6] gnu: Add python-myst-parser. 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-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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/p [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 48842 Cc: Vinicius Monego X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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/p [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= 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----- --=-=-=--