[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49338] [PATCH 2/8] gnu: Add python-recommonmark.
From: |
Hugo Lecomte |
Subject: |
[bug#49338] [PATCH 2/8] gnu: Add python-recommonmark. |
Date: |
Mon, 5 Jul 2021 09:29:25 +0200 |
* gnu/packages/python-xyz.scm (python-recommonmark): New variable.
---
gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8f3a436e81..0796228109 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26061,3 +26061,32 @@ representing paths or filenames.")
"Provide a generic API, given a set of safe characters and an escape
character,
to escape safe strings and unescape the result.")
(license license:expat)))
+
+(define-public python-recommonmark
+ (package
+ (name "python-recommonmark")
+ (version "0.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "recommonmark" version))
+ (sha256
+ (base32
+ "0rvdd2ikdr0yg6cx6594fdzn53cmdc0g0i6qsbcdq8i2kxjdpd5x"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-commonmark" ,python-commonmark)
+ ("python-docutils" ,python-docutils)
+ ("python-sphinx" ,python-sphinx)))
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (add-after 'unpack 'delete-test-sphinx
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ (delete-file "tests/test_sphinx.py")))))))
+ (home-page "https://github.com/readthedocs/recommonmark")
+ (synopsis "Docutils-compatibility bridge to CommonMark")
+ (description
+ "A docutils-compatibility bridge to CommonMark, enabling you to write
+CommonMark inside of Docutils & Sphinx projects.")
+ (license license:expat)))
--
2.31.1
- [bug#49338] [PATCH 0/8] Repo2docker packages, Hugo Lecomte, 2021/07/02
- [bug#49338] [PATCH 0/8] Repo2docker packages, zimoun, 2021/07/03
- [bug#49338] [PATCH 1/8] gnu: Add python-escapism., Hugo Lecomte, 2021/07/05
- [bug#49338] [PATCH 2/8] gnu: Add python-recommonmark.,
Hugo Lecomte <=
- [bug#49338] [PATCH 3/8] gnu: Add python-pytest-datadir., Hugo Lecomte, 2021/07/05
- [bug#49338] [PATCH 4/8] gnu: Add python-pytest-regressions., Hugo Lecomte, 2021/07/05
- [bug#49338] [PATCH 5/8] gnu: Add python-jupyter-sphinx., Hugo Lecomte, 2021/07/05
- [bug#49338] [PATCH 6/8] gnu: Add python-sphinxcontrib-autoprogram., Hugo Lecomte, 2021/07/05
- [bug#49338] [PATCH 8/8] gnu: Add repo2docker., Hugo Lecomte, 2021/07/05
- [bug#49338] [PATCH 7/8] gnu: Add python-pydata-sphinx-theme., Hugo Lecomte, 2021/07/05
- bug#49338: [PATCH 0/8] Repo2docker packages, Ludovic Courtès, 2021/07/08