all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 2/4] gnu: Add python-tabulate and python2-tabulate.
@ 2016-06-07 13:57 宋文武
  2016-06-07 13:57 ` [PATCH 3/4] gnu: Add python-kazoo and python2-kazoo 宋文武
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: 宋文武 @ 2016-06-07 13:57 UTC (permalink / raw)
  To: guix-devel; +Cc: 宋文武

* gnu/packages/python.scm (python-tabulate, python2-tabulate): New variables.
---
 gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index dfbf2cc..1a83933 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9009,3 +9009,35 @@ focus on event-based network programming and multiprotocol integration.")
 
 (define-public python2-twisted
   (package-with-python2 python-twisted))
+
+(define-public python-tabulate
+  (package
+    (name "python-tabulate")
+    (version "0.7.5")
+    (source (origin
+             (method url-fetch)
+             (uri (pypi-uri "tabulate" version))
+             (sha256
+              (base32
+               "03l1r7ddd1a0j2snv1yd0hlnghjad3fg1an1jr8936ksv75slwch"))
+             ;; Fix tests
+             (modules '((guix build utils)))
+             (snippet '(substitute* '("test/test_cli.py"
+                                      "test/test_input.py"
+                                      "test/test_output.py"
+                                      "test/test_regression.py")
+                         (("from common") "from nose.tools")))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-setuptools" ,python-setuptools)
+       ;; For testing
+       ("python-nose" ,python-nose)))
+    (home-page "https://bitbucket.org/astanin/python-tabulate")
+    (synopsis "Pretty-print tabular data")
+    (description
+     "Tabulate is a library and command-line utility to pretty-print tabular
+data in Python.")
+    (license license:expat)))
+
+(define-public python2-tabulate
+  (package-with-python2 python-tabulate))
-- 
2.6.3

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-06-10 12:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-07 13:57 [PATCH 2/4] gnu: Add python-tabulate and python2-tabulate 宋文武
2016-06-07 13:57 ` [PATCH 3/4] gnu: Add python-kazoo and python2-kazoo 宋文武
2016-06-10 12:35   ` Ludovic Courtès
2016-06-07 13:57 ` [PATCH 4/4] gnu: Add python-pykafka and python2-pykafka 宋文武
2016-06-10 12:38   ` Ludovic Courtès
2016-06-10 12:31 ` [PATCH 2/4] gnu: Add python-tabulate and python2-tabulate Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.