From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: [PATCH 03/04] gnu: Add python2-xdo Date: Fri, 05 Feb 2016 19:48:59 -0800 Message-ID: <87bn7ufqhg.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/x-patch; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRtrp-0002wE-Sc for guix-devel@gnu.org; Fri, 05 Feb 2016 22:49:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRtro-0002YK-9s for guix-devel@gnu.org; Fri, 05 Feb 2016 22:49:01 -0500 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:44244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRtro-0002YE-2T for guix-devel@gnu.org; Fri, 05 Feb 2016 22:49:00 -0500 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 630C6266DD for ; Fri, 5 Feb 2016 22:48:59 -0500 (EST) Content-Disposition: inline; filename=0003-gnu-Add-python2-xdo.patch List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org >From a3c499a7a2feb3718cc1217cb59f87435dfd271c Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Fri, 5 Feb 2016 19:07:11 -0800 Subject: [PATCH 3/4] gnu: Add python2-xdo * gnu/packages/python.scm (python2-xdo): New variable. --- gnu/packages/python.scm | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 48f65b5..5d8c1b4 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -8,7 +8,7 @@ ;;; Copyright =C2=A9 2015 Omar Radwan ;;; Copyright =C2=A9 2015 Pierre-Antoine Rault ;;; Copyright =C2=A9 2015 Ricardo Wurmus -;;; Copyright =C2=A9 2015 Christopher Allan Webber +;;; Copyright =C2=A9 2015, 2016 Christopher Allan Webber ;;; Copyright =C2=A9 2015 Eric Dvorsak ;;; Copyright =C2=A9 2015, 2016 David Thompson ;;; Copyright =C2=A9 2015, 2016 Leo Famulari @@ -72,6 +72,7 @@ #:use-module (gnu packages base) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) + #:use-module (gnu packages xdisorg) #:use-module (gnu packages zip) #:use-module (gnu packages tcl) #:use-module (guix packages) @@ -7498,3 +7499,31 @@ normally the case.") =20 (define-public python2-pytest-subtesthack (package-with-python2 python-pytest-subtesthack)) + +(define-public python2-xdo + (package + (name "python2-xdo") + (version "0.2") + (source (origin + (method url-fetch) + (uri (string-append + "http://http.debian.net/debian/pool/main/p/python-xd= o/python-xdo_" + version ".orig.tar.gz")) + (sha256 + (base32 + "1kl5c1p0dyxf62plnk6fl77ycfb4whwjms16r14dxx8kn90hlqz4"))= )) + (build-system python-build-system) + (arguments + `(#:python ,python-2 + #:tests? #f)) ; no tests provided + (inputs + `(("xdotool" ,xdotool) + ("libX11" ,libx11))) + (home-page "https://tracker.debian.org/pkg/python-xdo") + (synopsis "Python library for simulating X11 keyboard/mouse input (l= ibxdo bindings)") + ;; Note about this being a legacy + (description "Provides bindings to libxdo for manipulating X11 via s= imulated +input. (Note that this is mostly a legacy library; you may wish to look= at +python-xdo for newer bindings.)") + (license bsd-3))) + --=20 2.6.3