guix-patches
[Top][All Lists]
Advanced

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

bug#26524: [PATCH 1/5] gnu: Add python-sure


From: Marius Bakke
Subject: bug#26524: [PATCH 1/5] gnu: Add python-sure
Date: Sun, 04 Jun 2017 14:15:58 +0200
User-agent: Notmuch/0.24.2 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu)

Muriithi Frederick Muriuki <address@hidden> writes:

> * gnu/packages/python.scm (python-sure, python2-sure): New variables.
> ---
>  gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 3e2141e7f..556d34d0c 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -14926,3 +14926,32 @@ Supported metrics are:
>  
>  (define-public python2-radon
>    (package-with-python2 python-radon))
> +
> +(define-public python-sure
> +  (package
> +    (name "python-sure")
> +    (version "1.4.6")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "sure" version))
> +       (sha256
> +        (base32
> +         "1iyqsy2d6radi88g1qf0lziy5b39h5cpb3g5jiqyb4xi46ig3x1z"))))
> +    (build-system python-build-system)
> +    (propagated-inputs
> +     `(("python-mock" ,python-mock)
> +       ("python-six" ,python-six)))
> +    (native-inputs
> +     `(("python-nose" ,python-nose)))
> +    (home-page
> +     "http://github.com/gabrielfalcao/sure";)
> +    (synopsis
> +     "Sure is an automated testing library in python for python")
> +    (description
> +     "Sure is a python library for python that leverages a DSL for writing 
> assertions.
> +Sure is heavily inspired by @code{RSpec Expectations} and @code{should.js}.")
> +    (license license:gpl3)))

Committed with this diff:

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 70544058a..5adb35510 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -14944,14 +14944,12 @@ Supported metrics are:
        ("python-six" ,python-six)))
     (native-inputs
      `(("python-nose" ,python-nose)))
-    (home-page
-     "http://github.com/gabrielfalcao/sure";)
-    (synopsis
-     "Sure is an automated testing library in python for python")
+    (home-page "http://github.com/gabrielfalcao/sure";)
+    (synopsis "Automated testing library in python for python")
     (description
-     "Sure is a python library for python that leverages a DSL for writing 
assertions.
+     "Sure is a python library that leverages a DSL for writing assertions.
 Sure is heavily inspired by @code{RSpec Expectations} and @code{should.js}.")
-    (license license:gpl3)))
+    (license license:gpl3+)))
 
Thanks!

Attachment: signature.asc
Description: PGP signature


reply via email to

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