From patchwork Wed May 29 00:34:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hamzeh Nasajpour X-Patchwork-Id: 14123 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 3B1A117052; Wed, 29 May 2019 01:35:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D214517050 for ; Wed, 29 May 2019 01:35:09 +0100 (BST) Received: from localhost ([127.0.0.1]:44763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVmYf-0007L3-Cs for patchwork@mira.cbaines.net; Tue, 28 May 2019 20:35:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVmYd-0007Ji-16 for guix-patches@gnu.org; Tue, 28 May 2019 20:35:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVmYb-0000V0-UF for guix-patches@gnu.org; Tue, 28 May 2019 20:35:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44192) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVmYb-0000Uq-RI for guix-patches@gnu.org; Tue, 28 May 2019 20:35:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hVmYZ-000656-N0 for guix-patches@gnu.org; Tue, 28 May 2019 20:35:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35972] [PATCH 40/47] gnu: Add python-xlib. Resent-From: "h.nasajpour" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 May 2019 00:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35972 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35972@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155909008123300 (code B ref -1); Wed, 29 May 2019 00:35:03 +0000 Received: (at submit) by debbugs.gnu.org; 29 May 2019 00:34:41 +0000 Received: from localhost ([127.0.0.1]:57728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVmYD-00063j-0n for submit@debbugs.gnu.org; Tue, 28 May 2019 20:34:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVmYB-00063T-AL for submit@debbugs.gnu.org; Tue, 28 May 2019 20:34:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:48378) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVmY6-00005c-6f for submit@debbugs.gnu.org; Tue, 28 May 2019 20:34:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVmY4-0007D6-UA for guix-patches@gnu.org; Tue, 28 May 2019 20:34:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVmY3-0008UN-QY for guix-patches@gnu.org; Tue, 28 May 2019 20:34:32 -0400 Received: from 37.59.236.227.rdns.hasaserver.com ([37.59.236.227]:55881 helo=hamzeh-VirtualBox.Home) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVmY3-0008OR-9W for guix-patches@gnu.org; Tue, 28 May 2019 20:34:31 -0400 Received: by hamzeh-VirtualBox.Home (Postfix, from userid 0) id D67191A154B; Wed, 29 May 2019 05:04:30 +0430 (+0430) From: "h.nasajpour" Date: Wed, 29 May 2019 05:04:29 +0430 Message-Id: <20190529003429.3007-1-h.nasajpour@pantherx.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "h.nasajpour" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-xlib): New variable --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 30a7c3c6ad..b9bfc1be14 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5786,6 +5786,37 @@ falling into the Python interpreter.") (define-public python2-q (package-with-python2 python-q)) +(define-public python-xlib + (package + (name "python-xlib") + (version "0.25") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/python-xlib/python-xlib") + (commit "84219d5043a63eab219fcb59f3590f7b3b6a7e91"))) + (sha256 + (base32 "0zdwfgzq7qz8fk0qgwg3gz2h04fad7bynp8wiq1q2y5v6ns09q9n")) + (file-name (git-file-name name version)) + )) + (build-system python-build-system) + (arguments + `( + #:tests? #f)) + (native-inputs + `( + ("python-setuptools-scm" ,python-setuptools-scm) + ("python-six" ,python-six) + )) + (home-page "https://github.com/python-xlib/python-xlib") + (synopsis "Python X11 client library") + (description + "The Python X Library is intended to be a fully functional X client +library for Python programs. It is useful to implement low-level X clients. +It is written entirely in Python.") + (license license:lgpl2.1))) + (define-public python2-xlib (package (name "python2-xlib")