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,10 +1,12 @@
--- a/setup.cfg diff -u xhtml2pdf-0.1b2/setup.cfg xhtml2pdf-0.1b2_fix/setup.cfg
+++ b/setup.cfg --- xhtml2pdf-0.1b2/setup.cfg 2016-08-01 17:26:42.000000000 +0200
@@ -1,6 +1,6 @@ +++ xhtml2pdf-0.1b2_fix/setup.cfg 2016-08-12 08:07:19.494073565 +0200
@@ -1,7 +1,7 @@
[install] [install]
compile = 1 compile = 1
-optimize = 1 -optimize = 1
+optimize = 0 +optimize = 0
[sdist] [sdist]
formats = gztar, zip

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 12 06:12:16 UTC 2016 - opensuse@dstoecker.de
- update to 0.1b2
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 15 19:53:25 UTC 2013 - p.drouand@gmail.com Fri Nov 15 19:53:25 UTC 2013 - p.drouand@gmail.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-xhtml2pdf # 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 # 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,21 +17,25 @@
Name: python-xhtml2pdf Name: python-xhtml2pdf
Version: 0.0.5 Version: 0.1b2
Release: 0 Release: 0
Summary: PDF Generator Using HTML and CSS Summary: PDF Generator Using HTML and CSS
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python 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 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 # PATCH-FIX-OPENSUSE no_optimize.patch - Don't generate .pyo files during build
Patch0: no_optimize.patch Patch0: no_optimize.patch
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-nose
BuildRequires: python-setuptools BuildRequires: python-setuptools
Requires: python-Pillow
Requires: python-PyPDF2
Requires: python-html5lib Requires: python-html5lib
Requires: python-imaging Requires: python-html5lib
Requires: python-pypdf Requires: python-httplib2
Requires: python-reportlab Requires: python-reportlab >= 3.0
Requires: python-six
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %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()")} %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1f108c09d0939025069e71e099ec88fb477076bdc781e54215d28a8d42fe5868
size 97399

3
xhtml2pdf-0.1b2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ebd1388bc8cc5bf5033e9665dbc879bb6c77e0f4743a77bf93eeed9ed0e4d48
size 8931914