From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oAYtGHFcr2PrOgEAbAwnHQ (envelope-from ) for ; Fri, 30 Dec 2022 22:47:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KHkyGHFcr2NhrAAA9RJhRA (envelope-from ) for ; Fri, 30 Dec 2022 22:47:29 +0100 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 19282204B for ; Fri, 30 Dec 2022 22:47:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBNDW-0002zJ-B9; Fri, 30 Dec 2022 16:47:06 -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 1pBNDT-0002z4-HA for guix-patches@gnu.org; Fri, 30 Dec 2022 16:47:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pBNDT-0001KH-70 for guix-patches@gnu.org; Fri, 30 Dec 2022 16:47:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pBNDT-00040W-1y for guix-patches@gnu.org; Fri, 30 Dec 2022 16:47:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60438] [PATCH] gnu: Add python-pynput. Resent-From: Brian Cully Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Dec 2022 21:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60438 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60438@debbugs.gnu.org Cc: Brian Cully X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167243678115340 (code B ref -1); Fri, 30 Dec 2022 21:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Dec 2022 21:46:21 +0000 Received: from localhost ([127.0.0.1]:36200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBNCn-0003zM-3Z for submit@debbugs.gnu.org; Fri, 30 Dec 2022 16:46:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:58260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBNCl-0003zA-Cx for submit@debbugs.gnu.org; Fri, 30 Dec 2022 16:46:19 -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 1pBNCe-0002qa-Nm for guix-patches@gnu.org; Fri, 30 Dec 2022 16:46:15 -0500 Received: from coleridge.kublai.com ([166.84.7.167] helo=mail.spork.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBNCb-0001Ae-6a for guix-patches@gnu.org; Fri, 30 Dec 2022 16:46:10 -0500 Received: from psyduck.jhoto.kublai.com (ool-18b8e9e7.dyn.optonline.net [24.184.233.231]) by mail.spork.org (Postfix) with ESMTPSA id 387B7B51B; Fri, 30 Dec 2022 16:45:38 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=spork.org; s=dkim; t=1672436738; bh=RVB03bSo2eXfh3YWveKdon4fro5mgwj1cr3TH4UkCcA=; h=From:To:Cc:Subject:Date; b=SDSdSPZRBQje8UvhmH9GV+VVtyHhhwD1ajTSdCstodSP35Wol/hycqCNYuHPFG5r0 G5uasSucyjcS2KMF+NCdNj890uf8dRBfgF2vLKNWwbgnii2+YeUmyMcd0pvHW5zI0+ Wbb8rxdhaIJESXRCSYbvPPFYO3KpkXXWJhMIY6yM= Date: Fri, 30 Dec 2022 16:44:04 -0500 Message-Id: X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=166.84.7.167; envelope-from=bjc@spork.org; helo=mail.spork.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: Brian Cully X-ACL-Warn: , Brian Cully via Guix-patches From: Brian Cully via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672436849; h=from:from:sender:sender:reply-to: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=HP5bGV/ZVhVls0GAvGNfl/17ysie9/i5swnKplZn1Ug=; b=hJCC/DqqZ7h5IeuugRNDAEF825UfKTYEe9cecnN2wVkRoftWWHldhmgJXh5bc6vQVgw41N bJYON1W0F1/HEc/G/zYQzGDhh2SeqYtNFzBXeWXzLMI243tyiwA1TV/ZTVqJ7yKzbTmmsz fegynJcU0NjoBBS1Qjcw8vf0A65OsqdPwSAZBlNc3BTQSA4F3GmlE3Gwyk2cMa8PzW910r uG8ENxpSGAkdzD8ZOwOXNwvEcO/kgpU4liCvzGuI86R5FbhhO3DtLZnUhgH6pAOXZh3+Jo 9LDA5eMLX4s+XH7C1915iopa8yPiZaWcLMay1D2dTxP6zGEcvYATPJW852U4GQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spork.org header.s=dkim header.b=SDSdSPZR; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672436849; a=rsa-sha256; cv=none; b=ILYrTit0j/KKNc/FbB6w0d2/seT9Oo01m93/kM67vnBWFbZ1krp3kZqhBqQCj/FNg6Prvz /NHxQrJqYq6vPiiiD2DGbBTgiQXdBBJmdnWuPeVckYEw7JZZ6YQQ38XWA3PviuDnGD0+vk mCtVfvUVNldV4W0uK6VVSwnfizvpdJuOHm1DZLYMtfkXlY/BTWchD7OJNmYR93tv/5lQlF 4P7yMsuu/K/AcTy0I8pRzBpZUsJqH9azFXttdOjh+kpPzJy+ZFio5uUZ0aXo0GTQzL6vEC 9X4b3NslxiGp5DItzSk68QQNwtGhS/U93WUsCevVaE0Bz6ZOaPzF1o617p82uA== X-Spam-Score: -1.74 X-Migadu-Queue-Id: 19282204B Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=spork.org header.s=dkim header.b=SDSdSPZR; 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=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -1.74 X-TUID: OjEzHK5izB1q * gnu/packages/python-xyz.scm: (python-pynput) New variable. --- This patch requires `python-setuptookls-lint', which is in patch#60436. gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2b28e8bd53..d2623bc32d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27734,6 +27734,32 @@ (define-public python-rnc2rng equivalent schemata in the XML-based default RELAX NG syntax.") (license license:expat))) +(define-public python-pynput + (package + (name "python-pynput") + (version "1.7.6") + (source (origin + (method url-fetch) + (uri (pypi-uri "pynput" version)) + (sha256 + (base32 + "0g2k5swxhmn65z9fhlwfsbhpr6anvfqkhpbqhyv1chd5dma2cmrs")))) + (build-system python-build-system) + (arguments + `(#:tests? #f ;pypi tarball doesn't have tests included. + #:phases (modify-phases %standard-phases + (add-before 'sanity-check 'start-xserver + (lambda* (#:key inputs #:allow-other-keys) + (system (format #f "~a :1 &" + (search-input-file inputs "/bin/Xvfb"))) + (setenv "DISPLAY" ":1") #t))))) + (propagated-inputs (list python-six python-evdev python-xlib)) + (native-inputs (list python-setuptools-lint python-sphinx xorg-server)) + (home-page "https://github.com/moses-palmer/pynput") + (synopsis "Monitor and control user input devices") + (description "Monitor and control user input devices") + (license license:lgpl3))) + (define-public python-telethon (package (name "python-telethon") -- 2.38.1