forked from pool/python-xhtml2pdf
- Switch to downloadable url
- Remove pointless patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
59cbd779dd
commit
65791c3183
@@ -1,12 +0,0 @@
|
|||||||
diff -u xhtml2pdf-0.1b2/setup.cfg xhtml2pdf-0.1b2_fix/setup.cfg
|
|
||||||
--- xhtml2pdf-0.1b2/setup.cfg 2016-08-01 17:26:42.000000000 +0200
|
|
||||||
+++ xhtml2pdf-0.1b2_fix/setup.cfg 2016-08-12 08:07:19.494073565 +0200
|
|
||||||
@@ -1,7 +1,7 @@
|
|
||||||
[install]
|
|
||||||
|
|
||||||
compile = 1
|
|
||||||
-optimize = 1
|
|
||||||
+optimize = 0
|
|
||||||
|
|
||||||
[sdist]
|
|
||||||
|
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 15 13:47:52 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Switch to downloadable url
|
||||||
|
- Remove pointless patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 15 13:34:51 UTC 2017 - tchvatal@suse.com
|
Fri Dec 15 13:34:51 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@@ -24,9 +24,7 @@ Summary: PDF Generator Using HTML and CSS
|
|||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/xhtml2pdf/xhtml2pdf
|
Url: https://github.com/xhtml2pdf/xhtml2pdf
|
||||||
Source: http://pypi.python.org/packages/source/x/xhtml2pdf/xhtml2pdf-%{version}.tar.gz
|
Source: https://github.com/xhtml2pdf/xhtml2pdf/archive/%{version}.tar.gz
|
||||||
# PATCH-FIX-OPENSUSE no_optimize.patch - Don't generate .pyo files during build
|
|
||||||
Patch0: no_optimize.patch
|
|
||||||
BuildRequires: %{python_module Pillow >= 2.0}
|
BuildRequires: %{python_module Pillow >= 2.0}
|
||||||
BuildRequires: %{python_module PyPDF2 >= 1.26}
|
BuildRequires: %{python_module PyPDF2 >= 1.26}
|
||||||
BuildRequires: %{python_module html5lib >= 1.0b10}
|
BuildRequires: %{python_module html5lib >= 1.0b10}
|
||||||
@@ -58,7 +56,6 @@ able to generate PDF templates very quickly without learning new technologies.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n xhtml2pdf-%{version}
|
%setup -q -n xhtml2pdf-%{version}
|
||||||
%patch0 -p1
|
|
||||||
# sed out hardcoded html5lib require
|
# sed out hardcoded html5lib require
|
||||||
sed -i \
|
sed -i \
|
||||||
-e 's:==1.0b10::g' \
|
-e 's:==1.0b10::g' \
|
||||||
|
Reference in New Issue
Block a user