From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 3/5] gnu: Add python-mox3. Date: Sun, 16 Aug 2015 16:41:50 +0200 Message-ID: <1439736112-28557-4-git-send-email-tipecaml@gmail.com> References: <1439736112-28557-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQz8O-0001qV-TM for guix-devel@gnu.org; Sun, 16 Aug 2015 10:42:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQz8N-0001l5-Ka for guix-devel@gnu.org; Sun, 16 Aug 2015 10:42:04 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:34120) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQz8N-0001kN-Dq for guix-devel@gnu.org; Sun, 16 Aug 2015 10:42:03 -0400 Received: by wicne3 with SMTP id ne3so56002773wic.1 for ; Sun, 16 Aug 2015 07:42:02 -0700 (PDT) In-Reply-To: <1439736112-28557-1-git-send-email-tipecaml@gmail.com> 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/openstack.scm (python-mox3, python2-mox3): New variables. --- gnu/packages/openstack.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 1598020..eb3c606 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -25,6 +25,39 @@ #:select (asl2.0)) #:use-module (guix packages)) +(define-public python-mox3 + (package + (name "python-mox3") + (version "0.8.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/m/mox3/mox3-" + version + ".tar.gz")) + (sha256 + (base32 + "1dwj9lkifdqvrcympqa47bj55l0n0j9jhzv2gj03h0dpzg6mgfkj")))) + (build-system python-build-system) + (inputs + `(("python-fixtures" ,python-fixtures) + ("python-pbr" ,python-pbr) + ("python-setuptools" ,python-setuptools) + ("python-six" ,python-six) + ("python-testtools" ,python-testtools))) + (home-page "http://www.openstack.org/") + (synopsis "Mock object framework for Python") + (description + "Mox3 is an unofficial port of the Google mox framework +(http://code.google.com/p/pymox/) to Python 3. It was meant to be as compatible +with mox as possible, but small enhancements have been made. The library was +tested on Python version 3.2, 2.7 and 2.6.") + (license asl2.0))) + +(define-public python2-mox3 + (package-with-python2 python-mox3)) + (define-public python-pbr (package (name "python-pbr") -- 2.1.4