emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#27074: closed ([PATCH] gnu: Add python-ansi2html.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27074: closed ([PATCH] gnu: Add python-ansi2html.)
Date: Thu, 25 May 2017 21:29:01 +0000

Your message dated Thu, 25 May 2017 23:28:19 +0200
with message-id <address@hidden>
and subject line Re: bug#27074: [PATCH] gnu: Add python-ansi2html.
has caused the debbugs.gnu.org bug report #27074,
regarding [PATCH] gnu: Add python-ansi2html.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
27074: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27074
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add python-ansi2html. Date: Thu, 25 May 2017 21:30:18 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
>From 8561904e901eb1504f937cf1f39392da4cc47336 Mon Sep 17 00:00:00 2001
From: Stefan Reichoer <address@hidden>
Date: Thu, 25 May 2017 21:24:52 +0200
Subject: [PATCH] gnu: Add python-ansi2html.

* gnu/packages/python.scm (python-ansi2html, python2-ansi2html): New variables.
---
 gnu/packages/python.scm | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 62fada6..7862e2e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -27,7 +27,7 @@
 ;;; Copyright © 2016 Dylan Jeffers <address@hidden@openmailbox.org>
 ;;; Copyright © 2016 David Craven <address@hidden>
 ;;; Copyright © 2016, 2017 Marius Bakke <address@hidden>
-;;; Copyright © 2016 Stefan Reichoer <address@hidden>
+;;; Copyright © 2016, 2017 Stefan Reichör <address@hidden>
 ;;; Copyright © 2016 Dylan Jeffers <address@hidden@openmailbox.org>
 ;;; Copyright © 2016 Alex Vong <address@hidden>
 ;;; Copyright © 2016, 2017 Arun Isaac <address@hidden>
@@ -13470,6 +13470,33 @@ faster ones are not available.")
 to ansi-escaped strings suitable for display in a terminal.")
     (license license:expat)))
 
+(define-public python-ansi2html
+  (package
+    (name "python-ansi2html")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "ansi2html" version))
+       (sha256
+        (base32
+         "1wa00zffprb78w1mqq90dk47czz1knanys2a40zbw2vyapd5lp9y"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-mock" ,python-mock)
+       ("python-nose" ,python-nose)))
+    (propagated-inputs
+     `(("python-six" ,python-six)))
+    (home-page "http://github.com/ralphbean/ansi2html";)
+    (synopsis "Convert ANSI-decorated console output to Html")
+    (description
+     "Convert ANSI-decorated console output to HTML. This package provides
+also the script ansi2html.")
+    (license license:gpl3+)))
+
+(define-public python2-ansi2html
+  (package-with-python2 python-ansi2html))
+
 (define-public python-ddt
   (package
     (name "python-ddt")
-- 
2.7.4




--- End Message ---
--- Begin Message --- Subject: Re: bug#27074: [PATCH] gnu: Add python-ansi2html. Date: Thu, 25 May 2017 23:28:19 +0200 User-agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu)
Stefan Reichör <address@hidden> writes:

> * gnu/packages/python.scm (python-ansi2html, python2-ansi2html): New 
> variables.

Thanks for this! I've committed it with a small change to synopsis and
description:

--8<---------------cut here---------------start------------->8---
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7862e2ec7..d28c2eca6 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13488,10 +13488,10 @@ to ansi-escaped strings suitable for display in a 
terminal.")
     (propagated-inputs
      `(("python-six" ,python-six)))
     (home-page "http://github.com/ralphbean/ansi2html";)
-    (synopsis "Convert ANSI-decorated console output to Html")
+    (synopsis "Convert ANSI-decorated console output to HTML")
     (description
-     "Convert ANSI-decorated console output to HTML. This package provides
-also the script ansi2html.")
+     "@command{ansi2html} is a Python library and command line utility for
+convering text with ANSI color codes to HTML or LaTeX.")
     (license license:gpl3+)))
--8<---------------cut here---------------end--------------->8---

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

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