From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dF0Bl-0002kg-JE for guix-patches@gnu.org; Sun, 28 May 2017 11:33:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dF0Bi-0006R7-Ft for guix-patches@gnu.org; Sun, 28 May 2017 11:33:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39176) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dF0Bi-0006R3-B0 for guix-patches@gnu.org; Sun, 28 May 2017 11:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dF0Bi-0007X6-33 for guix-patches@gnu.org; Sun, 28 May 2017 11:33:02 -0400 Subject: bug#26524: [PATCH 1/5] gnu: Add python-sure References: In-Reply-To: Resent-Message-ID: From: Muriithi Frederick Muriuki Date: Sun, 28 May 2017 18:32:37 +0300 Message-Id: <20170528153241.15637-1-fredmanglis@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26524@debbugs.gnu.org * 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))) + +(define-public python2-sure + (package-with-python2 python-sure)) -- 2.13.0