guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/46: gnu: Add python-readme-renderer.


From: guix-commits
Subject: 11/46: gnu: Add python-readme-renderer.
Date: Tue, 21 Jul 2020 08:49:36 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 7bef1f6cd5e59a7c62979d6e9322c55e4941f4c4
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 21 11:02:18 2020 +0300

    gnu: Add python-readme-renderer.
    
    * gnu/packages/python-xyz.scm (python-readme-renderer): 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 bb99f05..8af77ad 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20621,3 +20621,32 @@ For the most part it's transliterated from C, the 
major differences are:
      "Blessed is a thin, practical wrapper around terminal styling, screen
 positioning, and keyboard input.")
     (license license:expat)))
+
+(define-public python-readme-renderer
+  (package
+    (name "python-readme-renderer")
+    (version "26.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "readme_renderer" version))
+        (sha256
+         (base32
+          "13fnrv7z3y0yfafzcjbl55cqxncvbxadr72ql4l29pgyvrqxpsfb"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-bleach" ,python-bleach)
+       ("python-docutils" ,python-docutils)
+       ("python-pygments" ,python-pygments)
+       ("python-six" ,python-six)))
+    (native-inputs
+     `(("python-mock" ,python-mock)
+       ("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/pypa/readme_renderer";)
+    (synopsis "Render README files in Warehouse")
+    (description
+     "Readme Renderer is a library that will safely render arbitrary README
+files into HTML.  It is designed to be used in Warehouse to render the
+@code{long_description} for packages.  It can handle Markdown, 
reStructuredText,
+and plain text.")
+    (license license:asl2.0)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]