From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 15/31] gnu: Add python-testscenarios. Date: Fri, 5 Sep 2014 11:18:21 -0400 Message-ID: <1409930317-13220-15-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]:32876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvI7-0001B3-7C for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvI0-0003cs-RA for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:11 -0400 Received: from na3sys009aog130.obsmtp.com ([74.125.149.143]:37817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvI0-0003cQ-KS for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:04 -0400 Received: by mail-yh0-f43.google.com with SMTP id f73so7468322yha.16 for ; Fri, 05 Sep 2014 08:19:03 -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-testscenarios, python2-testscenarios): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 2b5a1dd..0338ccc 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1184,6 +1184,34 @@ compatibility.") (define-public python2-testtools (package-with-python2 python-testtools)) +(define-public python-testscenarios + (package + (name "python-testscenarios") + (version "0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/t/testscenarios/testscenarios-" + version ".tar.gz")) + (sha256 + (base32 + "1671jvrvqlmbnc42j7pc5y6vc37q44aiwrq0zic652pxyy2fxvjg")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-testtools" ,python-testtools) + ("python-mimeparse" ,python-mimeparse))) + (home-page "https://launchpad.net/testscenarios") + (synopsis "Pyunit extension for dependency injection") + (description + "Testscenarios provides clean dependency injection for Python unittest +style tests.") + (license (list bsd-3 asl2.0)))) + +(define-public python2-testscenarios + (package-with-python2 python-testscenarios)) + (define-public behave (package (name "behave") -- 2.0.1