From 347175a27c4e37aa2f8acb8024cadb5d28b11cac Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Sat, 25 Jun 2016 22:50:12 +0800 Subject: 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(+) (limited to 'gnu') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 80715133c3..46179b51db 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9594,3 +9594,26 @@ (define-public python-pyaml (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)) + -- cgit v1.2.3