all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Cyril Roelandt <tipecaml@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH 3/5] gnu: Add python-mox3.
Date: Sun, 16 Aug 2015 16:41:50 +0200	[thread overview]
Message-ID: <1439736112-28557-4-git-send-email-tipecaml@gmail.com> (raw)
In-Reply-To: <1439736112-28557-1-git-send-email-tipecaml@gmail.com>

* 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

  parent reply	other threads:[~2015-08-16 14:42 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-16 14:41 [PATCH 0/5] Add oslotest Cyril Roelandt
2015-08-16 14:41 ` [PATCH 1/5] gnu: add python-appdirs Cyril Roelandt
2015-08-25 21:16   ` Ludovic Courtès
2015-08-16 14:41 ` [PATCH 2/5] gnu: Add python-pbr Cyril Roelandt
2015-08-25 21:18   ` Ludovic Courtès
2015-08-16 14:41 ` Cyril Roelandt [this message]
2015-08-25 21:19   ` [PATCH 3/5] gnu: Add python-mox3 Ludovic Courtès
2015-08-16 14:41 ` [PATCH 4/5] gnu: Add python-os-client-config Cyril Roelandt
2015-08-25 21:20   ` Ludovic Courtès
2015-08-25 22:24     ` Mathieu Lirzin
2015-08-26  8:39       ` Cyril Roelandt
2015-08-26 10:31         ` Mathieu Lirzin
2015-08-26 11:50       ` Alex Kost
2015-08-27  9:13         ` Ludovic Courtès
2015-08-16 14:41 ` [PATCH 5/5] gnu: Add python-oslotest Cyril Roelandt
2015-08-25 21:21   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439736112-28557-4-git-send-email-tipecaml@gmail.com \
    --to=tipecaml@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.