[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/12: gnu: Add python-os-testr.
From: |
Cyril Roelandt |
Subject: |
08/12: gnu: Add python-os-testr. |
Date: |
Tue, 03 Nov 2015 20:39:27 +0000 |
steap pushed a commit to branch master
in repository guix.
commit 2931f46454c3755b8c478db8dbb45e48928080cd
Author: Cyril Roelandt <address@hidden>
Date: Mon Oct 12 02:06:30 2015 +0200
gnu: Add python-os-testr.
* gnu/packages/openstack.scm (python-ostestr,
python2-ostestr): New variables.
---
gnu/packages/openstack.scm | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 34e482b..d8f3bd3 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.")
(define-public python2-mox3
(package-with-python2 python-mox3))
+(define-public python-os-testr
+ (package
+ (name "python-os-testr")
+ (version "0.4.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "os-testr" version))
+ (sha256
+ (base32
+ "0474z0mxb7y3vfk4s097wf1mzji5d135vh27cvlh9q17rq3x9r3w"))))
+ (build-system python-build-system)
+ (arguments
+ ;; os-testr uses itself to run the tests. It seems like pbr writes the
+ ;; exectuable in the virtualenv when using tox. Not sure how to do this
+ ;; when building the package. Skip the tests for now.
+ `(#:tests? #f))
+ (propagated-inputs
+ `(("python-pbr" ,python-pbr)
+ ("python-subunit" ,python-subunit)
+ ("python-testtools" ,python-testtools)))
+ (inputs
+ `(("python-babel" ,python-babel)
+ ("python-setuptools" ,python-setuptools)))
+ (home-page "http://www.openstack.org/")
+ (synopsis "Testr wrapper to provide functionality for OpenStack projects")
+ (description
+ "Os-testr provides developers with a testr wrapper and an output filter
+ for subunit.")
+ (license asl2.0)))
+
+(define-public python2-os-testr
+ (package-with-python2 python-os-testr))
+
(define-public python-pbr
(package
(name "python-pbr")
- branch master updated (f8ae32a -> 465b61f), Cyril Roelandt, 2015/11/03
- 04/12: gnu: Add python-mccabe 0.2.1, Cyril Roelandt, 2015/11/03
- 05/12: gnu: Add python-flake8-2.2.4, Cyril Roelandt, 2015/11/03
- 01/12: guix: Add a "pypi-uri" helper method., Cyril Roelandt, 2015/11/03
- 02/12: import: pypi: Use "pypi-uri" instead of building the URL manually., Cyril Roelandt, 2015/11/03
- 03/12: gnu: Update python-requests., Cyril Roelandt, 2015/11/03
- 06/12: gnu: Add python-hacking., Cyril Roelandt, 2015/11/03
- 07/12: gnu: Add python-oslosphinx., Cyril Roelandt, 2015/11/03
- 08/12: gnu: Add python-os-testr.,
Cyril Roelandt <=
- 09/12: gnu: paramiko: Move python-pycrypto to the propagated inputs., Cyril Roelandt, 2015/11/03
- 10/12: gnu: Add python-oslo.log., Cyril Roelandt, 2015/11/03
- 12/12: gnu: Add python-tempest-lib., Cyril Roelandt, 2015/11/03
- 11/12: gnu: python-oslotest: move mox3 to the propagated-inputs, Cyril Roelandt, 2015/11/03