forked from pool/python-Sphinx
- Updateo version 1.2b3:
+ The Sphinx error log files will now include a list of the loaded extensions
for help in debugging.
+ PR#154: Remove "sphinx" prefix from LaTeX class name except 'sphinxmanual'
and 'sphinxhowto'. Now you can use your custom document class without
'sphinx' prefix. Thanks to Erik B.
+ #1265: Fix i18n: crash when translating a section name that is pointed to from
a named target.
+ A wrong condition broke the search feature on first page that is usually
index.rst. This issue was introduced in 1.2b1.
+ #703: When Sphinx can't decode filenames with non-ASCII characters, Sphinx now
catches UnicodeError and will continue if possible instead of raising the
exception.
- Changes from version 1.2b2 and prior:
+ See CHANGES file
- Own /etc/alternatives/sphinx-* by ghosting (update-alternatives)
* PR#40: Fix safe_repr function to decode bytestrings with non-ASCII
* PR#37: Allow configuring sphinx-apidoc via SPHINX_APIDOC_OPTIONS.
* #864: Fix crash with some settings of :confval:modindex_common_prefix.
* #862: Fix handling of -D and -A options on Python 3.
* #831: Provide --project flag in setup_command as advertised.
* #873: Fix assertion errors with empty only directives.
* #805: Make the Sphinx.add_index_to_domain method work correctly.
* #599: Import PIL as from PIL import Image.
* #571: Implement ~ cross-reference prefix for the C domain.
* Fix traceback with only directives preceded by targets.
* Fix JavaScript domain links to objects with $ in their name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=41
This commit is contained in:
committed by
Git OBS Bridge
parent
2f717976c9
commit
5f35dda70d
@@ -17,28 +17,27 @@
|
||||
|
||||
|
||||
Name: python-Sphinx
|
||||
Version: 1.1.3
|
||||
Version: 1.2b3
|
||||
Release: 0
|
||||
Url: http://sphinx.pocoo.org
|
||||
Summary: Python documentation generator
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
|
||||
Patch0: sphinx-docutils-0.10.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
# Documentation requirements:
|
||||
BuildRequires: python-Jinja2
|
||||
BuildRequires: python-docutils
|
||||
BuildRequires: python-Jinja2 >= 2.3
|
||||
BuildRequires: python-docutils >= 0.7
|
||||
# Testsuite requirements:
|
||||
BuildRequires: python-Pygments
|
||||
BuildRequires: python-Pygments >= 1.2
|
||||
BuildRequires: python-nose
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires: python-Jinja2
|
||||
Requires: python-Pygments
|
||||
Requires: python-docutils
|
||||
Requires: python-Jinja2 >= 2.3
|
||||
Requires: python-Pygments >= 1.2
|
||||
Requires: python-docutils >= 0.7
|
||||
Suggests: python-rst2pdf
|
||||
Provides: python-sphinx = %{version}
|
||||
Obsoletes: python-sphinx < %{version}
|
||||
@@ -79,7 +78,6 @@ and translating suite, the Docutils.
|
||||
|
||||
%prep
|
||||
%setup -q -n Sphinx-%{version}
|
||||
%patch0 -p1
|
||||
sed -i '/#\!/d' sphinx/pycode/pgen2/token.py # Fix non-excutable-script warning
|
||||
# Add Interpreter version suffix to entrypoints (and thus /usr/bin binaries) to
|
||||
# allow for update-alternatives later on:
|
||||
@@ -103,7 +101,7 @@ done
|
||||
%find_lang sphinx
|
||||
|
||||
%check
|
||||
nosetests
|
||||
PYTHONPATH=$PWD make test
|
||||
|
||||
%pre
|
||||
# Since /usr/bin/sphinx-* became ghosted to be used with update-alternatives, we have
|
||||
@@ -136,22 +134,30 @@ fi
|
||||
|
||||
%files -f sphinx.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS CHANGES LICENSE README
|
||||
%ghost %attr(0755,root,root) %{_bindir}/sphinx-apidoc
|
||||
%doc AUTHORS CHANGES LICENSE README.rst
|
||||
%ghost %{_bindir}/sphinx-apidoc
|
||||
%ghost %{_sysconfdir}/alternatives/sphinx-apidoc
|
||||
%{_bindir}/sphinx-apidoc-%{py_ver}
|
||||
%ghost %attr(0755,root,root) %{_bindir}/sphinx-autogen
|
||||
%ghost %{_bindir}/sphinx-autogen
|
||||
%ghost %{_sysconfdir}/alternatives/sphinx-autogen
|
||||
%{_bindir}/sphinx-autogen-%{py_ver}
|
||||
%ghost %attr(0755,root,root) %{_bindir}/sphinx-build
|
||||
%ghost %{_bindir}/sphinx-build
|
||||
%ghost %{_sysconfdir}/alternatives/sphinx-build
|
||||
%{_bindir}/sphinx-build-%{py_ver}
|
||||
%ghost %attr(0755,root,root) %{_bindir}/sphinx-quickstart
|
||||
%ghost %{_bindir}/sphinx-quickstart
|
||||
%ghost %{_sysconfdir}/alternatives/sphinx-quickstart
|
||||
%{_bindir}/sphinx-quickstart-%{py_ver}
|
||||
%ghost %{_mandir}/man1/sphinx-all.1.gz
|
||||
%ghost %{_sysconfdir}/alternatives/sphinx-all.1.gz
|
||||
%{_mandir}/man1/sphinx-all-%{py_ver}.1.gz
|
||||
%ghost %{_mandir}/man1/sphinx-apidoc.1.gz
|
||||
%ghost %{_sysconfdir}/alternatives/sphinx-apidoc.1.gz
|
||||
%{_mandir}/man1/sphinx-apidoc-%{py_ver}.1.gz
|
||||
%ghost %{_mandir}/man1/sphinx-build.1.gz
|
||||
%ghost %{_sysconfdir}/alternatives/sphinx-build.1.gz
|
||||
%{_mandir}/man1/sphinx-build-%{py_ver}.1.gz
|
||||
%ghost %{_mandir}/man1/sphinx-quickstart.1.gz
|
||||
%ghost %{_sysconfdir}/alternatives/sphinx-quickstart.1.gz
|
||||
%{_mandir}/man1/sphinx-quickstart-%{py_ver}.1.gz
|
||||
%{python_sitelib}/sphinx/
|
||||
%{python_sitelib}/Sphinx-%{version}-py%{py_ver}.egg-info
|
||||
|
||||
Reference in New Issue
Block a user