all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH 18/18] gnu: Add python-editor.
@ 2016-02-15 23:33 Christopher Allan Webber
  2016-02-20  2:37 ` Christopher Allan Webber
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Allan Webber @ 2016-02-15 23:33 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0018-gnu-Add-python-editor.patch --]
[-- Type: text/x-patch, Size: 1726 bytes --]

From e43f2dca602a0e1bc90e8dce1947fcf3d401360f Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Mon, 15 Feb 2016 10:29:08 -0800
Subject: [PATCH 18/18] gnu: Add python-editor.

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2cb87bc..0d45e7f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8077,3 +8077,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)))))
-- 
2.6.3

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

* Re: [PATCH 18/18] gnu: Add python-editor.
  2016-02-15 23:33 [PATCH 18/18] gnu: Add python-editor Christopher Allan Webber
@ 2016-02-20  2:37 ` Christopher Allan Webber
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Allan Webber @ 2016-02-20  2:37 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 10 bytes --]

Updated.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0017-gnu-Add-python-editor.patch --]
[-- Type: text/x-diff, Size: 1646 bytes --]

From 1e6e7338e0ddf9fe1e590da9a96e5afa13cf0040 Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Mon, 15 Feb 2016 10:29:08 -0800
Subject: [PATCH 17/18] gnu: Add python-editor.

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ab7b276..916a1aa 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8077,3 +8077,31 @@ ISO 8859, etc.).")
     (inherit (package-with-python2
               (strip-python2-variant python-translitcodec)))
     (native-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)
+  (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)))))
-- 
2.6.3


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

end of thread, other threads:[~2016-02-20  2:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-15 23:33 [PATCH 18/18] gnu: Add python-editor Christopher Allan Webber
2016-02-20  2:37 ` Christopher Allan Webber

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.