Accepting request 612216 from devel:languages:python

- update to 1.7.4
- ver long list of changes - please check www.sphinx-doc.org for details
 

- update to 1.7.4
- very long list of changes - please see http://www.sphinx-doc.org/en/master/changes.html#release-1-7-4-released-apr-25-2018

OBS-URL: https://build.opensuse.org/request/show/612216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Sphinx?expand=0&rev=50
This commit is contained in:
Dominique Leuenberger 2018-06-02 09:50:14 +00:00 committed by Git OBS Bridge
commit 2184838b59
6 changed files with 53 additions and 49 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6de5dbdbb7a0d7d2757f4389cc00e8f6eb3c49e1772378967a12cfcf2cfe098
size 4680974

3
Sphinx-1.7.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e9b1a75a3eae05dded19c80eb17325be675e0698975baae976df603b6ed1eb10
size 4722408

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 23 12:17:03 UTC 2018 - mimi.vx@gmail.com
- update to 1.7.4
- ver long list of changes - please check www.sphinx-doc.org for details
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 24 18:31:35 UTC 2018 - arun@gmx.de Sat Feb 24 18:31:35 UTC 2018 - arun@gmx.de

View File

@ -16,32 +16,29 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%if 0%{?suse_version} != 1315 %if 0%{?suse_version} != 1315
%bcond_without latex %bcond_without latex
%else %else
%bcond_with latex %bcond_with latex
%endif %endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Sphinx-doc Name: python-Sphinx-doc
Version: 1.6.5 Version: 1.7.4
Release: 0 Release: 0
Url: http://sphinx-doc.org
Summary: Documentation for python-Sphinx Summary: Documentation for python-Sphinx
License: BSD-2-Clause License: BSD-2-Clause
Group: Documentation/Other Group: Documentation/Other
URL: http://sphinx-doc.org
Source: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
Patch1: disable-test.patch Patch1: disable-test.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-Sphinx BuildRequires: python3-Sphinx
Recommends: %{name}-html = %{version}
BuildArch: noarch
%if %{with latex} %if %{with latex}
BuildRequires: python3-Sphinx-latex BuildRequires: python3-Sphinx-latex
%endif %endif
BuildRequires: python-rpm-macros
Recommends: %{name}-html = %{version}
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -106,8 +103,8 @@ Sphinx executables.
mkdir build.doc mkdir build.doc
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%__python3 setup.py build_sphinx -b man python3 setup.py build_sphinx -b man
mv build/sphinx/{html,man} build.doc/ mv build/sphinx/{html,man} build.doc/
@ -128,29 +125,29 @@ mv build.doc/man/sphinx-quickstart.1 %{buildroot}%{_mandir}/man1/sphinx-quicksta
%python_clone %{buildroot}%{_mandir}/man1/sphinx-quickstart.1 %python_clone %{buildroot}%{_mandir}/man1/sphinx-quickstart.1
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE
%doc AUTHORS LICENSE EXAMPLES %doc AUTHORS EXAMPLES
%files %{python_files man} %files %{python_files man}
%defattr(-,root,root,-) %license LICENSE
%doc AUTHORS LICENSE %doc AUTHORS
%{_mandir}/man1/sphinx-all-%{python_bin_suffix}.1%ext_man %{_mandir}/man1/sphinx-all-%{python_bin_suffix}.1%{?ext_man}
%{_mandir}/man1/sphinx-apidoc-%{python_bin_suffix}.1%ext_man %{_mandir}/man1/sphinx-apidoc-%{python_bin_suffix}.1%{?ext_man}
%{_mandir}/man1/sphinx-build-%{python_bin_suffix}.1%ext_man %{_mandir}/man1/sphinx-build-%{python_bin_suffix}.1%{?ext_man}
%{_mandir}/man1/sphinx-quickstart-%{python_bin_suffix}.1%ext_man %{_mandir}/man1/sphinx-quickstart-%{python_bin_suffix}.1%{?ext_man}
%files -n %{name}-html %files -n %{name}-html
%defattr(-,root,root,-) %license LICENSE
%doc AUTHORS LICENSE %doc AUTHORS
%dir %{_docdir}/python-Sphinx/ %dir %{_docdir}/python-Sphinx/
%{_docdir}/python-Sphinx/html/ %{_docdir}/python-Sphinx/html/
%files -n %{name}-man-common %files -n %{name}-man-common
%defattr(-,root,root,-) %license LICENSE
%doc AUTHORS LICENSE %doc AUTHORS
%{_mandir}/man1/sphinx-all.1%ext_man %{_mandir}/man1/sphinx-all.1%{?ext_man}
%{_mandir}/man1/sphinx-apidoc.1%ext_man %{_mandir}/man1/sphinx-apidoc.1%{?ext_man}
%{_mandir}/man1/sphinx-build.1%ext_man %{_mandir}/man1/sphinx-build.1%{?ext_man}
%{_mandir}/man1/sphinx-quickstart.1%ext_man %{_mandir}/man1/sphinx-quickstart.1%{?ext_man}
%changelog %changelog

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 23 12:14:49 UTC 2018 - mimi.vx@gmail.com
- update to 1.7.4
- very long list of changes - please see http://www.sphinx-doc.org/en/master/changes.html#release-1-7-4-released-apr-25-2018
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 8 10:22:47 UTC 2018 - aplanas@suse.com Thu Mar 8 10:22:47 UTC 2018 - aplanas@suse.com

