Accepting request 314396 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/314396 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Sphinx?expand=0&rev=30
This commit is contained in:
commit
0d7a980e00
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:94933b64e2fe0807da0612c574a021c0dac28c7bd3c4a23723ae5a39ea8f3d04
|
|
||||||
size 3200548
|
|
3
Sphinx-1.3.1.tar.gz
Normal file
3
Sphinx-1.3.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1a6e5130c2b42d2de301693c299f78cc4bd3501e78b610c08e45efc70e2b5114
|
||||||
|
size 3469782
|
@ -1,3 +1,186 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 29 14:07:26 UTC 2015 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Fix directory for man update-alternatives
|
||||||
|
- Suggests are poorly-supported in openSUSE so use Recommends
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 13 17:17:57 UTC 2015 - alarrosa@suse.com
|
||||||
|
|
||||||
|
- Added python-six as a requirement, not only as build requirement
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 9 02:29:40 UTC 2015 - termim@gmail.com
|
||||||
|
|
||||||
|
- Update to 1.3.1
|
||||||
|
+ Bugs fixed
|
||||||
|
* see http://sphinx-doc.org/changes.html#release-1-3-1-released-mar-17-2015
|
||||||
|
for complete list of fixed bugs
|
||||||
|
|
||||||
|
- additional dependencies required by 1.3.1
|
||||||
|
+ python-Babel
|
||||||
|
+ python-alabaster
|
||||||
|
+ python-snowballstemmer
|
||||||
|
+ python-sphinx_rtdtheme
|
||||||
|
+ python-mock
|
||||||
|
+ python-six
|
||||||
|
|
||||||
|
- Update to 1.3
|
||||||
|
+ Incompatible changes
|
||||||
|
* Roles ref, term and menusel now don’t generate emphasis nodes
|
||||||
|
anymore. If you want to keep italic style, adapt your stylesheet.
|
||||||
|
* Role numref uses %s as special character to indicate position of
|
||||||
|
figure numbers instead # symbol.
|
||||||
|
* Dependency requirement updates: docutils 0.11, Pygments 2.0
|
||||||
|
* The gettext_enables config value has been renamed to
|
||||||
|
gettext_additional_targets.
|
||||||
|
* #1735: Use https://doc.python.org/ instead of http protocol. It was
|
||||||
|
used for sphinx.ext.intersphinx and some documentation.
|
||||||
|
* update bundled ez_setup.py for setuptools-7.0 that requires Python
|
||||||
|
2.6 or later.
|
||||||
|
* Dropped support for Python 2.5, 3.1 and 3.2.
|
||||||
|
* Dropped support for docutils versions up to 0.9.
|
||||||
|
* Removed the sphinx.ext.oldcmarkup extension.
|
||||||
|
* The deprecated config values exclude_trees, exclude_dirnames and
|
||||||
|
unused_docs have been removed.
|
||||||
|
* A new node, sphinx.addnodes.literal_strong, has been added, for text
|
||||||
|
that should appear literally (i.e. no smart quotes) in strong
|
||||||
|
font. Custom writers will have to be adapted to handle this node.
|
||||||
|
* PR#269, #1476: replace <tt> tag by <code>. User customized
|
||||||
|
stylesheets should be updated If the css contain some styles for tt>
|
||||||
|
tag. Thanks to Takeshi Komiya.
|
||||||
|
* #1543: templates_path is automatically added to exclude_patterns to
|
||||||
|
avoid reading autosummary rst templates in the templates directory.
|
||||||
|
* Custom domains should implement the new Domain.resolve_any_xref
|
||||||
|
method to make the any role work properly.
|
||||||
|
* gettext builder: gettext doesn’t emit uuid information to generated
|
||||||
|
pot files by default. Please set True to gettext_uuid to emit uuid
|
||||||
|
information. Additionally, if the python-levenshtein 3rd-party package is
|
||||||
|
installed, it will improve the calculation time.
|
||||||
|
* gettext builder: disable extracting/apply ‘index’ node by
|
||||||
|
default. Please set ‘index’ to gettext_enables to enable extracting index
|
||||||
|
entries.
|
||||||
|
* PR#307: Add frame to code-block in LaTeX. Thanks to Takeshi Komiya.
|
||||||
|
+ Features added
|
||||||
|
* Add convenience directives and roles to the C++ domain: directive
|
||||||
|
cpp:var as alias for cpp:member, role :cpp:var as alias for :cpp:member,
|
||||||
|
and role any for cross-reference to any C++ declaraction. #1577, #1744
|
||||||
|
* The source_suffix config value can now be a list of multiple suffixes.
|
||||||
|
* Add the ability to specify source parsers by source suffix with the
|
||||||
|
source_parsers config value.
|
||||||
|
* #1675: A new builder, AppleHelpBuilder, has been added that builds
|
||||||
|
Apple Help Books.
|
||||||
|
* #1346: Add new default theme;
|
||||||
|
Add ‘alabaster’ theme.
|
||||||
|
Add ‘sphinx_rtd_theme’ theme.
|
||||||
|
The ‘default’ html theme has been renamed to ‘classic’. ‘default’
|
||||||
|
is still available, however it will emit notice a recommendation that
|
||||||
|
using new ‘alabaster’ theme.
|
||||||
|
* Added highlight_options configuration value.
|
||||||
|
* The language config value is now available in the HTML templates.
|
||||||
|
* The env-updated event can now return a value, which is interpreted as
|
||||||
|
an iterable of additional docnames that need to be rewritten.
|
||||||
|
* #772: Support for scoped and unscoped enums in C++. Enumerators in
|
||||||
|
unscoped enums are injected into the parent scope in addition to the enum
|
||||||
|
scope.
|
||||||
|
* Add todo_include_todos config option to quickstart conf file, handled
|
||||||
|
as described in documentation.
|
||||||
|
* HTML breadcrumb items tag has class “nav-item” and “nav-item-N” (like
|
||||||
|
nav-item-0, 1, 2...).
|
||||||
|
* New option sphinx-quickstart --use-make-mode for generating Makefile
|
||||||
|
that use sphinx-build make-mode.
|
||||||
|
* #1235: i18n: several node can be translated if it is set to
|
||||||
|
gettext_additional_targets in conf.py. Supported nodes are:
|
||||||
|
‘literal-block’
|
||||||
|
‘doctest-block’
|
||||||
|
‘raw’
|
||||||
|
‘image’
|
||||||
|
* #1227: Add html_scaled_image_link config option to conf.py, to
|
||||||
|
control scaled image link.
|
||||||
|
* #1597: Added possibility to return a new template name from
|
||||||
|
html-page-context.
|
||||||
|
* PR#314, #1150: Configuration values are now checked for their type. A
|
||||||
|
warning is raised if the configured and the default value do not have the
|
||||||
|
same type and do not share a common non-trivial base class.
|
||||||
|
* Add support for Python 3.4.
|
||||||
|
* Add support for docutils 0.12
|
||||||
|
* Added sphinx.ext.napoleon extension for NumPy and Google style
|
||||||
|
docstring support.
|
||||||
|
* Added support for parallel reading (parsing) of source files with the
|
||||||
|
sphinx-build -j option. Third-party extensions will need to be checked
|
||||||
|
for compatibility and may need to be adapted if they store information in
|
||||||
|
the build environment object. See env-merge-info.
|
||||||
|
* Added the any role that can be used to find a cross-reference of any
|
||||||
|
type in any domain. Custom domains should implement the new
|
||||||
|
Domain.resolve_any_xref method to make this work properly.
|
||||||
|
* Exception logs now contain the last 10 messages emitted by Sphinx.
|
||||||
|
* Added support for extension versions (a string returned by setup(),
|
||||||
|
these can be shown in the traceback log files). Version requirements for
|
||||||
|
extensions can be specified in projects using the new needs_extensions
|
||||||
|
config value.
|
||||||
|
* Changing the default role within a document with the default-role
|
||||||
|
directive is now supported.
|
||||||
|
* PR#214: Added stemming support for 14 languages, so that the built-in
|
||||||
|
document search can now handle these. Thanks to Shibukawa Yoshiki.
|
||||||
|
* PR#296, PR#303, #76: numfig feature: Assign numbers to figures,
|
||||||
|
tables and code-blocks. This feature is configured with numfig,
|
||||||
|
numfig_secnum_depth and numfig_format. Also numref role is
|
||||||
|
available. Thanks to Takeshi Komiya.
|
||||||
|
* PR#202: Allow ”.” and “~” prefixed references in :param: doc fields
|
||||||
|
for Python.
|
||||||
|
* PR#184: Add autodoc_mock_imports, allowing to mock imports of
|
||||||
|
external modules that need not be present when autodocumenting.
|
||||||
|
* #925: Allow list-typed config values to be provided on the command
|
||||||
|
line, like -D key=val1,val2.
|
||||||
|
* #668: Allow line numbering of code-block and literalinclude
|
||||||
|
directives to start at an arbitrary line number, with a new lineno-start
|
||||||
|
option.
|
||||||
|
* PR#172, PR#266: The code-block and literalinclude directives now can
|
||||||
|
have a caption option that shows a filename before the code in the
|
||||||
|
output. Thanks to Nasimul Haque, Takeshi Komiya.
|
||||||
|
* Prompt for the document language in sphinx-quickstart.
|
||||||
|
* PR#217: Added config values to suppress UUID and location information
|
||||||
|
in generated gettext catalogs.
|
||||||
|
* PR#236, #1456: apidoc: Add a -M option to put module documentation
|
||||||
|
before submodule documentation. Thanks to Wes Turner and Luc Saffre.
|
||||||
|
* #1434: Provide non-minified JS files for jquery.js and underscore.js
|
||||||
|
to clarify the source of the minified files.
|
||||||
|
* PR#252, #1291: Windows color console support. Thanks to meu31.
|
||||||
|
* PR#255: When generating latex references, also insert latex
|
||||||
|
target/anchor for the ids defined on the node. Thanks to Olivier
|
||||||
|
Heurtier.
|
||||||
|
* PR#229: Allow registration of other translators. Thanks to Russell
|
||||||
|
Sim.
|
||||||
|
* Add app.set_translator() API to register or override a Docutils
|
||||||
|
translator class like html_translator_class.
|
||||||
|
* PR#267, #1134: add ‘diff’ parameter to literalinclude. Thanks to
|
||||||
|
Richard Wall and WAKAYAMA shirou.
|
||||||
|
* PR#272: Added ‘bizstyle’ theme. Thanks to Shoji KUMAGAI.
|
||||||
|
* Automatically compile *.mo files from *.po files when
|
||||||
|
gettext_auto_build is True (default) and *.po is newer than *.mo file.
|
||||||
|
* #623: sphinx.ext.viewcode supports imported function/class aliases.
|
||||||
|
* PR#275: sphinx.ext.intersphinx supports multiple target for the
|
||||||
|
inventory. Thanks to Brigitta Sipocz.
|
||||||
|
* PR#261: Added the env-before-read-docs event that can be connected to
|
||||||
|
modify the order of documents before they are read by the environment.
|
||||||
|
* #1284: Program options documented with option can now start with +.
|
||||||
|
* PR#291: The caption of code-block is recognised as a title of ref
|
||||||
|
target. Thanks to Takeshi Komiya.
|
||||||
|
* PR#298: Add new API: add_latex_package(). Thanks to Takeshi Komiya.
|
||||||
|
* #1344: add gettext_enables to enable extracting ‘index’ to gettext
|
||||||
|
catalog output / applying translation catalog to generated
|
||||||
|
documentation.
|
||||||
|
* PR#301, #1583: Allow the line numbering of the directive
|
||||||
|
literalinclude to match that of the included file, using a new
|
||||||
|
lineno-match option. Thanks to Jeppe Pihl.
|
||||||
|
* PR#299: add various options to sphinx-quickstart. Quiet mode option
|
||||||
|
--quiet will skips wizard mode. Thanks to WAKAYAMA shirou.
|
||||||
|
* #1623: Return types specified with :rtype: are now turned into links
|
||||||
|
if possible.
|
||||||
|
+ Bugs fixed
|
||||||
|
* see http://sphinx-doc.org/changes.html#release-1-3-released-mar-10-2015
|
||||||
|
for complete list of fixed bugs
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 9 16:14:01 UTC 2014 - toddrme2178@gmail.com
|
Tue Sep 9 16:14:01 UTC 2014 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Sphinx
|
# spec file for package python-Sphinx
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-Sphinx
|
Name: python-Sphinx
|
||||||
Version: 1.2.3
|
Version: 1.3.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://sphinx.pocoo.org
|
Url: http://sphinx.pocoo.org
|
||||||
Summary: Python documentation generator
|
Summary: Python documentation generator
|
||||||
@ -28,17 +28,28 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
# Documentation requirements:
|
# Documentation requirements:
|
||||||
|
BuildRequires: python-Babel
|
||||||
BuildRequires: python-Jinja2 >= 2.3
|
BuildRequires: python-Jinja2 >= 2.3
|
||||||
|
BuildRequires: python-alabaster
|
||||||
BuildRequires: python-docutils >= 0.7
|
BuildRequires: python-docutils >= 0.7
|
||||||
|
BuildRequires: python-mock
|
||||||
|
BuildRequires: python-six
|
||||||
|
BuildRequires: python-snowballstemmer
|
||||||
|
BuildRequires: python-sphinx_rtd_theme
|
||||||
# Testsuite requirements:
|
# Testsuite requirements:
|
||||||
BuildRequires: python-Pygments >= 1.2
|
BuildRequires: python-Pygments >= 1.2
|
||||||
BuildRequires: python-nose
|
BuildRequires: python-nose
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
|
Requires: python-Babel
|
||||||
Requires: python-Jinja2 >= 2.3
|
Requires: python-Jinja2 >= 2.3
|
||||||
Requires: python-Pygments >= 1.2
|
Requires: python-Pygments >= 2.0
|
||||||
Requires: python-docutils >= 0.7
|
Requires: python-alabaster
|
||||||
Suggests: python-rst2pdf
|
Requires: python-docutils >= 0.11
|
||||||
|
Requires: python-six
|
||||||
|
Requires: python-snowballstemmer
|
||||||
|
Requires: python-sphinx_rtd_theme
|
||||||
|
Recommends: python-rst2pdf
|
||||||
Provides: python-sphinx = %{version}
|
Provides: python-sphinx = %{version}
|
||||||
Obsoletes: python-sphinx < %{version}
|
Obsoletes: python-sphinx < %{version}
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
@ -114,10 +125,10 @@ update-alternatives \
|
|||||||
--slave %{_bindir}/sphinx-build sphinx-build %{_bindir}/sphinx-build-%{py_ver} \
|
--slave %{_bindir}/sphinx-build sphinx-build %{_bindir}/sphinx-build-%{py_ver} \
|
||||||
--slave %{_bindir}/sphinx-autogen sphinx-autogen %{_bindir}/sphinx-autogen-%{py_ver} \
|
--slave %{_bindir}/sphinx-autogen sphinx-autogen %{_bindir}/sphinx-autogen-%{py_ver} \
|
||||||
--slave %{_bindir}/sphinx-quickstart sphinx-quickstart %{_bindir}/sphinx-quickstart-%{py_ver} \
|
--slave %{_bindir}/sphinx-quickstart sphinx-quickstart %{_bindir}/sphinx-quickstart-%{py_ver} \
|
||||||
--slave %{_mandir}/man1/sphinx-all.1.gz sphinx-all.1 %{_mandir}/sphinx-all-%{py_ver}.1.gz \
|
--slave %{_mandir}/man1/sphinx-all.1.gz sphinx-all.1 %{_mandir}/man1/sphinx-all-%{py_ver}.1.gz \
|
||||||
--slave %{_mandir}/man1/sphinx-apidoc.1.gz sphinx-apidoc.1 %{_mandir}/sphinx-apidoc-%{py_ver}.1.gz \
|
--slave %{_mandir}/man1/sphinx-apidoc.1.gz sphinx-apidoc.1 %{_mandir}/man1/sphinx-apidoc-%{py_ver}.1.gz \
|
||||||
--slave %{_mandir}/man1/sphinx-build.1.gz sphinx-build.1 %{_mandir}/sphinx-build-%{py_ver}.1.gz \
|
--slave %{_mandir}/man1/sphinx-build.1.gz sphinx-build.1 %{_mandir}/man1/sphinx-build-%{py_ver}.1.gz \
|
||||||
--slave %{_mandir}/man1/sphinx-quickstart.1.gz sphinx-quickstart.1 %{_mandir}/sphinx-quickstart-%{py_ver}.1.gz \
|
--slave %{_mandir}/man1/sphinx-quickstart.1.gz sphinx-quickstart.1 %{_mandir}/man1/sphinx-quickstart-%{py_ver}.1.gz \
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ $1 -eq 0 ] ; then
|
if [ $1 -eq 0 ] ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user