[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/21: gnu: Add python-myst-parser.
From: |
guix-commits |
Subject: |
20/21: gnu: Add python-myst-parser. |
Date: |
Sun, 6 Nov 2022 00:11:20 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 788901567dc9ab7e514d738debc21f8610bec21c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Nov 4 22:42:13 2022 -0400
gnu: Add python-myst-parser.
* gnu/packages/sphinx.scm (python-myst-parser): New variable.
---
gnu/packages/sphinx.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 5b3e885647..5046fdaf85 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -735,6 +735,54 @@ and several other projects.")
(description "This package provides a Matplotlib theme for Sphinx.")
(license license:bsd-3)))
+(define-public python-myst-parser
+ (package
+ (name "python-myst-parser")
+ (version "0.18.1")
+ (source (origin
+ (method git-fetch) ;for tests
+ (uri (git-reference
+ (url "https://github.com/executablebooks/MyST-Parser")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0lcz9vvy8hbp6cjmbslrlxn3pinf98jykiq8nx5lw5y0lz0mj162"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; There are 3 test failures, seemingly due to expecting a slightly
+ ;; different output from Sphinx (see:
+ ;; https://github.com/executablebooks/MyST-Parser/issues/645).
+ (list #:test-flags #~(list "-k" (string-append
+ "not test_basic "
+ "and not test_gettext_html "
+ "and not test_fieldlist_extension"))))
+ (native-inputs
+ (list python-beautifulsoup4
+ python-docutils
+ python-flit-core
+ python-pytest
+ python-pytest-param-files
+ python-pytest-regressions
+ python-sphinx
+ python-sphinx-pytest))
+ (propagated-inputs
+ (list python-docutils
+ python-jinja2
+ python-linkify-it-py
+ python-markdown-it-py
+ python-linkify-it-py
+ python-mdit-py-plugins
+ python-pyyaml
+ python-sphinx
+ python-typing-extensions))
+ (home-page "https://myst-parser.readthedocs.io/en/latest/")
+ (synopsis "Sphinx and Docutils extension to parse MyST")
+ (description "This package provides a Sphinx and Docutils extension to
parse
+MyST, a rich and extensible flavour of Markdown for authoring technical and
+scientific documentation.")
+ (license license:expat)))
+
(define-public python-sphinx-rtd-theme
(package
(name "python-sphinx-rtd-theme")
- 09/21: gnu: ccache: Update to 4.7.2., (continued)
- 09/21: gnu: ccache: Update to 4.7.2., guix-commits, 2022/11/06
- 10/21: gnu: Add clara., guix-commits, 2022/11/06
- 12/21: gnu: restinio: Prepare for tests and propagate some inputs., guix-commits, 2022/11/06
- 14/21: gnu: qtwebengine: Fix build., guix-commits, 2022/11/06
- 18/21: gnu: Add python-uc-micro-py., guix-commits, 2022/11/06
- 15/21: gnu: Add python-sphinx-pytest., guix-commits, 2022/11/06
- 16/21: gnu: Add python-pytest-param-files., guix-commits, 2022/11/06
- 13/21: gnu: restinio: Update to 0.6.17., guix-commits, 2022/11/06
- 17/21: gnu: python-mdit-py-plugins: Update to 0.3.1., guix-commits, 2022/11/06
- 19/21: gnu: Add python-linkify-it-py., guix-commits, 2022/11/06
- 20/21: gnu: Add python-myst-parser.,
guix-commits <=
- 21/21: gnu: Add jami-docs., guix-commits, 2022/11/06