From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Subject: [PATCH 01/10] gnu: Add python-chai and python2-chai. Date: Thu, 23 Jun 2016 23:17:42 +0800 Message-ID: <20160623151751.23903-1-iyzsong@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6Oj-0005Ag-1V for guix-devel@gnu.org; Thu, 23 Jun 2016 11:18:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG6Oe-0005Ih-3m for guix-devel@gnu.org; Thu, 23 Jun 2016 11:18:28 -0400 Received: from mail.openmailbox.org ([62.4.1.34]:52195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6Od-0005Gj-Tx for guix-devel@gnu.org; Thu, 23 Jun 2016 11:18:24 -0400 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" To: guix-devel@gnu.org Cc: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= * gnu/packages/python.scm (python-chai, python2-chai): New variables. --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 8c34ff2..0c9bd22 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -21,6 +21,7 @@ ;;; Copyright =C2=A9 2016 Lukas Gradl ;;; Copyright =C2=A9 2016 Hartmut Goebel ;;; Copyright =C2=A9 2016 Daniel Pimentel +;;; Copyright =C2=A9 2016 Sou Bunnbu ;;; ;;; This file is part of GNU Guix. ;;; @@ -9291,3 +9292,27 @@ It supports both the original 1.0 specification, a= s well as the new (proposed) 2.0 spec, which includes batch submission, keyword argume= nts, etc.") (license asl2.0))) + +(define-public python-chai + (package + (name "python-chai") + (version "1.1.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "chai" version)) + (sha256 + (base32 + "016kf3irrclpkpvcm7q0gmkfibq7jgy30a9v73pp42bq9h9a32bl"))= )) + (build-system python-build-system) + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "https://github.com/agoragames/chai") + (synopsis "Mocking framework for Python") + (description + "Chai provides an api for mocking, stubbing and spying your python +objects, patterned after the Mocha library for Ruby.") + (license bsd-3))) + +(define-public python2-chai + (package-with-python2 python-chai)) + --=20 2.8.4