14
0

Accepting request 418837 from home:dstoecker

Update to recent version to let it work again with the other python packages. 0.0.5 fails with reportlab >3.

OBS-URL: https://build.opensuse.org/request/show/418837
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=4
This commit is contained in:
Denisart Benjamin
2016-08-15 22:32:24 +00:00
committed by Git OBS Bridge
parent 4b00a687c2
commit b25cbf802f
5 changed files with 24 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-xhtml2pdf
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,21 +17,25 @@
Name: python-xhtml2pdf
Version: 0.0.5
Version: 0.1b2
Release: 0
Summary: PDF Generator Using HTML and CSS
License: Apache-2.0
Group: Development/Languages/Python
Url: http://www.xhtml2pdf.com/
Url: https://github.com/xhtml2pdf/
Source: http://pypi.python.org/packages/source/x/xhtml2pdf/xhtml2pdf-%{version}.tar.gz
# PATCH-FIX-OPENSUSE no_optimize.patch - Don't generate .pyo files during build
Patch0: no_optimize.patch
BuildRequires: python-devel
BuildRequires: python-nose
BuildRequires: python-setuptools
Requires: python-Pillow
Requires: python-PyPDF2
Requires: python-html5lib
Requires: python-imaging
Requires: python-pypdf
Requires: python-reportlab
Requires: python-html5lib
Requires: python-httplib2
Requires: python-reportlab >= 3.0
Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}