[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
39/43: gnu: python-sphinx: Update to 1.7.7.
From: |
Marius Bakke |
Subject: |
39/43: gnu: python-sphinx: Update to 1.7.7. |
Date: |
Tue, 21 Aug 2018 11:25:59 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 3bbfc451edcb9af438eb8e205d3016203e0ef8e4
Author: Marius Bakke <address@hidden>
Date: Tue Aug 21 15:41:29 2018 +0200
gnu: python-sphinx: Update to 1.7.7.
* gnu/packages/openstack.scm (python-mox3, python-openstackdocstheme,
python-stevedore, python-oslo.config)[native-inputs]: Change
PYTHON-SPHINX-1.6 to PYTHON-SPHINX.
* gnu/packages/python.scm (python-sphinx): Update to 1.7.7.
[arguments]: Incorporate changes from the 1.6 variant. Disable two tests.
[propagated-inputs]: Add PYTHON-PACKAGING and
PYTHON-SPHINXCONTRIB-WEBSUPPORT.
[native-inputs]: Add IMAGEMAGICK and PYTHON-PYTEST.
(python2-sphinx)[propagated-inputs]: Add PYTHON2-TYPING.
(python-sphinx-1.6, python2-sphinx-1.6, python-sphinx-1.5.3): Remove
variables.
(python-matplotlib-documentation)[native-inputs]: Change from
PYTHON-SPHINX-1.6 to PYTHON-SPHINX.
---
gnu/packages/openstack.scm | 8 ++---
gnu/packages/python.scm | 81 +++++++++++-----------------------------------
2 files changed, 23 insertions(+), 66 deletions(-)
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 64e05c4..c07f011 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -182,7 +182,7 @@ guidelines}.")
("python-pbr" ,python-pbr)))
(native-inputs
`(("python-openstackdocstheme" ,python-openstackdocstheme)
- ("python-sphinx" ,python-sphinx-1.6)
+ ("python-sphinx" ,python-sphinx)
("python-subunit" ,python-subunit)
("python-testrepository" ,python-testrepository)
("python-testtools" ,python-testtools)))
@@ -216,7 +216,7 @@ with mox as possible, but small enhancements have been
made.")
`(("python-dulwich" ,python-dulwich)
("python-pbr" ,python-pbr)))
(native-inputs
- `(("python-sphinx" ,python-sphinx-1.6)))
+ `(("python-sphinx" ,python-sphinx)))
(home-page "https://docs.openstack.org/openstackdocstheme/latest/")
(synopsis "OpenStack Docs Theme")
(description
@@ -313,7 +313,7 @@ to docs.openstack.org and developer.openstack.org.")
("python-six" ,python-six)))
(native-inputs
`(("python-mock" ,python-mock)
- ("python-sphinx" ,python-sphinx-1.6)
+ ("python-sphinx" ,python-sphinx)
("python-testrepository" ,python-testrepository)))
(home-page "https://github.com/dreamhost/stevedore")
(synopsis "Manage dynamic plugins for Python applications")
@@ -405,7 +405,7 @@ common features used in Tempest.")
("python-openstackdocstheme" ,python-openstackdocstheme)
("python-oslotest" ,python-oslotest)
("python-reno" ,python-reno)
- ("python-sphinx" ,python-sphinx-1.6)
+ ("python-sphinx" ,python-sphinx)
("python-testrepository" ,python-testrepository)
("python-testscenarios" ,python-testscenarios)
("python-testtools" ,python-testtools)))
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index dbc79b3..3aa54e6 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2410,14 +2410,14 @@ integrate Sphinx documents in web templates and to
handle searches.")
(define-public python-sphinx
(package
(name "python-sphinx")
- (version "1.5.1")
+ (version "1.7.7")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Sphinx" version))
(sha256
(base32
- "1i8p9idnli4gr0y4x67yakbdk5w6a0xjzhrg6bg51y9d1fi7fslf"))))
+ "0pkkbfj7cl157q550gcs45am5y78ps0h7q6455d64s1zmw01jlvi"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -2426,7 +2426,15 @@ integrate Sphinx documents in web templates and to
handle searches.")
(lambda _
;; Requires Internet access.
(delete-file "tests/test_build_linkcheck.py")
- (zero? (system* "make" "test")))))))
+ (substitute* "tests/test_build_latex.py"
+ (("@pytest.mark.sphinx\\('latex', testroot='images'\\)")
+ "@pytest.mark.skip()"))
+ (when (which "python")
+ ;; XXX: These tests are broken when using Python2:
+ ;; <https://github.com/sphinx-doc/sphinx/issues/4710>.
+ (delete-file "tests/test_api_translator.py")
+ (delete-file "tests/test_setup_command.py"))
+ (invoke "make" "test"))))))
(propagated-inputs
`(("python-imagesize" ,python-imagesize)
("python-sphinx-alabaster-theme"
@@ -2435,14 +2443,18 @@ integrate Sphinx documents in web templates and to
handle searches.")
("python-snowballstemmer" ,python-snowballstemmer)
("python-docutils" ,python-docutils)
("python-jinja2" ,python-jinja2)
+ ("python-packaging" ,python-packaging)
("python-pygments" ,python-pygments)
("python-requests" ,python-requests)
- ("python-six" ,python-six)))
+ ("python-six" ,python-six)
+ ("python-sphinxcontrib-websupport" ,python-sphinxcontrib-websupport)))
(native-inputs
`(("graphviz" ,graphviz)
+ ("imagemagick" ,imagemagick) ;for "convert"
("python-html5lib" ,python-html5lib)
("python-mock" ,python-mock)
- ("python-nose" ,python-nose)))
+ ("python-nose" ,python-nose)
+ ("python-pytest" ,python-pytest)))
(home-page "http://sphinx-doc.org/")
(synopsis "Python documentation generator")
(description "Sphinx is a tool that makes it easy to create documentation
@@ -2451,62 +2463,6 @@ sources.")
(license license:bsd-3)
(properties `((python2-variant . ,(delay python2-sphinx))))))
-(define-public python-sphinx-1.6
- (package (inherit python-sphinx)
- (name "python-sphinx")
- (version "1.6.4")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "Sphinx" version))
- (sha256
- (base32
- "0gjakw9fv5pwqb5yyclxycs36sapxizk1vx6mkcdizmzgzcfy0gi"))))
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _
- ;; Requires Internet access.
- (delete-file "tests/test_build_linkcheck.py")
- (substitute* "tests/test_build_latex.py"
- (("@pytest.mark.sphinx\\('latex', testroot='images'\\)")
- "@pytest.mark.skip()"))
- (zero? (system* "make" "test")))))))
- (propagated-inputs
- `(("python-sphinxcontrib-websupport" ,python-sphinxcontrib-websupport)
- ,@(package-propagated-inputs python-sphinx)))
- (native-inputs
- `(("python-pytest" ,python-pytest)
- ("imagemagick" ,imagemagick) ; for "convert"
- ,@(package-native-inputs python-sphinx)))
- (properties `((python2-variant . ,(delay python2-sphinx-1.6))))))
-
-(define-public python2-sphinx-1.6
- (let ((base (package-with-python2 (strip-python2-variant
python-sphinx-1.6))))
- (package
- (inherit base)
- (propagated-inputs
- `(("python2-typing" ,python2-typing)
- ,@(package-propagated-inputs base)))
- (native-inputs `(("python2-enum34" ,python2-enum34)
- ,@(package-native-inputs base))))))
-
-(define-public python-sphinx-1.5.3
- (package
- (inherit python-sphinx)
- (name "python-sphinx")
- (version "1.5.3")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "Sphinx" version))
- (sha256
- (base32
- "0kw1axswbvaavr8ggyf4qr6hnisnrzlbkkcdada69vk1x9xjassg"))))
- (native-inputs
- `(("python-pytest" ,python-pytest)
- ,@(package-native-inputs python-sphinx)))))
-
(define-public python2-sphinx
(let ((base (package-with-python2 (strip-python2-variant python-sphinx))))
(package
@@ -2515,6 +2471,7 @@ sources.")
("python2-enum34" ,python2-enum34)
,@(package-native-inputs base)))
(propagated-inputs `(("python2-pytz" ,python2-pytz)
+ ("python2-typing" ,python2-typing)
,@(package-propagated-inputs base))))))
(define-public python-sphinx-gallery
@@ -3502,7 +3459,7 @@ toolkits.")
(native-inputs
`(("python-matplotlib" ,python-matplotlib)
("python-colorspacious" ,python-colorspacious)
- ("python-sphinx" ,python-sphinx-1.6)
+ ("python-sphinx" ,python-sphinx)
("python-sphinx-gallery" ,python-sphinx-gallery)
("python-numpydoc" ,python-numpydoc)
("python-ipython" ,python-ipython)
- branch core-updates updated (e6c4e41 -> fdb2220), Marius Bakke, 2018/08/21
- 43/43: gnu: gdbm: Update to 1.18., Marius Bakke, 2018/08/21
- 42/43: gnu: python-numpydoc: Update to 0.8.0., Marius Bakke, 2018/08/21
- 39/43: gnu: python-sphinx: Update to 1.7.7.,
Marius Bakke <=
- 40/43: gnu: cups-filters: Update to 1.21.0., Marius Bakke, 2018/08/21
- 41/43: gnu: python-greenlet: Update to 0.4.14., Marius Bakke, 2018/08/21
- 36/43: gnu: python-sphinxcontrib-websupport: Disable tests., Marius Bakke, 2018/08/21
- 35/43: gnu: python-jinja2: Update to 2.10., Marius Bakke, 2018/08/21
- 34/43: gnu: python-babel: Run the tests., Marius Bakke, 2018/08/21
- 38/43: gnu: python-sphinxcontrib-websupport: Add a python2 variant., Marius Bakke, 2018/08/21
- 32/43: gnu: python-pytz: Update to 2018.5., Marius Bakke, 2018/08/21
- 37/43: gnu: python-sphinxcontrib-websupport: Update to 1.1.0., Marius Bakke, 2018/08/21
- 33/43: gnu: python-babel: Update to 2.6.0., Marius Bakke, 2018/08/21
- 31/43: gnu: python-sqlalchemy: Update to 1.2.11., Marius Bakke, 2018/08/21