From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: [PATCH 3/7] gnu: add python-selenium and python2-selenium Date: Sun, 17 Apr 2016 22:50:53 +0200 Message-ID: <1460926257-25147-4-git-send-email-h.goebel@crazy-compilers.com> References: <1460926257-25147-1-git-send-email-h.goebel@crazy-compilers.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1artfw-0001Jq-69 for guix-devel@gnu.org; Sun, 17 Apr 2016 16:53:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1artes-0002Hh-0V for guix-devel@gnu.org; Sun, 17 Apr 2016 16:52:12 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:46853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arter-0002H2-Ny for guix-devel@gnu.org; Sun, 17 Apr 2016 16:51:05 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3qp3Ms1VhLz3hmY0 for ; Sun, 17 Apr 2016 22:51:05 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3qp3Ms1PxjzvdWJ for ; Sun, 17 Apr 2016 22:51:05 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id quOYmMfuNQCj for ; Sun, 17 Apr 2016 22:51:04 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-144-124.dynamic.mnet-online.de [188.174.144.124]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Sun, 17 Apr 2016 22:51:04 +0200 (CEST) Received: from thisbe.goebel-consult.de (unknown [192.168.110.30]) by hermia.goebel-consult.de (Postfix) with ESMTP id 06F98608E7 for ; Sun, 17 Apr 2016 22:50:59 +0200 (CEST) In-Reply-To: <1460926257-25147-1-git-send-email-h.goebel@crazy-compilers.com> 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" To: guix-devel@gnu.org * 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