Accepting request 507113 from home:tbechtold:branches:devel:languages:python
- update to 1.6.2: * See http://www.sphinx-doc.org/en/stable/changes.html - Adjust Requires and BuildRequires - Add disable-test.patch to disable test which needs remote access. OBS-URL: https://build.opensuse.org/request/show/507113 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=81
This commit is contained in:
parent
04dd5168d3
commit
0918ec2a28
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:049c48393909e4704a6ed4de76fd39c8622e165414660bfb767e981e7931c722
|
||||
size 4418646
|
3
Sphinx-1.6.2.tar.gz
Normal file
3
Sphinx-1.6.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:67527d767dff9a2e2159c501265cff47b6d96d39e036e8b971d6c143ff303197
|
||||
size 4670627
|
12
disable-test.patch
Normal file
12
disable-test.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: python-Sphinx/Sphinx-1.6.2/tests/test_build_latex.py
|
||||
===================================================================
|
||||
--- Sphinx-1.6.2/tests/test_build_latex.py
|
||||
+++ Sphinx-1.6.2/tests/test_build_latex.py
|
||||
@@ -1011,6 +1011,7 @@ def test_latex_raw_directive(app, status
|
||||
|
||||
|
||||
@pytest.mark.sphinx('latex', testroot='images')
|
||||
+@pytest.mark.skip(reason="no remote access in OBS")
|
||||
def test_latex_remote_images(app, status, warning):
|
||||
app.builder.build_all()
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 23 18:04:59 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
- update to 1.6.2:
|
||||
* See http://www.sphinx-doc.org/en/stable/changes.html
|
||||
- Adjust Requires and BuildRequires
|
||||
- Add disable-test.patch to disable test which needs remote access.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 8 15:38:53 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -25,13 +25,14 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
Name: python-Sphinx
|
||||
Version: 1.5.2
|
||||
Version: 1.6.2
|
||||
Release: 0
|
||||
Url: http://sphinx-doc.org
|
||||
Summary: Python documentation generator
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
Source: https://pypi.io/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
|
||||
Patch1: disable-test.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@ -40,19 +41,22 @@ BuildRequires: python-rpm-macros
|
||||
# SECTION documentation requirements
|
||||
BuildRequires: %{python_module Babel >= 1.3}
|
||||
BuildRequires: %{python_module Jinja2 >= 2.3}
|
||||
BuildRequires: %{python_module Pygments >= 2.1}
|
||||
BuildRequires: %{python_module Pygments >= 2.0}
|
||||
BuildRequires: %{python_module alabaster >= 0.7}
|
||||
BuildRequires: %{python_module docutils >= 0.11}
|
||||
BuildRequires: %{python_module imagesize}
|
||||
BuildRequires: %{python_module requests >= 2.4}
|
||||
BuildRequires: %{python_module requests >= 2.0.0}
|
||||
BuildRequires: %{python_module six >= 1.5}
|
||||
BuildRequires: %{python_module snowballstemmer >= 1.1}
|
||||
BuildRequires: %{python_module sphinx_rtd_theme}
|
||||
BuildRequires: %{python_module sphinxcontrib-websupport}
|
||||
BuildRequires: %{python_module typing}
|
||||
# ENDSECTION doc requirements
|
||||
# SECTION testsuite requirements
|
||||
BuildRequires: %{python_module html5lib}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: ImageMagick
|
||||
# ENDSECTION
|
||||
# for python 2 only:
|
||||
BuildRequires: python-enum34
|
||||
@ -62,7 +66,7 @@ Requires: python-Pygments >= 2.0
|
||||
Requires: python-alabaster >= 0.7
|
||||
Requires: python-docutils >= 0.11
|
||||
Requires: python-imagesize
|
||||
Requires: python-requests >= 2.4
|
||||
Requires: python-requests >= 2.0.0
|
||||
Requires: python-six >= 1.5
|
||||
Requires: python-snowballstemmer >= 1.1
|
||||
Requires: python-sphinx_rtd_theme
|
||||
@ -192,8 +196,8 @@ This package contains the LaTeX components for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n Sphinx-%{version}
|
||||
%patch1 -p1
|
||||
|
||||
rm -r sphinx/locale/__init__.pyc # drop shipped garbage
|
||||
sed -i '/#\!/d' sphinx/pycode/pgen2/token.py # Fix non-excutable-script warning
|
||||
sed -i 's/\r$//' sphinx/themes/basic/static/jquery.js # Fix wrong end-of-line encoding
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user