[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/19: gnu: Add python-editor.
From: |
Christopher Allan Webber |
Subject: |
18/19: gnu: Add python-editor. |
Date: |
Mon, 15 Feb 2016 19:24:48 +0000 |
cwebber pushed a commit to branch wip-mediagoblin
in repository guix.
commit a23a9998c4ee4b1c0dfc55195169fd23f8fabe77
Author: Christopher Allan Webber <address@hidden>
Date: Mon Feb 15 10:29:08 2016 -0800
gnu: Add python-editor.
* gnu/packages/python.scm (python-editor, python2-editor): New variables.
---
gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 99afa75..bc78e22 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8075,3 +8075,33 @@ the 'transtab' collection by Markus Kuhn.")
(inherit (package-with-python2
(strip-python2-variant python-translitcodec)))
(inputs `(("python2-setuptools" ,python2-setuptools)))))
+
+(define-public python-editor
+ (package
+ (name "python-editor")
+ (version "0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "python-editor" version))
+ (sha256
+ (base32
+ "1ypnpgvzpkbwsg4rdvy4sy51j28b5xq9v8pnkwxncn07vqz06p7n"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page
+ "https://github.com/fmoo/python-editor")
+ (synopsis
+ "Programmatically open an editor, capture the result")
+ (description
+ "python-editor is a library that provides the editor module for
+programmatically interfacing with your system's $EDITOR.")
+ (license asl2.0)
+ (properties `((python2-variant . ,(delay python2-editor))))))
+
+(define-public python2-editor
+ (package
+ (inherit (package-with-python2
+ (strip-python2-variant python-editor)))
+ (inputs `(("python2-setuptools" ,python2-setuptools)))))
- 08/19: gnu: Add python-wsgiproxy2., (continued)
- 08/19: gnu: Add python-wsgiproxy2., Christopher Allan Webber, 2016/02/15
- 09/19: gnu: Add python-pastedeploy, Christopher Allan Webber, 2016/02/15
- 10/19: gnu: Add python-pyquery, Christopher Allan Webber, 2016/02/15
- 11/19: gnu: Add python-webtest., Christopher Allan Webber, 2016/02/15
- 12/19: gnu: Add python-anyjson., Christopher Allan Webber, 2016/02/15
- 13/19: gnu: Add python-amqp., Christopher Allan Webber, 2016/02/15
- 14/19: gnu: Add python-kombu., Christopher Allan Webber, 2016/02/15
- 15/19: gnu: Add python-billiard., Christopher Allan Webber, 2016/02/15
- 16/19: gnu: Add python2-celery., Christopher Allan Webber, 2016/02/15
- 17/19: gnu: Add python-translitcodec., Christopher Allan Webber, 2016/02/15
- 18/19: gnu: Add python-editor.,
Christopher Allan Webber <=
- 19/19: gnu: Add mediagoblin., Christopher Allan Webber, 2016/02/15