Compare commits
196 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a9da38dc47 | ||
|
|
2fbf62bfba | ||
|
|
a0cc515b74 | ||
|
|
0b87836124 | ||
|
|
be9e7b1508 | ||
|
|
81f3c96c10 | ||
|
|
055cf1292a | ||
|
|
b0978bafd9 | ||
|
|
ca6027ecf0 | ||
|
|
7dfe865724 | ||
|
|
644aef964c | ||
|
|
2e80cab0b5 | ||
|
|
8aeee581aa | ||
|
|
9dc09b9e79 | ||
|
|
f0f09a5087 | ||
|
|
cc7f8dfbf3 | ||
|
|
924f1b1e38 | ||
|
|
0453f9e3b7 | ||
|
|
eb75429039 | ||
|
|
d76c73ce9e | ||
|
|
04e7c13b7b | ||
|
|
1376b3f859 | ||
|
|
25af7978b4 | ||
|
|
2fb9084204 | ||
|
|
12770577f7 | ||
|
|
4459819cfc | ||
|
|
5c12b53641 | ||
|
|
f7572144d2 | ||
|
|
4500554943 | ||
|
|
82817e3a80 | ||
|
|
daad1311b1 | ||
|
|
67bdc19f10 | ||
|
|
bcde98f61b | ||
|
|
9e608a0fa5 | ||
|
|
976a71363d | ||
|
|
5bf9c06479 | ||
|
|
884ff2afc1 | ||
|
|
1d11fd11e2 | ||
|
|
39005de2f4 | ||
|
|
686ccb777b | ||
|
|
e4c8578188 | ||
|
|
95033b7db0 | ||
|
|
1a1e29e5a8 | ||
|
|
19463ebbdd | ||
|
|
23b5cdf21e | ||
|
|
7afb2d61aa | ||
|
|
d237e99bb9 | ||
|
|
bf5a2d48d8 | ||
|
|
63a8f7aefb | ||
|
|
153c8a4054 | ||
|
|
3a5b12f688 | ||
|
|
fea4d52ef1 | ||
|
|
a42c28ce7c | ||
|
|
92839f3f56 | ||
|
|
a06c535b39 | ||
|
|
8c43a53ed7 | ||
|
|
e85e617e78 | ||
|
|
90754897ab | ||
|
|
dbb50a5e0f | ||
|
|
833015ffe7 | ||
|
|
7cdc32e4ae | ||
|
|
d1c43fc658 | ||
|
|
016c639951 | ||
|
|
bd7e5f534f | ||
|
|
d38712d2c8 | ||
|
|
de4211c65d | ||
|
|
26b3d1a440 | ||
|
|
644e00c17b | ||
|
|
9622ed923e | ||
|
|
10b412f00c | ||
|
|
88b03eafc5 | ||
|
|
334b5cd671 | ||
|
|
6a162ce61a | ||
|
|
80327ebb05 | ||
|
|
b037848b60 | ||
|
|
46248b49f8 | ||
|
|
6947effe2b | ||
|
|
74c8514689 | ||
|
|
da1eff5e26 | ||
|
|
baac7bad24 | ||
|
|
9e75ecd41f | ||
|
|
61f25030e6 | ||
|
|
3d9a6101c9 | ||
|
|
8e40c34f4a | ||
|
|
ad1161d6bc | ||
|
|
e5eb957b03 | ||
|
|
fa7fa5e015 | ||
|
|
e75c1dcce9 | ||
|
|
bf86b0e51b | ||
|
|
3a77d8ce47 | ||
|
|
ce8ab307f4 | ||
|
|
6fe65c3b4d | ||
|
|
43596e5731 | ||
|
|
ffb77c7ed3 | ||
|
|
f73229b3b1 | ||
|
|
b5d98f0f4d | ||
|
|
145cab2c32 | ||
|
|
5bf198167c | ||
|
|
9ea173bb1e | ||
|
|
ea98c3de4b | ||
|
|
74b3a560b8 | ||
|
|
baaecbbb4a | ||
|
|
fa7e4f510b | ||
|
|
4944f766cd | ||
|
|
1a1466a96e | ||
|
|
2f352b47f7 | ||
|
|
93a4ba510a | ||
|
|
79d38f37ff | ||
|
|
b6f4a595f7 | ||
|
|
cc11c8ff89 | ||
|
|
c729227123 | ||
|
|
68944a5bb0 | ||
|
|
ad8724f17a | ||
|
|
e07792c3a5 | ||
|
|
b45a413e6d | ||
|
|
3b323a1e79 | ||
|
|
80e09a56e7 | ||
|
|
82066edb54 | ||
|
|
9c436a4b96 | ||
|
|
a2c5476ecc | ||
|
|
6b1fa7ad66 | ||
|
|
0ce41f300c | ||
|
|
bef3af321e | ||
|
|
f9d75a3763 | ||
|
|
16a3f9244e | ||
|
|
c7b0a2a350 | ||
|
|
a451501ba7 | ||
|
|
bc5504a567 | ||
|
|
6e19bc6384 | ||
|
|
73971d1e98 | ||
|
|
1e96511926 | ||
|
|
e24435f061 | ||
|
|
09de9d1710 | ||
|
|
a967b5849d | ||
|
|
791e01fe59 | ||
|
|
731cbeb29c | ||
|
|
ffb1bcc3eb | ||
|
|
be9c7819b5 | ||
|
|
03e2822f6a | ||
|
|
d550a9e41a | ||
|
|
466a673d10 | ||
|
|
82623cae02 | ||
|
|
59016161fc | ||
|
|
d1ad3f6769 | ||
|
|
b89e221d55 | ||
|
|
05583324a9 | ||
|
|
a5f5cdf496 | ||
|
|
8fa1fa5fca | ||
|
|
3fae921c8f | ||
|
|
1f7abf830e | ||
|
|
5c3682d94b | ||
|
|
0391881889 | ||
|
|
90515d9f9d | ||
|
|
98372232f5 | ||
|
|
b116da03e7 | ||
|
|
949853df27 | ||
|
|
3b05e7e3e8 | ||
|
|
b4171b5eab | ||
|
|
6c82a1545f | ||
|
|
a395fb6e81 | ||
|
|
6f5543e14a | ||
|
|
bb7f33ebc7 | ||
|
|
1d3a0101f8 | ||
|
|
40949725d6 | ||
|
|
7f502fb34d | ||
|
|
f55dc614d6 | ||
|
|
b1c0c82b46 | ||
|
|
e0af5ebac0 | ||
|
|
f9ba5a714c | ||
|
|
ff20a4d877 | ||
|
|
f0ffbd5999 | ||
|
|
0f518b7f08 | ||
|
|
77fdd8d536 | ||
|
|
9194318671 | ||
|
|
12a32ebd2e | ||
|
|
dd5bd655af | ||
|
|
7dd2f9eb6a | ||
|
|
140b900b5c | ||
|
|
e361c26ece | ||
|
|
eb8d9046b7 | ||
|
|
a8d02c7d84 | ||
|
|
80ae6c20e9 | ||
|
|
194520652e | ||
|
|
e2484de735 | ||
|
|
31070382c6 | ||
|
|
746537fbfa | ||
|
|
0852abb4bd | ||
|
|
807d85b48f | ||
|
|
29e36a1060 | ||
|
|
7382e0c9a1 | ||
|
|
35a7eb1264 | ||
|
|
bf53c8fbc1 | ||
|
|
39a4bdc0cc | ||
|
|
d8df43cb77 | ||
|
|
6deaeb9424 | ||
|
|
6e4984ec59 |
41
.gitignore
vendored
41
.gitignore
vendored
@@ -1 +1,40 @@
|
||||
Sphinx-0.5.1.tar.gz
|
||||
/Sphinx-1.2.3.tar.gz
|
||||
/Sphinx-1.3.1.tar.gz
|
||||
/Sphinx-1.4.4.tar.gz
|
||||
/Sphinx-1.4.5.tar.gz
|
||||
/Sphinx-1.4.6.tar.gz
|
||||
/Sphinx-1.4.8.tar.gz
|
||||
/Sphinx-1.4.9.tar.gz
|
||||
/Sphinx-1.5.1.tar.gz
|
||||
/Sphinx-1.5.2.tar.gz
|
||||
/Sphinx-1.6.3.tar.gz
|
||||
/Sphinx-1.6.4.tar.gz
|
||||
/Sphinx-1.6.5.tar.gz
|
||||
/Sphinx-1.6.6.tar.gz
|
||||
/Sphinx-1.7.1.tar.gz
|
||||
/Sphinx-1.7.2.tar.gz
|
||||
/Sphinx-1.7.5.tar.gz
|
||||
/Sphinx-1.7.6.tar.gz
|
||||
/Sphinx-1.8.4.tar.gz
|
||||
/Sphinx-2.0.0b1.tar.gz
|
||||
/Sphinx-2.0.0b2.tar.gz
|
||||
/Sphinx-2.0.1.tar.gz
|
||||
/Sphinx-2.1.2.tar.gz
|
||||
/Sphinx-2.2.0.tar.gz
|
||||
/Sphinx-2.2.2.tar.gz
|
||||
/Sphinx-3.1.1.tar.gz
|
||||
/Sphinx-3.1.2.tar.gz
|
||||
/Sphinx-3.2.1.tar.gz
|
||||
/Sphinx-3.3.1.tar.gz
|
||||
/Sphinx-3.4.3.tar.gz
|
||||
/Sphinx-3.5.2.tar.gz
|
||||
/Sphinx-3.5.3.tar.gz
|
||||
/Sphinx-3.5.4.tar.gz
|
||||
/Sphinx-4.0.2.tar.gz
|
||||
/Sphinx-4.1.2.tar.gz
|
||||
/Sphinx-4.2.0.tar.gz
|
||||
/Sphinx-4.3.0.tar.gz
|
||||
/Sphinx-4.3.1.tar.gz
|
||||
/Sphinx-4.4.0.tar.gz
|
||||
/Sphinx-4.5.0.tar.gz
|
||||
/Sphinx-5.0.2.tar.gz
|
||||
|
||||
27
Fix-double-colons-with-docutils-0.18.patch
Normal file
27
Fix-double-colons-with-docutils-0.18.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
From 4b482334a28d0706ba4bd68d51be9c041c135798 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Jean-Fran=C3=A7ois=20B?=
|
||||
<2589111+jfbu@users.noreply.github.com>
|
||||
Date: Sat, 25 Jun 2022 21:10:34 +0200
|
||||
Subject: [PATCH] Fix duplicated field term colons for Docutils 0.18+ (#10595)
|
||||
|
||||
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
||||
---
|
||||
sphinx/themes/basic/static/basic.css_t | 2 ++
|
||||
2 files changed, 4 insertions(+)
|
||||
|
||||
diff --git a/sphinx/themes/basic/static/basic.css_t b/sphinx/themes/basic/static/basic.css_t
|
||||
index d8f3fe74626..47f802dc4e7 100644
|
||||
--- a/sphinx/themes/basic/static/basic.css_t
|
||||
+++ b/sphinx/themes/basic/static/basic.css_t
|
||||
@@ -686,9 +686,11 @@ dl.field-list > dt {
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
+{%- if docutils_version_info[:2] < (0, 18) %}
|
||||
dl.field-list > dt:after {
|
||||
content: ":";
|
||||
}
|
||||
+{% endif %}
|
||||
|
||||
dl.field-list > dd {
|
||||
padding-left: 0.5em;
|
||||
@@ -1,22 +1,114 @@
|
||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
|
||||
# When bootstrapping sphinx, we don't yet have sphinxcontrib-websupport
|
||||
# Without it we have warnings in docs, but it's not a hard dependency
|
||||
%bcond_without websupport
|
||||
# Also, we don't have all the tests requirements
|
||||
%bcond_without tests
|
||||
|
||||
%define upstream_name Sphinx
|
||||
# Unset -s on python shebang to allow RPM-installed sphinx to be used
|
||||
# with user-installed modules (#1903763)
|
||||
%global py3_shebang_flags %(echo %py3_shebang_flags | sed s/s//)
|
||||
|
||||
Name: python-sphinx
|
||||
Version: 0.5.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Python documentation generator
|
||||
# No internet in Koji
|
||||
%bcond_with internet
|
||||
|
||||
Group: Development/Tools
|
||||
License: BSD
|
||||
URL: http://sphinx.pocoo.org/
|
||||
Source0: http://pypi.python.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
%if 0%{?rhel} > 7
|
||||
# Build without BuildRequires ImageMagick, to skip imgconverter tests
|
||||
%bcond_with imagemagick_tests
|
||||
%else
|
||||
%bcond_without imagemagick_tests
|
||||
%endif
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-devel python-docutils python-jinja python-setuptools
|
||||
Requires: python-docutils python-jinja python-pygments
|
||||
# During texlive updates, sometimes the latex environment is unstable
|
||||
%bcond_without latex_tests
|
||||
|
||||
%global upstream_name Sphinx
|
||||
|
||||
Name: python-sphinx
|
||||
%global general_version 5.0.2
|
||||
#global prerel ...
|
||||
%global upstream_version %{general_version}%{?prerel}
|
||||
Version: %{general_version}%{?prerel:~%{prerel}}
|
||||
Release: 3%{?dist}
|
||||
Epoch: 1
|
||||
Summary: Python documentation generator
|
||||
|
||||
# Unless otherwise noted, the license for code is BSD
|
||||
# sphinx/util/inspect.py has bits licensed with PSF license v2 (Python)
|
||||
# sphinx/themes/haiku/static/haiku.css_t has bits licensed with MIT
|
||||
# JS: JQuery, Underscore, css3-mediaqueries are available under MIT
|
||||
License: BSD and Python and MIT
|
||||
|
||||
URL: https://www.sphinx-doc.org/
|
||||
Source0: %{pypi_source %{upstream_name} %{upstream_version}}
|
||||
|
||||
# Allow extra themes to exist. We pull in python3-sphinx-theme-alabaster
|
||||
# which causes that test to fail.
|
||||
Patch1: sphinx-test_theming.diff
|
||||
|
||||
# Fix double colon rendering in Sphinx roles
|
||||
# This was supposed to get to Sphinx 5.0.3 but it was never released
|
||||
# Backporting per request: https://bugzilla.redhat.com/show_bug.cgi?id=2166116
|
||||
# Upstream: https://github.com/sphinx-doc/sphinx/issues/10594
|
||||
Patch2: Fix-double-colons-with-docutils-0.18.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: pyproject-rpm-macros
|
||||
|
||||
%if %{with websupport}
|
||||
BuildRequires: python%{python3_pkgversion}-sphinxcontrib-websupport
|
||||
%endif
|
||||
|
||||
# for fixes
|
||||
BuildRequires: dos2unix
|
||||
|
||||
%if %{with tests}
|
||||
# tests import _testcapi
|
||||
BuildRequires: python%{python3_pkgversion}-test
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gettext
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: texinfo
|
||||
|
||||
%if %{with imagemagick_tests}
|
||||
BuildRequires: ImageMagick
|
||||
%endif
|
||||
|
||||
%if %{with latex_tests}
|
||||
BuildRequires: texlive-collection-fontsrecommended
|
||||
BuildRequires: texlive-collection-latex
|
||||
BuildRequires: texlive-dvipng
|
||||
BuildRequires: texlive-dvisvgm
|
||||
BuildRequires: tex(amsmath.sty)
|
||||
BuildRequires: tex(amsthm.sty)
|
||||
BuildRequires: tex(anyfontsize.sty)
|
||||
BuildRequires: tex(article.cls)
|
||||
BuildRequires: tex(capt-of.sty)
|
||||
BuildRequires: tex(cmap.sty)
|
||||
BuildRequires: tex(color.sty)
|
||||
BuildRequires: tex(ctablestack.sty)
|
||||
BuildRequires: tex(fancyhdr.sty)
|
||||
BuildRequires: tex(fancyvrb.sty)
|
||||
BuildRequires: tex(fncychap.sty)
|
||||
BuildRequires: tex(framed.sty)
|
||||
BuildRequires: tex(FreeSerif.otf)
|
||||
BuildRequires: tex(geometry.sty)
|
||||
BuildRequires: tex(hyperref.sty)
|
||||
BuildRequires: tex(kvoptions.sty)
|
||||
BuildRequires: tex(luatex85.sty)
|
||||
BuildRequires: tex(needspace.sty)
|
||||
BuildRequires: tex(parskip.sty)
|
||||
BuildRequires: tex(polyglossia.sty)
|
||||
BuildRequires: tex(tabulary.sty)
|
||||
BuildRequires: tex(titlesec.sty)
|
||||
BuildRequires: tex(upquote.sty)
|
||||
BuildRequires: tex(utf8x.def)
|
||||
BuildRequires: tex(wrapfig.sty)
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
@@ -48,14 +140,18 @@ the Python docs:
|
||||
snippets and inclusion of appropriately formatted docstrings.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Group: Documentation
|
||||
License: BSD
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%package -n python%{python3_pkgversion}-sphinx
|
||||
Summary: Python documentation generator
|
||||
|
||||
Recommends: graphviz
|
||||
Recommends: ImageMagick
|
||||
|
||||
%description doc
|
||||
# Bundled JavaScript
|
||||
Provides: bundled(jquery) = 3.5.1
|
||||
Provides: bundled(underscore) = 1.3.1
|
||||
Provides: bundled(css3-mediaqueries) = 1.0
|
||||
|
||||
%description -n python%{python3_pkgversion}-sphinx
|
||||
Sphinx is a tool that makes it easy to create intelligent and
|
||||
beautiful documentation for Python projects (or other documents
|
||||
consisting of multiple reStructuredText sources), written by Georg
|
||||
@@ -63,50 +159,717 @@ Brandl. It was originally created to translate the new Python
|
||||
documentation, but has now been cleaned up in the hope that it will be
|
||||
useful to many other projects.
|
||||
|
||||
This package contains documentation in rST and HTML formats
|
||||
Sphinx uses reStructuredText as its markup language, and many of its
|
||||
strengths come from the power and straightforwardness of
|
||||
reStructuredText and its parsing and translating suite, the Docutils.
|
||||
|
||||
Although it is still under constant development, the following
|
||||
features are already present, work fine and can be seen "in action" in
|
||||
the Python docs:
|
||||
|
||||
* Output formats: HTML (including Windows HTML Help) and LaTeX,
|
||||
for printable PDF versions
|
||||
* Extensive cross-references: semantic markup and automatic links
|
||||
for functions, classes, glossary terms and similar pieces of
|
||||
information
|
||||
* Hierarchical structure: easy definition of a document tree, with
|
||||
automatic links to siblings, parents and children
|
||||
* Automatic indices: general index as well as a module index
|
||||
* Code handling: automatic highlighting using the Pygments highlighter
|
||||
* Various extensions are available, e.g. for automatic testing of
|
||||
snippets and inclusion of appropriately formatted docstrings.
|
||||
|
||||
|
||||
%package -n python%{python3_pkgversion}-sphinx-latex
|
||||
Summary: LaTeX builder dependencies for python%{python3_pkgversion}-sphinx
|
||||
|
||||
Requires: python%{python3_pkgversion}-sphinx = %{epoch}:%{version}-%{release}
|
||||
Requires: texlive-collection-fontsrecommended
|
||||
Requires: texlive-collection-latex
|
||||
Requires: texlive-dvipng
|
||||
Requires: texlive-dvisvgm
|
||||
Requires: tex(amsmath.sty)
|
||||
Requires: tex(amsthm.sty)
|
||||
Requires: tex(anyfontsize.sty)
|
||||
Requires: tex(article.cls)
|
||||
Requires: tex(capt-of.sty)
|
||||
Requires: tex(cmap.sty)
|
||||
Requires: tex(color.sty)
|
||||
Requires: tex(ctablestack.sty)
|
||||
Requires: tex(fancyhdr.sty)
|
||||
Requires: tex(fancyvrb.sty)
|
||||
Requires: tex(fncychap.sty)
|
||||
Requires: tex(framed.sty)
|
||||
Requires: tex(FreeSerif.otf)
|
||||
Requires: tex(geometry.sty)
|
||||
Requires: tex(hyperref.sty)
|
||||
Requires: tex(kvoptions.sty)
|
||||
Requires: tex(luatex85.sty)
|
||||
Requires: tex(needspace.sty)
|
||||
Requires: tex(parskip.sty)
|
||||
Requires: tex(polyglossia.sty)
|
||||
Requires: tex(tabulary.sty)
|
||||
Requires: tex(titlesec.sty)
|
||||
Requires: tex(upquote.sty)
|
||||
Requires: tex(utf8x.def)
|
||||
Requires: tex(wrapfig.sty)
|
||||
|
||||
# No files in this package, automatic provides don't work:
|
||||
%py_provides python%{python3_pkgversion}-sphinx-latex
|
||||
|
||||
%description -n python%{python3_pkgversion}-sphinx-latex
|
||||
Sphinx is a tool that makes it easy to create intelligent and
|
||||
beautiful documentation for Python projects (or other documents
|
||||
consisting of multiple reStructuredText sources), written by Georg
|
||||
Brandl. It was originally created to translate the new Python
|
||||
documentation, but has now been cleaned up in the hope that it will be
|
||||
useful to many other projects.
|
||||
|
||||
This package pulls in the TeX dependencies needed by Sphinx's LaTeX
|
||||
builder.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
License: BSD
|
||||
Recommends: python%{python3_pkgversion}-sphinx = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description doc
|
||||
Sphinx is a tool that makes it easy to create intelligent and
|
||||
beautiful documentation for Python projects (or other documents
|
||||
consisting of multiple reStructuredText sources), written by Georg
|
||||
Brandl. It was originally created to translate the new Python
|
||||
documentation, but has now been cleaned up in the hope that it will be
|
||||
useful to many other projects.
|
||||
|
||||
This package contains documentation in reST and HTML formats.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{upstream_name}-%{version}
|
||||
%autosetup -n %{upstream_name}-%{upstream_version} -p1
|
||||
|
||||
# fix line encoding of bundled jquery.js
|
||||
dos2unix -k ./sphinx/themes/basic/static/jquery.js
|
||||
|
||||
%if %{without imagemagick_tests}
|
||||
rm tests/test_ext_imgconverter.py
|
||||
%endif
|
||||
|
||||
# Don't measure coverage:
|
||||
sed -i '/pytest-cov/d' setup.py
|
||||
# Not needed on recent Pythons, https://github.com/sphinx-doc/sphinx/pull/8483
|
||||
sed -i '/typed_ast/d' setup.py
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -r %{?with_tests:-x test}
|
||||
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
cd doc
|
||||
make html
|
||||
%pyproject_wheel
|
||||
|
||||
export PYTHONPATH=$PWD
|
||||
pushd doc
|
||||
export SPHINXBUILD="%{python3} ../sphinx/cmd/build.py"
|
||||
make html SPHINXBUILD="$SPHINXBUILD"
|
||||
make man SPHINXBUILD="$SPHINXBUILD"
|
||||
rm -rf _build/html/.buildinfo
|
||||
mv _build/html ..
|
||||
rm -rf _*
|
||||
popd
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
# Fix EOL delimiters
|
||||
sed -i 's|\r||g' LICENSE
|
||||
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
||||
%pyproject_install
|
||||
|
||||
# Language files; not under /usr/share, need to be handled manually
|
||||
(cd $RPM_BUILD_ROOT && find . -name 'sphinx.mo') | sed -e 's|^.||' | sed -e \
|
||||
's:\(.*/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:' \
|
||||
>> %{name}.lang
|
||||
# For backwards compatibility. Remove with care, if at all
|
||||
for i in sphinx-{apidoc,autogen,build,quickstart}; do
|
||||
ln -s %{_bindir}/$i %{buildroot}%{_bindir}/$i-%{python3_version}
|
||||
ln -s %{_bindir}/$i %{buildroot}%{_bindir}/$i-3
|
||||
done
|
||||
|
||||
# Clean up non-python files
|
||||
rm -f %{buildroot}%{python3_sitelib}/sphinx/locale/.DS_Store
|
||||
rm -rf %{buildroot}%{python3_sitelib}/sphinx/locale/.tx
|
||||
|
||||
pushd doc
|
||||
# Deliver man pages
|
||||
install -d %{buildroot}%{_mandir}/man1
|
||||
for f in _build/man/sphinx-*.1;
|
||||
do
|
||||
cp -p $f %{buildroot}%{_mandir}/man1/$(basename $f)
|
||||
done
|
||||
popd
|
||||
|
||||
# Deliver rst files
|
||||
rm -rf doc/_build
|
||||
sed -i 's|python ../sphinx-build.py|/usr/bin/sphinx-build|' doc/Makefile
|
||||
mv doc reST
|
||||
rm reST/make.bat
|
||||
|
||||
# Move language files to /usr/share;
|
||||
# patch to support this incorporated in 0.6.6
|
||||
pushd %{buildroot}%{python3_sitelib}
|
||||
|
||||
for lang in `find sphinx/locale -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -printf "%f "`;
|
||||
do
|
||||
test $lang == __pycache__ && continue
|
||||
install -d %{buildroot}%{_datadir}/sphinx/locale/$lang
|
||||
install -d %{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES
|
||||
mv sphinx/locale/$lang/LC_MESSAGES/sphinx.js \
|
||||
%{buildroot}%{_datadir}/sphinx/locale/$lang/
|
||||
mv sphinx/locale/$lang/LC_MESSAGES/sphinx.mo \
|
||||
%{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES/
|
||||
rm -rf sphinx/locale/$lang
|
||||
done
|
||||
popd
|
||||
|
||||
# Create the sphinxcontrib directory, so we can own it
|
||||
# See https://bugzilla.redhat.com/show_bug.cgi?id=1669790 for rationale
|
||||
mkdir %{buildroot}%{python3_sitelib}/sphinxcontrib
|
||||
|
||||
%find_lang sphinx
|
||||
|
||||
# Language files; Since these are javascript, it's not immediately obvious to
|
||||
# find_lang that they need to be marked with a language.
|
||||
(cd %{buildroot} && find . -name 'sphinx.js') | sed -e 's|^.||' | sed -e \
|
||||
's:\(.*/locale/\)\([^/_]\+\)\(.*\.js$\):%lang(\2) \1\2\3:' \
|
||||
>> sphinx.lang
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%if %{with tests}
|
||||
%check
|
||||
# Currently, all linkcheck tests and test_latex_images need internet
|
||||
%pytest \
|
||||
%if %{without internet}
|
||||
-k "not linkcheck and not test_latex_images" \
|
||||
%endif
|
||||
;
|
||||
%endif
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS CHANGES LICENSE README TODO
|
||||
%files -n python%{python3_pkgversion}-sphinx -f sphinx.lang
|
||||
%license LICENSE
|
||||
%doc AUTHORS CHANGES EXAMPLES README.rst
|
||||
%{_bindir}/sphinx-*
|
||||
%{python_sitelib}/sphinx
|
||||
%{python_sitelib}/*.egg-info
|
||||
%{python3_sitelib}/sphinx/
|
||||
%dir %{python3_sitelib}/sphinxcontrib/
|
||||
%{python3_sitelib}/Sphinx-%{upstream_version}.dist-info/
|
||||
%dir %{_datadir}/sphinx/
|
||||
%dir %{_datadir}/sphinx/locale
|
||||
%dir %{_datadir}/sphinx/locale/*
|
||||
%{_mandir}/man1/sphinx-*
|
||||
|
||||
|
||||
%files -n python%{python3_pkgversion}-sphinx-latex
|
||||
# empty, this is a metapackage
|
||||
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc html
|
||||
%license LICENSE
|
||||
%doc html reST
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 01 2023 Karolina Surma <ksurma@redhat.com> - 1:5.0.2-3
|
||||
- Backport a fix for rendering double colons in Sphinx roles
|
||||
- Fixes: rhbz#2166116
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.0.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Tue Jun 21 2022 Karolina Surma <ksurma@redhat.com> - 1:5.0.2-1
|
||||
- Update to 5.0.2
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1:4.5.0-3
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1:4.5.0-2
|
||||
- Bootstrap for Python 3.11
|
||||
|
||||
* Fri Apr 01 2022 Karolina Surma <ksurma@redhat.com> - 1:4.5.0-1
|
||||
- Update to 4.5.0
|
||||
- Fixes rhbz#2068924
|
||||
|
||||
* Tue Feb 01 2022 Karolina Surma <ksurma@redhat.com> - 1:4.4.0-1
|
||||
- Update to 4.4.0
|
||||
- Fixes rhbz#2033955
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.3.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Mon Nov 29 2021 Karolina Surma <ksurma@redhat.com> - 1:4.3.1-1
|
||||
- Update to 4.3.1
|
||||
- Fixes rhbz#2027059
|
||||
|
||||
* Fri Nov 19 2021 Karolina Surma <ksurma@redhat.com> - 1:4.3.0-1
|
||||
- Update to 4.3.0
|
||||
- Fixes rhbz#2022111
|
||||
|
||||
* Fri Sep 17 2021 Karolina Surma <ksurma@redhat.com> - 1:4.2.0-1
|
||||
- Update to 4.2.0
|
||||
- Fixes rhbz#2003427
|
||||
|
||||
* Thu Sep 16 2021 Karolina Surma <ksurma@redhat.com> - 1:4.1.2-3
|
||||
- Display typing objects correctly with Python 3.10 (fix FTBFS)
|
||||
- Generate correct reference to parent class if class has `_name` attribute
|
||||
- Enable previously deselected test
|
||||
|
||||
* Wed Aug 18 2021 Karolina Surma <ksurma@redhat.com> - 1:4.1.2-2
|
||||
- Patch python-sphinx to work with python-pygments >=2.10
|
||||
|
||||
* Mon Aug 02 2021 Karolina Surma <ksurma@redhat.com> - 1:4.1.2-1
|
||||
- Update to 4.1.2
|
||||
- Fixes rhbz#1979326
|
||||
- Backport commit to fix python-sphinx with Python 3.10-rc1
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.0.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 11 2021 Karolina Surma <ksurma@redhat.com> - 1:4.0.2-1
|
||||
- Update to 4.0.2
|
||||
- Fixes rhbz#1948279
|
||||
|
||||
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1:3.5.4-3
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 1:3.5.4-2
|
||||
- Bootstrap for Python 3.10
|
||||
|
||||
* Mon May 10 2021 Karolina Surma <ksurma@redhat.com> - 1:3.5.4-1
|
||||
- Update to 3.5.4
|
||||
- Fixes rhbz#1949477
|
||||
|
||||
* Thu Apr 01 2021 Karolina Surma <ksurma@redhat.com> - 1:3.5.3-1
|
||||
- Update to 3.5.3
|
||||
- Fixes rhbz#1941161
|
||||
|
||||
* Wed Mar 10 2021 Charalampos Stratakis <cstratak@redhat.com> - 1:3.5.2-1
|
||||
- Update 3.5.2
|
||||
- Fixes rhbz#1928459
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.4.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jan 19 2021 Charalampos Stratakis <cstratak@redhat.com> - 1:3.4.3-1
|
||||
- Update to 3.4.3
|
||||
- Fixes rhbz#1909494
|
||||
|
||||
* Sat Dec 05 2020 Mattia Verga <mattia.verga@protonmail.com> - 1:3.3.1-2
|
||||
- Unset -s from python shebang
|
||||
- Fixes: rhbz#1903763
|
||||
|
||||
* Mon Nov 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1:3.3.1-1
|
||||
- Update to 3.3.1
|
||||
- Fixes: rhbz#1893752
|
||||
|
||||
* Wed Oct 14 2020 Tomas Hrnciar <thrnciar@redhat.com> - 1:3.2.1-2
|
||||
- Backport commit to fix python-sphinx with python-pygments v2.7.1
|
||||
|
||||
* Tue Aug 18 2020 Miro Hrončok <mhroncok@redhat.com> - 1:3.2.1-1
|
||||
- Update to 3.2.1
|
||||
- Remove compatibility symbolic links from /usr/libexec/
|
||||
- Fixes rhbz#1867294
|
||||
|
||||
* Fri Aug 07 2020 Miro Hrončok <mhroncok@redhat.com> - 1:3.1.2-1
|
||||
- Update to 3.1.2
|
||||
- Fixes rhbz#1853901
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jun 30 2020 Charalampos Stratakis <cstratak@redhat.com> - 1:3.1.1-1
|
||||
- Update to 3.1.1 (#1783776)
|
||||
|
||||
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1:2.2.2-4
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1:2.2.2-3
|
||||
- Bootstrap for Python 3.9
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.2.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Tue Dec 10 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.2.2-1
|
||||
- Update to 2.2.2 (rhbz#1743018)
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.2-6
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.2-5
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.2-4
|
||||
- Bootstrap for Python 3.8
|
||||
|
||||
* Thu Aug 15 2019 Richard Shaw <hobbes1069@gmail.com> - 1:2.1.2-3
|
||||
- Rebuild for Python 3.8.
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Jun 23 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.2-1
|
||||
- Update to 2.1.2 (#1716158)
|
||||
|
||||
* Wed Apr 10 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.0.1-1
|
||||
- Update to 2.0.1 (#1697544)
|
||||
- Own the sphinxcontrib directory (#1669790)
|
||||
|
||||
* Wed Mar 27 2019 Charalampos Stratakis <cstratak@redhat.com> - 1:2.0.0~b2-1
|
||||
- Update to 2.0.0b2
|
||||
|
||||
* Wed Feb 27 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.0.0~b1-1
|
||||
- Update to 2.0.0b1
|
||||
- Drop Python 2 package
|
||||
- https://fedoraproject.org/wiki/Changes/Sphinx2
|
||||
|
||||
* Thu Feb 07 2019 Alfredo Moralejo <amoralej@redhat.com> - 1:1.8.4-1
|
||||
- Update to 1.8.4.
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.7.6-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:1.7.6-2
|
||||
- Drop explicit locale setting for python3, use C.UTF-8 for python2
|
||||
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
|
||||
|
||||
* Mon Jul 23 2018 Marcel Plch <mplch@redhat.com> - 1:1.7.6-1
|
||||
- Update to 1.7.6
|
||||
|
||||
* Fri Jul 13 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-6
|
||||
- Remove unused dependencies on xapian and simplejson
|
||||
|
||||
* Thu Jul 5 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:1.7.5-5
|
||||
- Add patch to fix build if alabaster theme is installed
|
||||
- Add patch for #1589868
|
||||
|
||||
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-4
|
||||
- Enable tests
|
||||
|
||||
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-3
|
||||
- Enable websupport
|
||||
|
||||
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-2
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Tue Jun 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.5-1
|
||||
- Update to 1.7.5 (bz#1570451)
|
||||
|
||||
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.2-5
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.2-4
|
||||
- Bootstrap for Python 3.7
|
||||
|
||||
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.2-3
|
||||
- Bootstrap for Python 3.7
|
||||
|
||||
* Wed Apr 11 2018 Petr Viktorin <pviktori@redhat.com> - 1:1.7.2-2
|
||||
- Conditionalize the ImageMagick build dependency & tests
|
||||
|
||||
* Wed Apr 11 2018 Petr Viktorin <pviktori@redhat.com> - 1:1.7.2-1
|
||||
- Update to 1.7.2 (bz#1558968)
|
||||
|
||||
* Tue Mar 13 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.1-1
|
||||
- Update to 1.7.1 (bz#1534802)
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Tue Jan 09 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.6-1
|
||||
- Update to 1.6.6 (bz#1532435)
|
||||
|
||||
* Mon Dec 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1:1.6.5-2
|
||||
- Fix ambiguous Python 2 dependency declarations
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Mon Nov 06 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.5-1
|
||||
- Update to 1.6.5 (bz#1508237)
|
||||
|
||||
* Mon Oct 09 2017 Troy Dawson <tdawson@redhat.com> - 1:1.6.4-2
|
||||
- Cleanup spec file conditionals
|
||||
|
||||
* Tue Sep 26 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.4-1
|
||||
- Update to 1.6.4 (bz#1426928)
|
||||
|
||||
* Wed Sep 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.3-3
|
||||
- Provide the epoch tag in order to keep the upgrade path clean.
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Thu Jul 20 2017 Charalampos Stratakis <cstratak@redhat.com> - - 1.6.3-1
|
||||
- Update to 1.6.3 (bz#1426928)
|
||||
|
||||
* Sat Feb 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.2-2
|
||||
- Cleanup source files that should not be installed
|
||||
- Fix the __init__.pyc that was byte compiled for the wrong python
|
||||
|
||||
* Fri Feb 17 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.2-1
|
||||
- Update to 1.5.2
|
||||
- Remove a few latex dependencies that are no longer needed
|
||||
- Remove xapian patch; now in upstream tarball
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Tue Jan 31 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-5
|
||||
- environment-modules is less featureful than Lmod.
|
||||
- Select the default version in a different way since environment-modules
|
||||
didn't understand the symlink
|
||||
- Ignore error messsages in the shell startup script as environment-modules
|
||||
prints an error message if a module has already been loaded. The command
|
||||
is doing the right thing for this case except that it's also printing an
|
||||
error message.
|
||||
|
||||
* Thu Jan 26 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-4
|
||||
- Add recipe for setting the system default to the README.fedora
|
||||
|
||||
* Wed Jan 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-3
|
||||
- Move the unversioned executables into the python2 package as they are now
|
||||
using python2 to run
|
||||
|
||||
* Wed Jan 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-2
|
||||
- Add README.fedora so people know how to use environment-modules to switch.
|
||||
- Change the default to be the python2 version to match with the guidelines
|
||||
- Switch to generic environment(modules) instead of Lmod specifically.
|
||||
|
||||
* Fri Dec 30 2016 Orion Poplawski <orion@cora.nwra.com> - 1.5.1-1
|
||||
- Update to 1.5.1
|
||||
|
||||
* Fri Dec 30 2016 Toshio Kuratomi <toshio@fedoraproject.org> - 1.4.9-2
|
||||
- Remove alternatives. Alternatives should only be used for a very small
|
||||
number of packages (system daemons which also have a compatible command line
|
||||
interface).
|
||||
- Use environment-modules to switch between the python2 and python3 packages
|
||||
*but* be aware that no amount of manual switching can get this 100% right.
|
||||
The code has to be fixed upstream, not in packaging.
|
||||
|
||||
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.4.9-1
|
||||
- Update to 1.4.9
|
||||
- Enable python3 tests
|
||||
|
||||
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.4.8-3
|
||||
- Rebuild for Python 3.6
|
||||
- Disable python3 tests for now
|
||||
|
||||
* Thu Oct 6 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.8-2
|
||||
- Added tex(luatex85.sty) dependency to support TexLive 2016
|
||||
|
||||
* Thu Oct 6 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.8-1
|
||||
- Update to 1.4.8
|
||||
- Alternatives fails for scripts sometimes (bz#1382405)
|
||||
|
||||
* Sun Sep 4 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.6-2
|
||||
- Alternatives fails for man pages due to existing files
|
||||
|
||||
* Fri Sep 2 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.6-1
|
||||
- Update to 1.4.6 (bz#1370810)
|
||||
- Fix unversioned Obsoletes
|
||||
- Add alternatives slaves for man pages
|
||||
|
||||
* Fri Aug 12 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.5-1
|
||||
- Update to 1.4.5 (bz#1356336)
|
||||
- Remove Recommends for latex, locale, and doc subpackages (bz#1366624)
|
||||
- Remove Requires from locale subpackage (bz#1366624)
|
||||
- Set executable scripts via alternatives (bz#1321413)
|
||||
- Change graphviz Requires to Recommends (bz#1366706)
|
||||
|
||||
* Sun Jul 03 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.4-2
|
||||
- doc and locale no longer specifically require python2-sphinx
|
||||
- Colapsed python3-sphinx-latex into python-latex
|
||||
|
||||
* Sun Jun 12 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.4-1
|
||||
- Updated to 1.4.4
|
||||
- Added python-sphinx-locale for common locale files
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Nov 27 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-4
|
||||
- Obsolete napoleon extension, it is now packaged with sphinx (#1286275)
|
||||
- Rename python2-Sphinx to python2-sphinx
|
||||
- Add conflicts to disallow parallel installation of different versions,
|
||||
which causes file conflicts because of the shared documentation files.
|
||||
|
||||
* Wed Nov 25 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-3
|
||||
- Restore using python2 scripts by default (#1285535)
|
||||
|
||||
* Wed Nov 25 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-2
|
||||
- Fix requirements of python2- subpackage
|
||||
- Provide sphinx-*-{3.5,3} symlinks for each script
|
||||
|
||||
* Tue Nov 24 2015 Julien Enselme <jujens@jujens.eu> - 1.3.1-1
|
||||
- Update to 1.3.1 (#1136284)
|
||||
- Update to new guidelines
|
||||
- Make the default executable use python3
|
||||
|
||||
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 1.2.3-5
|
||||
- Rebuilt for Python3.5 rebuild
|
||||
- add patch to reflect that Python3.5 dropped HTMLParserError
|
||||
|
||||
* Mon Jul 20 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.3-4
|
||||
- Fix line encoding of bundled jquery.js
|
||||
|
||||
* Mon Jul 20 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.3-3
|
||||
- Re-introduce LaTeX subpackage, solely for pulling in LaTeX dependencies
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Thu Feb 5 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.3-1
|
||||
- Update to 1.2.3
|
||||
- Mark license file with %%license instead of %%doc
|
||||
|
||||
* Thu Feb 5 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-10
|
||||
- Complete LaTeX builder deps (fixes bz#882166)
|
||||
- Make test output verbose
|
||||
- Add BRs needed to enable all tests
|
||||
|
||||
* Tue Feb 3 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-9
|
||||
- python3-sphinx package also Provides: python3-sphinx-latex
|
||||
|
||||
* Tue Feb 3 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-8
|
||||
- If a separate LaTeX subpackage is not generated, the main package should have
|
||||
a virtual Provides: for it (bz#1187989)
|
||||
|
||||
* Tue Jan 27 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-7
|
||||
- Disable separate LaTeX builder for now (bz#1185574)
|
||||
|
||||
* Thu Jan 22 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-6
|
||||
- Split off LaTeX builder into its own subpackages, to remove TeXLive
|
||||
dependencies from the main package.
|
||||
Thanks to Robert Kuska <rkuska@redhat.com> for feedback
|
||||
- Clean up python3-sphinx's locale files, they ended up in the python2 package.
|
||||
Share the locale files in /usr/share instead
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Tue May 27 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2.2-4
|
||||
- Don't own the -3 scripts by python 2 package
|
||||
|
||||
* Thu May 22 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2.2-3
|
||||
- Add sphinx-*-3 links to scripts
|
||||
Resolves: #1098109
|
||||
|
||||
* Fri May 9 2014 Orion Poplawski <orion@cora.nwra.com> - 1.2.2-2
|
||||
- Rebuild for Python 3.4
|
||||
|
||||
* Fri May 9 2014 Orion Poplawski <orion@cora.nwra.com> - 1.2.2-1
|
||||
- Update to 1.2.2
|
||||
|
||||
* Thu Feb 13 2014 Michel Salim <salimma@fedoraproject.org> - 1.2.1-1
|
||||
- Update to 1.2.1
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Sat Mar 9 2013 Michel Salim <salimma@fedoraproject.org> - 1.1.3-7
|
||||
- Fix inheritance_diagram quoting bug, exposed by the newer, stricter dot
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Tue Aug 21 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 1.1.3-5
|
||||
- Fix for use of sphinx's manpage writer with docutils-0.10
|
||||
|
||||
* Mon Aug 6 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.3-4
|
||||
- Rebuild for Python 3.3
|
||||
|
||||
* Fri Aug 3 2012 David Malcolm <dmalcolm@redhat.com> - 1.1.3-3
|
||||
- remove rhel logic from with_python3 conditional
|
||||
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Thu Apr 5 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.3-1
|
||||
- Update to 1.1.3
|
||||
|
||||
* Sun Feb 5 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.2-5
|
||||
- Move python3 runtime dependencies to the right subpackage
|
||||
- Properly exclude python3 binaries
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Sat Dec 17 2011 Michel Salim <salimma@fedoraproject.org> - 1.1.2-3
|
||||
- BR on texlive-latex for LaTeX tests
|
||||
|
||||
* Thu Dec 8 2011 Michel Salim <salimma@fedoraproject.org> - 1.1.2-2
|
||||
- Enable python3 subpackage
|
||||
|
||||
* Mon Nov 28 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.1.2-1
|
||||
- Update to upstream 1.1.2
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Tue Jan 18 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.7-1
|
||||
- Update to upstream 1.0.7
|
||||
|
||||
* Mon Jan 17 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.6-1
|
||||
- Update to upstream 1.0.6
|
||||
|
||||
* Mon Nov 1 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-3
|
||||
- Fix -doc Makefile to allow regeneration of .rst files
|
||||
|
||||
* Mon Nov 1 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-2
|
||||
- Actually include *.js locale files
|
||||
- Generate manpages
|
||||
|
||||
* Fri Sep 17 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-1
|
||||
- Update to 1.0.4
|
||||
- Remove BuildRoot and %%clean declarations
|
||||
|
||||
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.0-0.1.b2.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||||
|
||||
* Mon May 31 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0-0.2.b2
|
||||
- Update to 1.0 beta 2
|
||||
- Fixes problem building html documentation in non-English locales
|
||||
|
||||
* Wed May 26 2010 Michel Salim <salimma@fedoraproject.org> - 1.0-0.1.b1
|
||||
- Update to 1.0 beta 1
|
||||
|
||||
* Tue May 25 2010 Michel Salim <salimma@fedoraproject.org> - 0.6.6-1
|
||||
- Update to 0.6.6
|
||||
|
||||
* Fri May 21 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.5-2
|
||||
- Few minor tweaks to Gareth's spec file update
|
||||
|
||||
* Mon May 10 2010 Gareth Armstrong <gareth.armstrong@hp.com> - 0.6.5-1.hp
|
||||
- Update to 0.6.5
|
||||
- Initial import of python-sphinx from Fedora Rawhide for use in HP CMS
|
||||
- Enforce that Sphinx requires Python 2.4 or later via an explicit BR
|
||||
- Minor tweaks to spec file
|
||||
- Move language files to %%{_datadir}, idea borrowed from Debian's sphinx
|
||||
package
|
||||
- Deliver man pages for sphinx-build & sphinx-quickstart
|
||||
- Deliver rst documentation files to reST directory in doc sub-package
|
||||
- Add %%check section for Python2 and add BR on python-nose
|
||||
|
||||
* Wed Jan 13 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.4-1
|
||||
- Update to 0.6.4
|
||||
- Fixes a problem using autodoc with pylons projects.
|
||||
|
||||
* Fri Sep 4 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.3-1
|
||||
- Update to 0.6.3
|
||||
|
||||
* Mon Aug 17 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.2-1
|
||||
- Update to 0.6.2 -- upstream bugfix requested inside bz#512438
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Fri Jun 05 2009 Luke Macken <lmacken@redhat.com> - 0.6.1-2
|
||||
- Add a patch to use our own setuptools package
|
||||
|
||||
* Fri Apr 17 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.1-1
|
||||
- Update to 0.6.1
|
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Fri Jan 2 2009 Michel Salim <salimma@fedoraproject.org> - 0.5.1-1
|
||||
- Update to 0.5.1
|
||||
|
||||
|
||||
4
rpminspect.yaml
Normal file
4
rpminspect.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
# exclude XML template (not always valid) from XML validity check:
|
||||
xml:
|
||||
ignore:
|
||||
- /usr/lib/python*/site-packages/sphinx/themes/basic/opensearch.xml
|
||||
2
sources
2
sources
@@ -1 +1 @@
|
||||
11456e362d75c1a4c5a5847921d3f4c7 Sphinx-0.5.1.tar.gz
|
||||
SHA512 (Sphinx-5.0.2.tar.gz) = d564697f0b82a9a59dd6a81e7822dbeac00fb6cc98cdc2422f04ec87c5133b5e03057ccdfdcfe38dccff41f6c53262d49f4ee6f77047c579aa2e55370bfe2dc6
|
||||
|
||||
12
sphinx-test_theming.diff
Normal file
12
sphinx-test_theming.diff
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -ru Sphinx-1.7.6/tests/test_theming.py Sphinx-1.7.6_patched/tests/test_theming.py
|
||||
--- Sphinx-1.7.6/tests/test_theming.py 2018-07-16 11:24:40.000000000 +0200
|
||||
+++ Sphinx-1.7.6_patched/tests/test_theming.py 2018-07-20 15:17:35.049263077 +0200
|
||||
@@ -25,7 +25,7 @@
|
||||
themes.append('alabaster')
|
||||
|
||||
# test Theme class API
|
||||
- assert set(app.registry.html_themes.keys()) == set(themes)
|
||||
+ assert set(app.registry.html_themes.keys()) >= set(themes)
|
||||
assert app.registry.html_themes['test-theme'] == app.srcdir / 'test_theme' / 'test-theme'
|
||||
assert app.registry.html_themes['ziptheme'] == app.srcdir / 'ziptheme.zip'
|
||||
assert app.registry.html_themes['staticfiles'] == app.srcdir / 'test_theme' / 'staticfiles'
|
||||
Reference in New Issue
Block a user