* gnu: Add python-q, python2-q
@ 2016-09-16 21:10 Stefan Reichör
2016-09-27 18:55 ` Leo Famulari
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Reichör @ 2016-09-16 21:10 UTC (permalink / raw)
To: guix-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-python-q-python2-q.patch --]
[-- Type: text/x-diff, Size: 1689 bytes --]
From a4a9310cbf93624d45bc6418ec1d16870532108c Mon Sep 17 00:00:00 2001
From: Stefan Reichoer <stefan@xsteve.at>
Date: Fri, 16 Sep 2016 23:00:06 +0200
Subject: [PATCH] gnu: Add python-q, python2-q.
---
gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2f349c8..588d533 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4861,6 +4861,35 @@ as possible in order to be comprehensible and easily extensible.")
(define-public python2-sympy
(package-with-python2 python-sympy))
+(define-public python-q
+ (package
+ (name "python-q")
+ (version "2.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "q" version))
+ (sha256
+ (base32
+ "1mgfazh8fkizh6walra2zv885f3lcgr3nb02v1frfm4p8ddcy3yy"))))
+ (home-page "http://github.com/zestyping/q")
+ (synopsis "Quick-and-dirty debugging output for tired programmers")
+ (description
+ "q is a Python module for \"print\" style of debugging Python code. It
+provides convenient short API for print out of values, tracebacks, and
+falling into the Python interpreter.")
+ (build-system python-build-system)
+ (license license:asl2.0)
+ (properties `((python2-variant . ,(delay python2-q))))))
+
+(define-public python2-q
+ (let ((base (package-with-python2 (strip-python2-variant python-q))))
+ (package
+ (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
+
(define-public python-testlib
(package
(name "python-testlib")
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: gnu: Add python-q, python2-q
2016-09-16 21:10 gnu: Add python-q, python2-q Stefan Reichör
@ 2016-09-27 18:55 ` Leo Famulari
0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2016-09-27 18:55 UTC (permalink / raw)
To: Stefan Reichör; +Cc: guix-devel
On Fri, Sep 16, 2016 at 11:10:54PM +0200, Stefan Reichör wrote:
> From a4a9310cbf93624d45bc6418ec1d16870532108c Mon Sep 17 00:00:00 2001
> From: Stefan Reichoer <stefan@xsteve.at>
> Date: Fri, 16 Sep 2016 23:00:06 +0200
> Subject: [PATCH] gnu: Add python-q, python2-q.
Thanks!
I completed the commit message [0], made the home-page use an HTTPS URL,
and fixed some of the problems reported by `guix lint`.
Pushed as e8c9b010908d33c9103839b8d8fddd9e33a731ef
[0]
https://www.gnu.org/software/guix/manual/html_node/Submitting-Patches.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-27 18:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-16 21:10 gnu: Add python-q, python2-q Stefan Reichör
2016-09-27 18:55 ` Leo Famulari
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.