gnu: Add python-xdo.

* gnu/packages/python.scm (python-xdo): New variable.
(python2-xdo): Use package-with-python2.
This commit is contained in:
Leo Famulari 2017-01-02 19:34:18 -05:00
parent e871c332a0
commit 7637de2313
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -11,7 +11,7 @@
;;; Copyright © 2015, 2016 Christopher Allan Webber <cwebber@dustycloud.org>
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
;;; Copyright © 2015, 2016 David Thompson <davet@gnu.org>
;;; Copyright © 2015, 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2015, 2016, 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2015 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2015, 2016 Erik Edrosa <erik.edrosa@gmail.com>
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
@ -8767,9 +8767,9 @@ (define-public python-pytest-subtesthack
(define-public python2-pytest-subtesthack
(package-with-python2 python-pytest-subtesthack))
(define-public python2-xdo
(define-public python-xdo
(package
(name "python2-xdo")
(name "python-xdo")
(version "0.3")
(source (origin
(method url-fetch)
@ -8781,8 +8781,7 @@ (define-public python2-xdo
"1vqh1n5yy5dhnq312kwrl90fnck4v26is3lq3lxdvcn60vv19da0"))))
(build-system python-build-system)
(arguments
`(#:python ,python-2
#:tests? #f)) ; no tests provided
`(#:tests? #f)) ; no tests provided
(inputs
`(("xdotool" ,xdotool)
("libX11" ,libx11)))
@ -8793,6 +8792,9 @@ (define-public python2-xdo
python-xdo for newer bindings.)")
(license license:bsd-3)))
(define-public python2-xdo
(package-with-python2 python-xdo))
(define-public python-wtforms
(package
(name "python-wtforms")