From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 10/31] gnu: Add python-unittest2. Date: Fri, 5 Sep 2014 11:18:16 -0400 Message-ID: <1409930317-13220-10-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]:32841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvI4-00015I-Dz for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvHx-0003ba-RY for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:08 -0400 Received: from na3sys009aog138.obsmtp.com ([74.125.149.19]:35223) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvHx-0003bE-JY for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:01 -0400 Received: by mail-yk0-f169.google.com with SMTP id q200so7149202ykb.14 for ; Fri, 05 Sep 2014 08:18:57 -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-unittest2, python2-unittest2): New variables. --- gnu/packages/python.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 646ba81..a68c0b5 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1023,6 +1023,48 @@ matching them against a list of media-ranges.") (define-public python2-nose (package-with-python2 python-nose)) +(define-public python-unittest2 + (package + (name "python-unittest2") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/u/unittest2py3k/unittest2py3k-" + version ".tar.gz")) + (sha256 + (base32 + "00yl6lskygcrddx5zspkhr0ibgvpknl4678kkm6s626539grq93q")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://pypi.python.org/pypi/unittest2") + (synopsis "Python unit testing library") + (description + "Unittest2 is a replacement for the unittest module in the Python +standard library.") + (license psfl))) + +(define-public python2-unittest2 + (package (inherit python-unittest2) + (name "python2-unittest2") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/u/unittest2/unittest2-" + version ".tar.gz")) + (sha256 + (base32 + "0wbs4i4x3x7klr3v35ss6p9mcqz883i1xgcpkhvl7n2lyv6yhpda")))) + (inputs + `(("python2-setuptools" ,python-setuptools))) + (arguments + `(#:python ,python-2 + #:tests? #f)))) ; no setup.py test command + (define-public behave (package (name "behave") -- 2.0.1