GNU bug report logs - #25811
[PATCH 3/8] gnu: Add python-m2r.

Previous Next

Package: guix-patches;

Reported by: Troy Sankey <sankeytms <at> gmail.com>

Date: Mon, 20 Feb 2017 06:38:06 UTC

Severity: normal

Tags: patch

Done: Troy Sankey <sankeytms <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Troy Sankey <sankeytms <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Troy Sankey <sankeytms <at> gmail.com>
Subject: [PATCH 3/8] gnu: Add python-m2r.
Date: Mon, 20 Feb 2017 01:37:37 -0500
* gnu/packages/python.scm (python-m2r, python2-m2r): New variables.
---
 gnu/packages/python.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9d2b977a7..4e87e3867 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12709,6 +12709,30 @@ Python.  It is based on Parsing Expression Grammars, PEG.  With pyPEG you can
 parse many formal languages.")
     (license license:gpl2)))
 
+(define-public python-m2r
+  (package
+    (name "python-m2r")
+    (version "0.1.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "m2r" version))
+        (sha256
+          (base32
+            "08rjn3x1qag60wawjnq95wmgijrn33apr4fhj01s2p6hmrqgfj1l"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-docutils" ,python-docutils)
+       ("python-mistune" ,python-mistune)))
+    (home-page "https://github.com/miyakogi/m2r")
+    (synopsis "Markdown to reStructuredText converter")
+    (description "M2R converts a markdown file including reST markups to a
+valid reST format.")
+    (license license:expat)))
+
+(define-public python2-m2r
+  (package-with-python2 python-m2r))
+
 (define-public python-constantly
   (package
     (name "python-constantly")
-- 
2.11.1





This bug report was last modified 8 years and 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.