[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/7] gnu: add python-selenium and python2-selenium
From: |
Leo Famulari |
Subject: |
Re: [PATCH 3/7] gnu: add python-selenium and python2-selenium |
Date: |
Mon, 18 Apr 2016 16:12:13 -0400 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Sun, Apr 17, 2016 at 10:50:53PM +0200, Hartmut Goebel wrote:
> * gnu/packages/python.scm (python-selenium) (python2-selenium):
> New functions.
We use the phrase "New variables" when adding new package definitions to
an existing package module.
> ---
> 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))
> +
Extra blank line ^
> + (arguments
> + ;; todo: enable the tests - may be very cumbersum
> + `(#:tests? #f))
Can you say what the difficulty is? We prefer to run upstream tests when
possible.
> + (native-inputs
> + `(("python-setuptools" ,python-setuptools)))
Did you check if this is really needed? Usually, only the python-2
package variants require setuptools as an input. You can see commit
13f3ff35 for an example of how to do this.
> + (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.")
A nit-pick, but it would be nice if this was a little less
"conversational". That is, things like "That's it! What you do [...]"
can be removed.
- [PATCH 0/7] Some new python packages, Hartmut Goebel, 2016/04/17
- [PATCH 3/7] gnu: add python-selenium and python2-selenium, Hartmut Goebel, 2016/04/17
- Re: [PATCH 3/7] gnu: add python-selenium and python2-selenium,
Leo Famulari <=
- [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