unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ivan Vilata i Balaguer <ivan@selidor.net>
To: guix-devel@gnu.org
Subject: [PATCH 1/2] gnu: python: Add python-i3.
Date: Wed, 14 Sep 2016 11:16:38 +0200	[thread overview]
Message-ID: <20160914091638.GF5711@sax.terramar.selidor.net> (raw)
In-Reply-To: <20160914091229.GA14555@sax.terramar.selidor.net>

[-- Attachment #1: 0001-gnu-python-Add-python-i3.patch --]
[-- Type: text/plain, Size: 1680 bytes --]

From 3c39ddc7124c33ea0abe2d35a293b79942bf32b6 Mon Sep 17 00:00:00 2001
From: Ivan Vilata-i-Balaguer <ivan@selidor.net>
Date: Wed, 14 Sep 2016 08:28:22 +0200
Subject: [PATCH 1/2] gnu: python: Add python-i3.

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e2e1ec2..1691449 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9012,6 +9012,31 @@ and parameters in Python 2 source code.  These refactorings can also be applied
 to occurences in strings and comments.")
     (license license:gpl2)))
 
+(define-public python-i3
+  (package
+    (name "python-i3")
+    (version "0.6.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "i3-py" version))
+       (sha256
+        (base32
+         "1sgl438jrb4cdyl7hbc3ymwsf7y3zy09g1gh7ynilxpllp37jc8y"))))
+    (build-system python-build-system)
+    ;; No tests yet.
+    (arguments '(#:tests? #f))
+    (home-page "https://github.com/ziberna/i3-py")
+    (synopsis "Python interface to the i3 window manager")
+    (description "This package allows you to interact from a Python program
+with the i3 window manager via its IPC socket.  It can send commands and other
+kinds of messages to i3, select the affected containers, filter results and
+subscribe to events.")
+    (license license:gpl3+)))
+
+(define-public python2-i3
+  (package-with-python2 python-i3))
+
 (define-public python-py3status
   (package
     (name "python-py3status")
-- 
2.10.0


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-09-14  9:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-14  9:12 [PATCH 0/2] Add quickswitch for i3 Ivan Vilata i Balaguer
2016-09-14  9:16 ` Ivan Vilata i Balaguer [this message]
2016-09-14 10:17   ` [PATCH 1/2] gnu: python: Add python-i3 Brendan Tildesley
2016-09-14 10:58     ` Ivan Vilata i Balaguer
2016-09-16  5:43   ` Leo Famulari
2016-09-14  9:17 ` [PATCH 2/2] gnu: python: Add i3-quickswitch Ivan Vilata i Balaguer
2016-09-14 10:25   ` Brendan Tildesley
2016-09-16  5:46   ` Leo Famulari
2016-09-19  9:24     ` Ivan Vilata i Balaguer
2016-09-19  9:28       ` Ivan Vilata i Balaguer
2016-09-19 21:39         ` Leo Famulari
2016-09-19 10:10       ` Hartmut Goebel
2016-09-19 21:39       ` Leo Famulari
2016-09-20  7:30         ` Ivan Vilata i Balaguer
2016-09-19 10:20     ` Brendan Tildesley
2016-09-19 21:42       ` Leo Famulari
2016-09-22  7:52         ` Hartmut Goebel
2016-09-16  5:52 ` [PATCH 0/2] Add quickswitch for i3 Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160914091638.GF5711@sax.terramar.selidor.net \
    --to=ivan@selidor.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).