guix-commits
[Top][All Lists]
Advanced

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

13/14: gnu: python-oslosphinx: Update to 4.18.0.


From: guix-commits
Subject: 13/14: gnu: python-oslosphinx: Update to 4.18.0.
Date: Fri, 20 Nov 2020 00:25:35 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit b5b548efc51432563ea2d4fbda7b896a76c6eb95
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Nov 18 22:59:33 2020 -0500

    gnu: python-oslosphinx: Update to 4.18.0.
    
    * gnu/packages/openstack.scm (python-oslosphinx): Update to 4.18.0.
    [phases]: Delete 'check replacement.  Add a 'relax-requirements
    phase.
    [native-inputs]: Remove python-docutils.  Add python-openstackdocstheme and
    python-reno.
    (python2-oslosphinx): Remove variable.
---
 gnu/packages/openstack.scm | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index eb32d90..13b9293 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -617,30 +617,31 @@ and building documentation from them.")
 (define-public python-oslosphinx
   (package
     (name "python-oslosphinx")
-    (version "4.10.0")
+    (version "4.18.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "oslosphinx" version))
        (sha256
         (base32
-         "09mxqyabi68f3s3arvdhlhq0mn38vf74jbsfcg84151hcj6czhnl"))))
+         "1xm41857vzrzjmnyi6bqirg4i5qa61v7wxcsdc4q1nzgr3ndgz5k"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (replace 'check
+         (add-after 'unpack 'relax-requirements
            (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.
-             (invoke "python" "setup.py" "build_sphinx"))))))
+             (substitute* "test-requirements.txt"
+               (("hacking!=0.13.0,<0.14,>=0.12.0")
+                "hacking!=0.13.0,>=0.12.0"))
+             #t)))))
     (propagated-inputs
      `(("python-requests" ,python-requests)))
     (native-inputs
-     `(("python-pbr" ,python-pbr)
-       ("python-docutils" ,python-docutils)
-       ("python-hacking" ,python-hacking)
+     `(("python-hacking" ,python-hacking)
+       ("python-openstackdocstheme" ,python-openstackdocstheme)
+       ("python-pbr" ,python-pbr)
+       ("python-reno" ,python-reno)
        ("python-sphinx" ,python-sphinx)))
     (home-page "https://www.openstack.org/";)
     (synopsis "OpenStack sphinx extensions and theme")
@@ -648,9 +649,6 @@ and building documentation from them.")
 documentation from the OpenStack project.")
     (license asl2.0)))
 
-(define-public python2-oslosphinx
-  (package-with-python2 python-oslosphinx))
-
 (define-public python-oslotest
   (package
     (name "python-oslotest")



reply via email to

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