[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/7] gnu: add python-selenium and python2-selenium
From: |
Hartmut Goebel |
Subject: |
[PATCH 3/7] gnu: add python-selenium and python2-selenium |
Date: |
Sun, 17 Apr 2016 22:50:53 +0200 |
* gnu/packages/python.scm (python-selenium) (python2-selenium):
New functions.
---
gnu/packages/python.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b77ab15..d04c85c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8788,3 +8788,38 @@ 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)
+ (arguments
+ ;; todo: enable the tests - may be very cumbersum
+ `(#:tests? #f))
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "http://www.seleniumhq.org/")
+ (synopsis "Python bindings for Selenium")
+ (description "Selenium automates browsers. That's it! What you do with
+that power is entirely up to you. Primarily, it is for automating web
+applications for testing purposes, but is certainly not limited to just that.
+Boring web-based administration tasks can (and should!) also be automated as
+well.
+
+Selenium has the support of some of the largest browser vendors who have
+taken (or are taking) steps to make Selenium a native part of their browser.
+It is also the core technology in countless other browser automation tools,
+APIs and frameworks.")
+ (license asl2.0)))
+
+(define-public python2-selenium
+ (package-with-python2 python-selenium))
--
2.7.4
- [PATCH 0/7] Some new python packages, Hartmut Goebel, 2016/04/17
- [PATCH 3/7] gnu: add python-selenium and python2-selenium,
Hartmut Goebel <=
- [PATCH 5/7] gnu: add python-maxminddb and python2-maxminddb, Hartmut Goebel, 2016/04/17
- [PATCH 7/7] gnu: add python-geoip2 and python2-geoip2, Hartmut Goebel, 2016/04/17
- [PATCH 1/7] gnu: Add python-tblib and python2-tblib, Hartmut Goebel, 2016/04/17
- [PATCH 4/7] gnu: Add python2-ipaddr, a Python-2-only package, Hartmut Goebel, 2016/04/17