View File

@ -16,28 +16,28 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
%if 0%{?suse_version} != 1315 %if 0%{?suse_version} != 1315
%bcond_without latex %bcond_without latex
%else %else
%bcond_with latex %bcond_with latex
%endif %endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-Sphinx Name: python-Sphinx
Version: 1.6.5 Version: 1.7.4
Release: 0 Release: 0
Url: http://sphinx-doc.org
Summary: Python documentation generator Summary: Python documentation generator
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://sphinx-doc.org
Source: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
Patch1: disable-test.patch Patch1: disable-test.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# workaround for suboptimal CentOS-7 project config
#!BuildIgnore: texinfo
Requires: python-Babel >= 1.3 Requires: python-Babel >= 1.3
Requires: python-Jinja2 >= 2.3 Requires: python-Jinja2 >= 2.3
Requires: python-Pygments >= 2.0 Requires: python-Pygments >= 2.0
@ -50,10 +50,13 @@ Requires: python-snowballstemmer >= 1.1
Requires: python-sphinx_rtd_theme Requires: python-sphinx_rtd_theme
Requires: python-sphinxcontrib Requires: python-sphinxcontrib
Requires: python-sphinxcontrib-websupport Requires: python-sphinxcontrib-websupport
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
Recommends: %{name}-doc-man
Recommends: python-SQLAlchemy >= 0.9 Recommends: python-SQLAlchemy >= 0.9
Recommends: python-Whoosh >= 2.0 Recommends: python-Whoosh >= 2.0
Recommends: %{name}-doc-man
%endif %endif
%ifpython2 %ifpython2
Requires: python-enum34 Requires: python-enum34
@ -64,21 +67,13 @@ Requires: python-typing
Requires: python-typing Requires: python-typing
%endif %endif
%endif %endif
Requires(post): update-alternatives
Requires(postun): update-alternatives
%if 0%{?suse_version} %if 0%{?suse_version}
Recommends: python-rst2pdf Recommends: python-rst2pdf
%endif %endif
# workaround for suboptimal CentOS-7 project config
#!BuildIgnore: texinfo
%ifpython2 %ifpython2
Obsoletes: %{oldpython}-sphinx < %{version} Obsoletes: %{oldpython}-sphinx < %{version}
Provides: %{oldpython}-sphinx = %{version} Provides: %{oldpython}-sphinx = %{version}
%endif %endif
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -193,8 +188,8 @@ sed -i 's/\r$//' sphinx/themes/basic/static/jquery.js # Fix wrong end-of-line en
%python_uninstall_alternative sphinx-apidoc %python_uninstall_alternative sphinx-apidoc
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE
%doc AUTHORS CHANGES LICENSE README.rst %doc AUTHORS CHANGES README.rst
%python_alternative %{_bindir}/sphinx-apidoc %python_alternative %{_bindir}/sphinx-apidoc
%python_alternative %{_bindir}/sphinx-autogen %python_alternative %{_bindir}/sphinx-autogen
%python_alternative %{_bindir}/sphinx-build %python_alternative %{_bindir}/sphinx-build
@ -208,8 +203,8 @@ sed -i 's/\r$//' sphinx/themes/basic/static/jquery.js # Fix wrong end-of-line en
# Requirements are not available on SLES # Requirements are not available on SLES
%if %{with latex} %if %{with latex}
%files %{python_files latex} %files %{python_files latex}
%defattr(-,root,root,-) %license LICENSE
%doc AUTHORS LICENSE %doc AUTHORS
%{python_sitelib}/sphinx/texinputs/ %{python_sitelib}/sphinx/texinputs/
%endif %endif