From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 16/31] gnu: Add python-testresources. Date: Fri, 5 Sep 2014 11:18:22 -0400 Message-ID: <1409930317-13220-16-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]:32910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvI8-0001E2-Ke for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvI2-0003e0-3V for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:12 -0400 Received: from na3sys009aob139.obsmtp.com ([74.125.149.251]:53158 helo=psmtp.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvI1-0003dJ-TX for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:06 -0400 Received: by mail-yh0-f48.google.com with SMTP id b6so7407742yha.35 for ; Fri, 05 Sep 2014 08:19:04 -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-testresources, python2-testresources): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0338ccc..9af90d2 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1212,6 +1212,33 @@ style tests.") (define-public python2-testscenarios (package-with-python2 python-testscenarios)) +(define-public python-testresources + (package + (name "python-testresources") + (version "0.2.7") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/t/testresources/testresources-" + version ".tar.gz")) + (sha256 + (base32 + "0cbj3plbllyz42c4b5xxgwaa7mml54lakslrn4kkhinxhdri22md")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "https://launchpad.net/testresources") + (synopsis + "Pyunit extension for managing test resources") + (description + "Testresources is an extension to Python's unittest to allow declarative +use of resources by test cases.") + (license (list bsd-3 asl2.0)))) + +(define-public python2-testresources + (package-with-python2 python-testresources)) + (define-public behave (package (name "behave") -- 2.0.1