guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 3/6] gnu: Add python-ddt


From: Marius Bakke
Subject: Re: [PATCH 3/6] gnu: Add python-ddt
Date: Thu, 09 Feb 2017 23:54:51 +0100
User-agent: Notmuch/0.23.5 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu)

Muriithi Frederick Muriuki <address@hidden> writes:

> * gnu/packages/python.scm (python-ddt): New variable.
> ---
>  gnu/packages/python.scm | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 6b56312..9e17caf 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -12580,3 +12580,27 @@ faster ones are not available.")
>       "This package that provides some compatibility helpers for Flake8 
> plugins that
>   intend to support Flake8 2.x and 3.x simultaneously.")
>      (license license:expat)))
> +
> +(define-public python-ddt
> +  (package
> +    (name "python-ddt")
> +    (version "1.1.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "ddt" version))
> +       (sha256
> +        (base32
> +         "1c00ikkxr7lha97c81k938bzhgd4pbwamkjn0h4nkhr3xk00zp6n"))))
> +    (build-system python-build-system)
> +    (native-inputs
> +     `(("python-mock" ,python-mock)
> +       ("python-nose" ,python-nose)))
> +    (inputs
> +     `(("python-six" ,python-six)
> +       ("python-pyyaml" ,python-pyyaml)))

I made these inputs propagated as Hartmut mentioned. Pushed!

> +    (home-page "https://github.com/txels/ddt";)
> +    (synopsis "Data-Driven Tests")
> +    (description "DDT (Data-Driven Tests) allows you to multiply one test 
> case by running
> + it with different test data, and make it appear as multiple test cases.")
> +    (license license:expat)))
> -- 
> 2.10.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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