* [bug#53444] [PATCH 1/3] gnu: Add python-i3ipc
@ 2022-01-22 11:47 (unmatched-parenthesis via Guix-patches via
2022-01-22 11:47 ` [bug#53445] [PATCH 2/3] gnu: Add python2-i3ipc (unmatched-parenthesis via Guix-patches via
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: (unmatched-parenthesis via Guix-patches via @ 2022-01-22 11:47 UTC (permalink / raw)
To: 53444; +Cc: (unmatched-parenthesis
* gnu/packages/wm.scm(python-i3ipc): New variable.
---
gnu/packages/wm.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 67e113aaa2..975247bf07 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -49,6 +49,7 @@
;;; Copyright © 2021 jgart <jgart@dismail.de>
;;; Copyright © 2021 Disseminate Dissent <disseminatedissent@protonmail.com>
;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2022 (unmatched parenthesis <paren@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -541,6 +542,25 @@ (define-public python-i3-py
(define-public python2-i3-py
(package-with-python2 python-i3-py))
+(define-public python-i3ipc
+ (package
+ (name "python-i3ipc")
+ (version "2.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "i3ipc" version))
+ (sha256
+ (base32 "1s6crkdn7q8wmzl5d0pb6rdkhhbvp444yxilrgaylnbr2kbxg078"))))
+ (build-system python-build-system)
+ (arguments
+ ;; TODO: Fix tests
+ '(#:tests? #f))
+ (propagated-inputs (list python-xlib))
+ (home-page "https://github.com/altdesktop/i3ipc-python")
+ (synopsis "An improved Python library to control i3wm and sway")
+ (description "This package provides an improved Python library to control i3wm and sway.")
+ (license license:bsd-3)))
(define-public qtile
(package
(name "qtile")
--
2.34.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#53445] [PATCH 2/3] gnu: Add python2-i3ipc
2022-01-22 11:47 [bug#53444] [PATCH 1/3] gnu: Add python-i3ipc (unmatched-parenthesis via Guix-patches via
@ 2022-01-22 11:47 ` (unmatched-parenthesis via Guix-patches via
2022-01-22 14:30 ` Maxime Devos
2022-01-24 14:32 ` bug#53445: " zimoun
2022-01-22 11:47 ` [bug#53444] [PATCH 3/3] gnu: Add i3-autotiling (unmatched-parenthesis via Guix-patches via
2022-09-25 20:26 ` bug#53444: [PATCH 1/3] gnu: Add python-i3ipc Björn Höfling
2 siblings, 2 replies; 6+ messages in thread
From: (unmatched-parenthesis via Guix-patches via @ 2022-01-22 11:47 UTC (permalink / raw)
To: 53445; +Cc: (unmatched-parenthesis
* gnu/packages/wm.scm(python2-i3ipc): New variable.
---
gnu/packages/wm.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 975247bf07..c791bcf44e 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -561,6 +561,9 @@ (define-public python-i3ipc
(synopsis "An improved Python library to control i3wm and sway")
(description "This package provides an improved Python library to control i3wm and sway.")
(license license:bsd-3)))
+
+(define-public python2-i3ipc
+ (package-with-python2 python-i3ipc))
(define-public qtile
(package
(name "qtile")
--
2.34.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [bug#53445] [PATCH 2/3] gnu: Add python2-i3ipc
2022-01-22 11:47 ` [bug#53445] [PATCH 2/3] gnu: Add python2-i3ipc (unmatched-parenthesis via Guix-patches via
@ 2022-01-22 14:30 ` Maxime Devos
2022-01-24 14:32 ` bug#53445: " zimoun
1 sibling, 0 replies; 6+ messages in thread
From: Maxime Devos @ 2022-01-22 14:30 UTC (permalink / raw)
To: (unmatched-parenthesis, 53445
[-- Attachment #1: Type: text/plain, Size: 925 bytes --]
(unmatched-parenthesis via Guix-patches via schreef op za 22-01-2022 om
11:47 [+0000]:
> * gnu/packages/wm.scm(python2-i3ipc): New variable.
> ---
> gnu/packages/wm.scm | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
> index 975247bf07..c791bcf44e 100644
> --- a/gnu/packages/wm.scm
> +++ b/gnu/packages/wm.scm
> @@ -561,6 +561,9 @@ (define-public python-i3ipc
> (synopsis "An improved Python library to control i3wm and sway")
> (description "This package provides an improved Python library to control i3wm and sway.")
> (license license:bsd-3)))
> +
> +(define-public python2-i3ipc
> + (package-with-python2 python-i3ipc))
Python 2 has reached EOL since two years, can we avoid introducing new
python2 packages? See, e.g.,
<https://mail.gnu.org/archive/html/guix-devel/2018-12/msg00545.html>.
Greetings,
Maxme.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#53445: [PATCH 2/3] gnu: Add python2-i3ipc
2022-01-22 11:47 ` [bug#53445] [PATCH 2/3] gnu: Add python2-i3ipc (unmatched-parenthesis via Guix-patches via
2022-01-22 14:30 ` Maxime Devos
@ 2022-01-24 14:32 ` zimoun
1 sibling, 0 replies; 6+ messages in thread
From: zimoun @ 2022-01-24 14:32 UTC (permalink / raw)
To: (unmatched-parenthesis; +Cc: 53445-done
Hi,
On Sat, 22 Jan 2022 at 13:23, (unmatched-parenthesis via Guix-patches
via <guix-patches@gnu.org> wrote:
> * gnu/packages/wm.scm(python2-i3ipc): New variable.
> +(define-public python2-i3ipc
> + (package-with-python2 python-i3ipc))
As Maxime pointed, Python 2 is EOL since 2 years [1] and the current
work is to remove leaf Python 2 packages. Therefore, I am proposing
to skip this 2/3 from the series and close this submission.
1: <https://www.python.org/doc/sunset-python-2/>
Cheers,
simon
^ permalink raw reply [flat|nested] 6+ messages in thread
* [bug#53444] [PATCH 3/3] gnu: Add i3-autotiling
2022-01-22 11:47 [bug#53444] [PATCH 1/3] gnu: Add python-i3ipc (unmatched-parenthesis via Guix-patches via
2022-01-22 11:47 ` [bug#53445] [PATCH 2/3] gnu: Add python2-i3ipc (unmatched-parenthesis via Guix-patches via
@ 2022-01-22 11:47 ` (unmatched-parenthesis via Guix-patches via
2022-09-25 20:26 ` bug#53444: [PATCH 1/3] gnu: Add python-i3ipc Björn Höfling
2 siblings, 0 replies; 6+ messages in thread
From: (unmatched-parenthesis via Guix-patches via @ 2022-01-22 11:47 UTC (permalink / raw)
To: 53444; +Cc: (unmatched-parenthesis
* gnu/packages/wm.scm(i3-autotiling): New variable.
---
gnu/packages/wm.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index c791bcf44e..9b473b22b1 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -121,6 +121,7 @@ (define-module (gnu packages wm)
#:use-module (gnu packages pretty-print)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages readline)
@@ -564,6 +565,32 @@ (define-public python-i3ipc
(define-public python2-i3ipc
(package-with-python2 python-i3ipc))
+
+(define-public i3-autotiling
+ (package
+ (name "i3-autotiling")
+ (version "1.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nwg-piotr/autotiling")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1hjlvg7095s322gb43r9g7mqlsy3pj13l827jpnbn5x0918rq9rr"))))
+ (build-system python-build-system)
+ (arguments
+ ;; TODO: Fix tests
+ '(#:tests? #f))
+ (propagated-inputs
+ (list python-i3ipc python-setuptools python-wheel))
+ (home-page "https://github.com/nwg-piotr/autotiling")
+ (synopsis "Automatic layout tiling for i3wm and sway.")
+ (description "This package uses @code{python-i3ipc} to control the tiling of i3wm and sway. It automatically switches between horizontal and vertical layouts to make the best use of space without human intervention.")
+ (license license:gpl3+)))
+
(define-public qtile
(package
(name "qtile")
--
2.34.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* bug#53444: [PATCH 1/3] gnu: Add python-i3ipc
2022-01-22 11:47 [bug#53444] [PATCH 1/3] gnu: Add python-i3ipc (unmatched-parenthesis via Guix-patches via
2022-01-22 11:47 ` [bug#53445] [PATCH 2/3] gnu: Add python2-i3ipc (unmatched-parenthesis via Guix-patches via
2022-01-22 11:47 ` [bug#53444] [PATCH 3/3] gnu: Add i3-autotiling (unmatched-parenthesis via Guix-patches via
@ 2022-09-25 20:26 ` Björn Höfling
2 siblings, 0 replies; 6+ messages in thread
From: Björn Höfling @ 2022-09-25 20:26 UTC (permalink / raw)
Cc: (unmatched-parenthesis, 53444-done
[-- Attachment #1: Type: text/plain, Size: 371 bytes --]
On Sat, 22 Jan 2022 11:47:22 +0000
"\(unmatched-parenthesis via Guix-patches" via <guix-patches@gnu.org>
wrote:
> * gnu/packages/wm.scm(python-i3ipc): New variable.
I'm closing this ticket, as it has the same content as #56717, which
was already applied as commits
86da72fb5b3a35a30660e81084ed0c90ec5af08f
515288874ff12c00ca8d1d22a94ef4b4903fec76
Björn
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-09-25 20:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-22 11:47 [bug#53444] [PATCH 1/3] gnu: Add python-i3ipc (unmatched-parenthesis via Guix-patches via
2022-01-22 11:47 ` [bug#53445] [PATCH 2/3] gnu: Add python2-i3ipc (unmatched-parenthesis via Guix-patches via
2022-01-22 14:30 ` Maxime Devos
2022-01-24 14:32 ` bug#53445: " zimoun
2022-01-22 11:47 ` [bug#53444] [PATCH 3/3] gnu: Add i3-autotiling (unmatched-parenthesis via Guix-patches via
2022-09-25 20:26 ` bug#53444: [PATCH 1/3] gnu: Add python-i3ipc Björn Höfling
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.