[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/6] gnu: add python-selenium and python2-selenium
From: |
Hartmut Goebel |
Subject: |
[PATCH 3/6] gnu: add python-selenium and python2-selenium |
Date: |
Thu, 21 Apr 2016 21:19:50 +0200 |
* gnu/packages/python.scm (python-selenium) (python2-selenium):
New variables.
---
gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0241ed5..3c81a1f 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8793,3 +8793,32 @@ provides support for parsing, splitting and formatting
SQL statements.")
(define-public python2-sqlparse
(package-with-python2 python-sqlparse))
+
+(define-public python-selenium
+ (package
+ (name "python-selenium")
+ (version "2.53.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "selenium" version))
+ (sha256
+ (base32
+ "1pj0ci4dxwfa0pkvjc60k7pw74zy6ay473mnzckbb58jlhc994jk"))))
+ (build-system python-build-system)
+ ;; FIXME webdriver/firefox contains pre-build binaries. Build them in
+ ;; guix, but the source is not included.
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "http://www.seleniumhq.org/")
+ (synopsis "Python bindings for Selenium Webdriver")
+ (description "The @code{selenium} package is used automate web browser
+interaction from Python. Several browsers/drivers are supported (Firefox,
+Chrome, Internet Explorer, PhantomJS), as well as the Remote protocol.
+
+Primarily it is for automated testing of web applications, but can also used
+for e.g. automating web-based administration tasks.")
+ (license asl2.0)))
+
+(define-public python2-selenium
+ (package-with-python2 python-selenium))
--
2.7.4