From c52ccae184a22145ac23466191634a0035b7b6bb Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 6 Jan 2014 15:40:19 +0100 Subject: [PATCH] Use sphinx better theme --- python-pillow.spec | 10 ++++++---- python-pillow_help-theme.patch | 14 -------------- 2 files changed, 6 insertions(+), 18 deletions(-) delete mode 100644 python-pillow_help-theme.patch diff --git a/python-pillow.spec b/python-pillow.spec index cc56ba3..9066900 100644 --- a/python-pillow.spec +++ b/python-pillow.spec @@ -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 - 2.3.0-3 +- Remove python-pillow_help-theme.patch, add python-sphinx-theme-better BR + * Sun Jan 05 2014 Sandro Mani - 2.3.0-2 - Rebuild with docs enabled - Change lcms BR to lcms2 diff --git a/python-pillow_help-theme.patch b/python-pillow_help-theme.patch deleted file mode 100644 index d6e32a3..0000000 --- a/python-pillow_help-theme.patch +++ /dev/null @@ -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"