From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 13/31] gnu: Add python-scripttest. Date: Fri, 5 Sep 2014 11:18:19 -0400 Message-ID: <1409930317-13220-13-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]:32838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvI4-000154-DN for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvHx-0003bh-Vt for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:08 -0400 Received: from na3sys009aog110.obsmtp.com ([74.125.149.203]:52779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvHx-0003bG-PA for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:01 -0400 Received: by mail-yk0-f172.google.com with SMTP id 200so643493ykr.31 for ; Fri, 05 Sep 2014 08:19:00 -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-scriptest, python2-scripttest): 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 959a08b..b597126 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1127,6 +1127,33 @@ and many external plugins.") (define-public python2-pytest (package-with-python2 python-pytest)) +(define-public python-scripttest + (package + (name "python-scripttest") + (version "1.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/s/scripttest/scripttest-" + version ".tar.gz")) + (sha256 + (base32 + "0f4w84k8ck82syys7yg9maz93mqzc8p5ymis941x034v44jzq74m")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-pytest" ,python-pytest))) + (home-page "http://pythonpaste.org/scripttest/") + (synopsis "Python library to test command-line scripts") + (description "Scripttest is a Python helper library for testing +interactive command-line applications. With it you can run a script in a +subprocess and see the output as well as any file modifications.") + (license expat))) + +(define-public python2-scripttest + (package-with-python2 python-scripttest)) + (define-public behave (package (name "behave") -- 2.0.1