From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id OFPoIpW922VJAwAAqHPOHw:P1 (envelope-from ) for ; Sun, 25 Feb 2024 23:22:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id OFPoIpW922VJAwAAqHPOHw (envelope-from ) for ; Sun, 25 Feb 2024 23:22:13 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=retrospec.tv header.s=fm3 header.b="l gyshe+"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="p ygEsHo"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708899733; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=i3+alINHCUEpw/hY9dVJBD4kP8+Qw+rW6+EUlfVLOow=; b=BzL2XUHHvvoXroiEAq6cCkyazpkAcWIw1rdPNhUdlMcoy+gl//uKW3OPErc+TuiO4/nFuS 1ilnOu0o4792oI9fCL1wTTjhMLebAbnhurHBRE1zEKoNDnJxictNIZbP792ejXf6sKgZvb 8HzeBh07RUKRMlutsNckGF2UPryw5dgL97Xy2ZC0u9HM1M3MGcNheOKJPAoDLJSJOkpPbz czA2vqekaVGJcPU2TD4POpDUccMvfZKPxvBTKxCKorSOCY0FDPGy7/LF1vM7MNyfACGBbq Mqd6NNs6R1CtZpP7KP2/Cr89rLqd0i95hOKMae4QbHgPp7AuuI6Y9EtBmydWMQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=retrospec.tv header.s=fm3 header.b="l gyshe+"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="p ygEsHo"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708899733; a=rsa-sha256; cv=none; b=qEu9bF6FeeQg92k/U+1i3UVAWnkZsgbmI0id0nQwKlnHtxrTlVFgD+SI4QKStqckYVSb5l 947uPoJZTmFQJ6jUuhdwV+z8slLebcZPKXAYGcVwmn6IYHuXIahCv4BSb13fNNEGIt9CX3 s+jJkdZ/gx6WCaDk/g95Wsu94GQ6q4ng7+BD1SMkepmGIQaBw2Yx6jkbrDbmNaaKI/rBh9 qSbXhOnHKa98+a2J0ZgxudzQR+9xzbda3+Kacznbm65ZxoVou9lQ5UbioUuej30q2bbb3i RVZ7zy18PgxnoJlEVOtT2lP7sIvaiEZ/fuDWU4BFpWFcaFVPrdsXYEnYmDfuMA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8CF1ADA63 for ; Sun, 25 Feb 2024 23:22:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1reMsR-0001B6-QG; Sun, 25 Feb 2024 17:21:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1reMsQ-0001An-ME for guix-patches@gnu.org; Sun, 25 Feb 2024 17:21:42 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1reMsQ-0006jB-DM; Sun, 25 Feb 2024 17:21:42 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1reMsk-0006kV-TB; Sun, 25 Feb 2024 17:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67120] [PATCH v6 3/5] gnu: Add python-pystray. Resent-From: Ian Eure Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 25 Feb 2024 22:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67120 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67120@debbugs.gnu.org Cc: Ian Eure , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by 67120-submit@debbugs.gnu.org id=B67120.170889968625795 (code B ref 67120); Sun, 25 Feb 2024 22:22:02 +0000 Received: (at 67120) by debbugs.gnu.org; 25 Feb 2024 22:21:26 +0000 Received: from localhost ([127.0.0.1]:54865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reMs9-0006ht-N2 for submit@debbugs.gnu.org; Sun, 25 Feb 2024 17:21:25 -0500 Received: from wfhigh8-smtp.messagingengine.com ([64.147.123.159]:35313) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reMs2-0006gW-OA for 67120@debbugs.gnu.org; Sun, 25 Feb 2024 17:21:19 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id 069531800084; Sun, 25 Feb 2024 17:20:47 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 25 Feb 2024 17:20:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1708899647; x= 1708986047; bh=i3+alINHCUEpw/hY9dVJBD4kP8+Qw+rW6+EUlfVLOow=; b=l gyshe+Q2MZus6x1nefSC4RzTC6YXCcAWDxl3ua2HEVxGYvGHlZPYyQjS0TVffWxW OnI59GCKHLaNNZC3BBUV31QGOVQhmV3oQyFCfhjbFoIhndLp39u40PqY9/3SOXYc X8gpW8IJHXsyKKWoGgGBE8NbWpAZKa01b3hCLDIwWGdWKzXd9sNWUxdDcwwfowzl Syc4AY1H0igl9R9OZS0Hqz6zmORJG5CFC+KauETCQYW82K4ldqXSFAmQ/8qHNjil we7/gDc+H6n9Tl2ackU6BQfaFBMNca2kzp42pQtOXoclibw0lR/03ljDZUsy8zt0 OB2O5yRZUx88ph51IbGpw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1708899647; x= 1708986047; bh=i3+alINHCUEpw/hY9dVJBD4kP8+Qw+rW6+EUlfVLOow=; b=p ygEsHo5ozxdf19PzwwfFux/51ctCuKaDbZNQZpkFXR7o+eax+MuU3DCkBG92REW6 UDwma/N13n9Lx7bCmS9ASh3E86oV33J15U9rYMBKRATDScS0YQKATviR6weVVTls Sr31gdbPkGb63YnnmLeYe/S7mQaq4LoPZ+bOyvnHHWSWvcqllApPwNi4lBZ9ZzQv UrcSmo5+79wzCjrGT3APjcvyhXjSlVfiEVWFL4xvbK4ySezB5oQtK+6EcnxdL+Vc /gg0CfALUeRy2yuFr2kpndH1Wm6utnrKG4ogSOp3ERJym1My5Zs7FRbZLTN64FQ6 98JymHcpXytjib4tx2EUg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrgedtgdduheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefkrghnucfguhhrvgcuoehirghnsehrvghtrhhoshhpvggt rdhtvheqnecuggftrfgrthhtvghrnhepvdeugeduveefgeehvddthefgjeevvddvtefghe egtdfgueeitdehgfduffevjeeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucev lhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehirghnsehrvg htrhhoshhpvggtrdhtvh X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 25 Feb 2024 17:20:46 -0500 (EST) From: Ian Eure Date: Sun, 25 Feb 2024 14:20:32 -0800 Message-ID: <15207e8eede378884440bdd136a9d900226f0817.1708899540.git.ian@retrospec.tv> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -2.01 X-Spam-Score: -2.01 X-Migadu-Queue-Id: 8CF1ADA63 X-TUID: JMHq5l86xHnJ * gnu/packages/python-xyz.scm (python-pystray): New variable. Change-Id: If10777c9ec91b549b9937b4825565223786a75cb --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1ed1f0e135..36442f0870 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31728,6 +31728,42 @@ (define-public python-qdarkstyle Qt applications.") (license license:expat))) +(define-public python-pystray + (package + (name "python-pystray") + (version "0.19.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/moses-palmer/pystray") + (commit "1907f8681d6d421517c63d94f425f9cdd74d0034"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vj6c8s7rbc7xc4bi5brx5629ls1ri9prcw9290v85hagilmp609")))) + (build-system python-build-system) + (arguments + (list + ;; The test suite requires user interaction, there are no automated + ;; tests. + #:tests? #false + #:phases #~(modify-phases %standard-phases + (add-before 'sanity-check 'use-dummy-backend + (lambda _ + ;; Without setting this, pystray tries to connect to + ;; X11 on import. + (setenv "PYSTRAY_BACKEND" "dummy")))))) + (native-inputs (list python-sphinx)) + (propagated-inputs (list python-pillow python-six python-xlib)) + (home-page "https://github.com/moses-palmer/pystray") + (synopsis "Create a system tray icon") + (description "This library allows you to create a system tray icon. + +It allows specifying an icon, a title and a callback for when the icon is +activated. The icon and title can be changed after the icon has been created, +and the visibility of the icon can be toggled.") + (license license:lgpl3))) + (define-public python-bitstring (package (name "python-bitstring") -- 2.41.0