Use sphinx better theme

This commit is contained in:
Sandro Mani 2014-01-06 15:40:19 +01:00
parent acc60b512f
commit c52ccae184
2 changed files with 6 additions and 18 deletions

View File

@ -25,7 +25,7 @@
Name: python-pillow
Version: 2.3.0
Release: 2%{?snap}%{?dist}
Release: 3%{?snap}%{?dist}
Summary: Python image processing library
# License: see http://www.pythonware.com/products/pil/license.htm
@ -41,14 +41,13 @@ Source0: https://github.com/python-imaging/Pillow/tarball/%{commit}/pytho
Patch0: python-pillow-archs.patch
# Fix overly-strict test
Patch1: python-pillow_test-webp.patch
# Use default help theme until python-sphinx-theme-better is reviewed
Patch2: python-pillow_help-theme.patch
BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: tkinter
BuildRequires: tk-devel
BuildRequires: python-sphinx
BuildRequires: python-sphinx-theme-better
BuildRequires: libjpeg-devel
BuildRequires: zlib-devel
BuildRequires: freetype-devel
@ -68,6 +67,7 @@ BuildRequires: python3-tkinter
BuildRequires: python3-PyQt4
BuildRequires: python3-numpy
BuildRequires: python3-sphinx
BuildRequires: python3-sphinx-theme-better
%endif
Provides: python-imaging = %{version}-%{release}
@ -211,7 +211,6 @@ PIL image wrapper for Qt.
%setup -q -n python-imaging-Pillow-%{shortcommit}
%patch0 -p1 -b .archs
%patch1 -p1
%patch2 -p1
%if %{with_python3}
# Create Python 3 source tree
@ -363,6 +362,9 @@ popd
%endif
%changelog
* Mon Jan 06 2014 Sandro Mani <manisandro@gmail.com> - 2.3.0-3
- Remove python-pillow_help-theme.patch, add python-sphinx-theme-better BR
* Sun Jan 05 2014 Sandro Mani <manisandro@gmail.com> - 2.3.0-2
- Rebuild with docs enabled
- Change lcms BR to lcms2

View File

@ -1,14 +0,0 @@
diff -rupN python-imaging-Pillow-b1b88cf/docs/conf.py python-imaging-Pillow-b1b88cf-new/docs/conf.py
--- python-imaging-Pillow-b1b88cf/docs/conf.py 2014-01-01 22:10:13.000000000 +0100
+++ python-imaging-Pillow-b1b88cf-new/docs/conf.py 2014-01-04 23:31:13.923990503 +0100
@@ -35,9 +35,7 @@ pygments_style = 'sphinx'
### HTML output ###
-from better import better_theme_path
-html_theme_path = [better_theme_path]
-html_theme = 'better'
+html_theme = 'default'
html_title = "Pillow v{release} (PIL fork)".format(release=release)
html_short_title = "Home"