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

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

bug#51175: closed ([PATCH] gnu: Add python-json2html.)


From: GNU bug Tracking System
Subject: bug#51175: closed ([PATCH] gnu: Add python-json2html.)
Date: Sat, 16 Oct 2021 11:28:02 +0000

Your message dated Sat, 16 Oct 2021 16:57:20 +0530
with message-id <877dedryzr.fsf@systemreboot.net>
and subject line Re: bug#51175: [PATCH] gnu: Add python-json2html.
has caused the debbugs.gnu.org bug report #51175,
regarding [PATCH] gnu: Add python-json2html.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
51175: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=51175
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add python-json2html. Date: Wed, 13 Oct 2021 00:53:06 -0400
* gnu/packages/python-xyz.scm (python-json2html): 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 dc0f12ed91..1cb4f37fe5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27197,6 +27197,35 @@ location.  This small Python module determines the 
appropriate
 platform-specific directories, e.g. the ``user data dir''.")
     (license license:expat)))
 
+(define-public python-json2html
+  (package
+    (name "python-json2html")
+    (version "1.3.0")
+    (source ; There are no tests in the PyPI tarball.
+     (origin 
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/softvar/json2html";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1ncypljnl5y8lsxy6ibcqy412kx3mzxl4ajg67568hvq98kv1sb3"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "test/run_tests.py")))))))
+    (home-page "https://github.com/softvar/json2html";)
+    (synopsis "JSON to HTML Table Representation")
+    (description 
+"Python module to convert JSON into a human readable HTML Table
+ representation.")
+    (license license:expat)))
+
 (define-public python-face
   (package
     (name "python-face")
-- 
2.33.0




--- End Message ---
--- Begin Message --- Subject: Re: bug#51175: [PATCH] gnu: Add python-json2html. Date: Sat, 16 Oct 2021 16:57:20 +0530
Hi jgart,

Thanks for the patch! I have pushed to master with a few minor
improvements to the synopsis and description.

Thanks,
Arun

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

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