From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 14/31] gnu: Add python-testtools. Date: Fri, 5 Sep 2014 11:18:20 -0400 Message-ID: <1409930317-13220-14-git-send-email-dthompson2@worcester.edu> References: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvI5-00018e-Sv for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvHz-0003cD-Fq for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:09 -0400 Received: from na3sys009aog134.obsmtp.com ([74.125.149.83]:57009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvHz-0003c2-8d for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:03 -0400 Received: by mail-yk0-f172.google.com with SMTP id 200so643512ykr.31 for ; Fri, 05 Sep 2014 08:19:02 -0700 (PDT) In-Reply-To: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/python.scm (python-testtools, python2-testtools): New variables. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index b597126..2b5a1dd 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1154,6 +1154,36 @@ subprocess and see the output as well as any file modifications.") (define-public python2-scripttest (package-with-python2 python-scripttest)) +(define-public python-testtools + (package + (name "python-testtools") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/t/testtools/testtools-" + version ".tar.gz")) + (sha256 + (base32 + "1dyml28ykpl5jb9khdmcdvhy1cxqingys6qvj2k04fzlaj6z3bbx")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-mimeparse" ,python-mimeparse) + ("python-extras" ,python-extras))) + (home-page "https://github.com/testing-cabal/testtools") + (synopsis + "Extensions to the Python standard library unit testing framework") + (description + "Testtools extends the Python standard library unit testing framework to +provide matchers, more debugging information, and cross-Python +compatibility.") + (license psfl))) + +(define-public python2-testtools + (package-with-python2 python-testtools)) + (define-public behave (package (name "behave") -- 2.0.1