[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: Add python-flexmock and python2-flexmock.
From: |
??? |
Subject: |
02/03: gnu: Add python-flexmock and python2-flexmock. |
Date: |
Sat, 25 Jun 2016 14:53:13 +0000 (UTC) |
iyzsong pushed a commit to branch master
in repository guix.
commit 347175a27c4e37aa2f8acb8024cadb5d28b11cac
Author: 宋文武 <address@hidden>
Date: Sat Jun 25 22:50:12 2016 +0800
gnu: Add python-flexmock and python2-flexmock.
* gnu/packages/python.scm (python-flexmock, python2-flexmock): New
variables.
---
gnu/packages/python.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 8071513..46179b5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9594,3 +9594,26 @@ YAML-serialized data.")
(define-public python2-pyaml
(package-with-python2 python-pyaml))
+(define-public python-flexmock
+ (package
+ (name "python-flexmock")
+ (version "0.10.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "flexmock" version))
+ (sha256
+ (base32
+ "0arc6njvs6i9v9hgvzk5m50296g7zy5m9d7pyb43vdsdgxrci5gy"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "https://flexmock.readthedocs.org")
+ (synopsis "Testing library for Python")
+ (description
+ "flexmock is a testing library for Python that makes it easy to create
+mocks, stubs and fakes.")
+ (license bsd-3)))
+
+(define-public python2-flexmock
+ (package-with-python2 python-flexmock))
+