guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/4] gnu: Add python-pytest-3.0.7


From: Frederick Muriithi
Subject: Re: [PATCH 1/4] gnu: Add python-pytest-3.0.7
Date: Sun, 26 Mar 2017 18:29:04 +0300

I don't really see a reason why not. I have to point out though, that when writing the definition, I found python-pytest-2.9.2 also defined, with a note that it's there until all packages can be upgraded to use a more recent pytest.

Since I don't know what the progress on that is, I decided to err on the side of caution, and just add it with a note on why it's needed.

On 26 Mar 2017 6:12 p.m., "Pjotr Prins" <address@hidden> wrote:
Is there a reason not to just update this package?

Otherwise LGTM

On Sun, Mar 26, 2017 at 12:23:32PM +0300, Muriithi Frederick Muriuki wrote:
> * gnu/packages/python.scm (python-pytest-3.0.7): New variable.
> ---
>  gnu/packages/python.scm | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 7aae8fc..52be497 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -1845,6 +1845,24 @@ and many external plugins.")
>                                 line)))
>               #t)))))))
>
> +;; This package is used by Sphinx version 1.5.2 and up
> +(define-public python-pytest-3.0.7
> +  (package
> +    (inherit python-pytest-2.9.2)
> +    (name "python-pytest")
> +    (version "3.0.7")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "pytest" version))
> +       (sha256
> +        (base32
> +         "1asc4b2nd2a4f0g3r12y97rslq5wliji7b73wwkvdrm5s7mrc1mp"))))
> +    (native-inputs
> +     `(("python-nose" ,python-nose)
> +       ("python-mock" ,python-mock)
> +       ("python-hypothesis" ,python-hypothesis)))))
> +
>  (define-public python-pytest-cov
>    (package
>      (name "python-pytest-cov")
> --
> 2.10.2
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]