From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 09/12] gnu: Add python-os-testr. Date: Mon, 12 Oct 2015 23:41:05 +0200 Message-ID: <1444686068-7668-10-git-send-email-tipecaml@gmail.com> References: <1444686068-7668-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlkqZ-0003oI-Vn for guix-devel@gnu.org; Mon, 12 Oct 2015 17:41:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlkqW-00076I-Lw for guix-devel@gnu.org; Mon, 12 Oct 2015 17:41:31 -0400 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:33720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlkqW-00075z-Gt for guix-devel@gnu.org; Mon, 12 Oct 2015 17:41:28 -0400 Received: by wicge5 with SMTP id ge5so33224508wic.0 for ; Mon, 12 Oct 2015 14:41:28 -0700 (PDT) In-Reply-To: <1444686068-7668-1-git-send-email-tipecaml@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/openstack.scm (python-ostestr, python2-ostestr): New variables. --- gnu/packages/openstack.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 0fa105e..912fab3 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -205,6 +205,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") -- 2.1.4