From patchwork Sat Jul 23 10:31:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 40866 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 960F127BBEA; Sat, 23 Jul 2022 11:45:39 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 48F8127BBE9 for ; Sat, 23 Jul 2022 11:45:39 +0100 (BST) Received: from localhost ([::1]:49872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFCde-0002mq-EF for patchwork@mira.cbaines.net; Sat, 23 Jul 2022 06:45:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFCd4-0002mh-9u for guix-patches@gnu.org; Sat, 23 Jul 2022 06:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFCd4-0003Il-17 for guix-patches@gnu.org; Sat, 23 Jul 2022 06:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFCd3-0001oD-Sb for guix-patches@gnu.org; Sat, 23 Jul 2022 06:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56717] [PATCH v2 1/2] gnu: Add python-i3ipc. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Jul 2022 10:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56717 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "(" Cc: 56717@debbugs.gnu.org Received: via spool by 56717-submit@debbugs.gnu.org id=B56717.16585730726890 (code B ref 56717); Sat, 23 Jul 2022 10:45:01 +0000 Received: (at 56717) by debbugs.gnu.org; 23 Jul 2022 10:44:32 +0000 Received: from localhost ([127.0.0.1]:43627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFCca-0001n3-BA for submit@debbugs.gnu.org; Sat, 23 Jul 2022 06:44:32 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:37178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFCcY-0001mh-Jd for 56717@debbugs.gnu.org; Sat, 23 Jul 2022 06:44:31 -0400 Message-Id: <6fa4d8cb7d3d072fff1940fea71ddfa71bfc5d7f.1658572827.git.hako@ultrarare.space> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1658573064; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:in-reply-to:references:references:references; bh=eci7amLxPMLAAaWVndvJBL1kTlqQYV2SMZxynzFngSI=; b=NV79mXdAMolSimCa40Sv7gWTGEe/HHMGswgi5lhqKk4xK+GarVIz/p1HmmzF9LKNGfBvEo QQ5ZyKxNoTd2WIHq38CiNJpcnhIG2bqmLz2XuPyxW272rmy2Zz6MzDVyrg0qGkeHXt90+4 x3+Lm9VRE9ZXpV0U0AxERQ2uHGXAfu+T41s2TgGzgtYptmGBJtiYb3rtdDXkDg4LK/bgyY a8s10KnYflRtjPLGfpAZffjojvYxOJpb0odoZmuy8O7PIaOpsBjefiNbhpnu9qrklKdOjp Hj3RM16gAGzYWgAPFbFEn/ShTIAyv3tgBZ9ap1y3VFKrULI2kPVgze2vDea8Hg== In-Reply-To: References: Date: Sat, 23 Jul 2022 18:31:02 +0800 In-Reply-To: References: MIME-Version: 1.0 X-Spamd-Bar: +++++ Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-i3ipc): New variable. Signed-off-by: Hilton Chain --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) -- 2.36.1 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 11f709f7b5..2115007a97 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -124,6 +124,7 @@ ;;; Copyright © 2022 Artyom V. Poptsov ;;; Copyright © 2022 Paul A. Patience ;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ +;;; Copyright © 2022 Hilton Chain ;;; ;;; This file is part of GNU Guix. ;;; @@ -30203,3 +30204,24 @@ (define-public python-bsdiff4 binary diff utility. It also provides two command-line tools, @code{bsdiff4} and @code{bspatch4}.") (license license:bsd-2))) + +(define-public python-i3ipc + (package + (name "python-i3ipc") + (version "2.2.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/altdesktop/i3ipc-python") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13bzs9dcv27czpnnbgz7a037lm8h991c8gk0qzzk5mq5yak24715")))) + (build-system python-build-system) + (arguments (list #:tests? #f)) ;a working X environment is needed to run the tests + (propagated-inputs (list python-xlib)) + (home-page "https://github.com/altdesktop/i3ipc-python") + (synopsis "Python library for controlling i3wm and sway") + (description "An improved Python library to control i3wm and sway.") + (license license:bsd-3)))