guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: python-oslosphinx: Re-enable tests.


From: Danny Milosavljevic
Subject: 02/02: gnu: python-oslosphinx: Re-enable tests.
Date: Sat, 18 Feb 2017 12:13:11 -0500 (EST)

dannym pushed a commit to branch python-tests
in repository guix.

commit 27693b1e34347c4e2e4d12283c8c825ec6332716
Author: Danny Milosavljevic <address@hidden>
Date:   Sat Feb 18 18:12:34 2017 +0100

    gnu: python-oslosphinx: Re-enable tests.
    
    * gnu/packages/openstack.scm (python-oslosphinx): Re-enable tests.
---
 gnu/packages/openstack.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index fe0dd11..381480b 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -604,9 +604,15 @@ and building documentation from them.")
         (base32
          "09mxqyabi68f3s3arvdhlhq0mn38vf74jbsfcg84151hcj6czhnl"))))
     (build-system python-build-system)
-    ;; FIXME: Incompatible sphinx version.
     (arguments
-     '(#:tests? #f))
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             ;; Note: Upstream tests would have also built the release notes.
+             ;; That only would work if we were in a git checkout.
+             ;; Therefore, we don't do it here.
+             (zero? (system* "python" "setup.py" "build_sphinx")))))))
     (propagated-inputs
       `(("python-requests" ,python-requests)))
     (native-inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]