summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2015-10-12 02:06:30 +0200
committerCyril Roelandt <tipecaml@gmail.com>2015-11-03 21:38:13 +0100
commit2931f46454c3755b8c478db8dbb45e48928080cd (patch)
tree312a1c2f25d664698ec5076c7f6a6e93e2c86864
parentf4c7dc5582d02de79fcec640046486b86024bf1d (diff)
gnu: Add python-os-testr.
* gnu/packages/openstack.scm (python-ostestr, python2-ostestr): New variables.
-rw-r--r--gnu/packages/openstack.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 34e482b4cd4..d8f3bd364b7 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -206,6 +206,40 @@ tested on Python version 3.2, 2.7 and 2.6.")
206(define-public python2-mox3 206(define-public python2-mox3
207 (package-with-python2 python-mox3)) 207 (package-with-python2 python-mox3))
208 208
209(define-public python-os-testr
210 (package
211 (name "python-os-testr")
212 (version "0.4.2")
213 (source
214 (origin
215 (method url-fetch)
216 (uri (pypi-uri "os-testr" version))
217 (sha256
218 (base32
219 "0474z0mxb7y3vfk4s097wf1mzji5d135vh27cvlh9q17rq3x9r3w"))))
220 (build-system python-build-system)
221 (arguments
222 ;; os-testr uses itself to run the tests. It seems like pbr writes the
223 ;; exectuable in the virtualenv when using tox. Not sure how to do this
224 ;; when building the package. Skip the tests for now.
225 `(#:tests? #f))
226 (propagated-inputs
227 `(("python-pbr" ,python-pbr)
228 ("python-subunit" ,python-subunit)
229 ("python-testtools" ,python-testtools)))
230 (inputs
231 `(("python-babel" ,python-babel)
232 ("python-setuptools" ,python-setuptools)))
233 (home-page "http://www.openstack.org/")
234 (synopsis "Testr wrapper to provide functionality for OpenStack projects")
235 (description
236 "Os-testr provides developers with a testr wrapper and an output filter
237 for subunit.")
238 (license asl2.0)))
239
240(define-public python2-os-testr
241 (package-with-python2 python-os-testr))
242
209(define-public python-pbr 243(define-public python-pbr
210 (package 244 (package
211 (name "python-pbr") 245 (name "python-pbr")