From a627ec0c95e94a370c8c05a6f4eadc05d12df6a86140f624810305eda41775a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 6 Feb 2020 12:45:06 +0000 Subject: [PATCH] Accepting request 770553 from home:mcalabkova:branches:devel:languages:python - update to 0.2.4 * add Python 3.8 * Fixed padding problem * fix: use html.escape instead of cgi.escape * Removed `if cols_with_no_width` condition from `tables.py`. OBS-URL: https://build.opensuse.org/request/show/770553 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xhtml2pdf?expand=0&rev=13 --- python-xhtml2pdf.changes | 9 +++++++++ python-xhtml2pdf.spec | 13 +++++++------ xhtml2pdf-0.2.3.tar.gz | 3 --- xhtml2pdf-0.2.4.tar.gz | 3 +++ 4 files changed, 19 insertions(+), 9 deletions(-) delete mode 100644 xhtml2pdf-0.2.3.tar.gz create mode 100644 xhtml2pdf-0.2.4.tar.gz diff --git a/python-xhtml2pdf.changes b/python-xhtml2pdf.changes index 4363a35..8191448 100644 --- a/python-xhtml2pdf.changes +++ b/python-xhtml2pdf.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Feb 6 12:19:52 UTC 2020 - Marketa Calabkova + +- update to 0.2.4 + * add Python 3.8 + * Fixed padding problem + * fix: use html.escape instead of cgi.escape + * Removed `if cols_with_no_width` condition from `tables.py`. + ------------------------------------------------------------------- Wed Mar 6 18:32:37 UTC 2019 - Tomáš Chvátal diff --git a/python-xhtml2pdf.spec b/python-xhtml2pdf.spec index 5b4633c..551c46c 100644 --- a/python-xhtml2pdf.spec +++ b/python-xhtml2pdf.spec @@ -1,7 +1,7 @@ # # spec file for package python-xhtml2pdf # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,27 +18,27 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-xhtml2pdf -Version: 0.2.3 +Version: 0.2.4 Release: 0 Summary: PDF Generator Using HTML and CSS License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/xhtml2pdf/xhtml2pdf Source: https://files.pythonhosted.org/packages/source/x/xhtml2pdf/xhtml2pdf-%{version}.tar.gz +# leaving the requirements here as the tests will start working one day BuildRequires: %{python_module Pillow >= 2.0} BuildRequires: %{python_module PyPDF2 >= 1.26} +BuildRequires: %{python_module coverage} BuildRequires: %{python_module html5lib >= 1.0} -BuildRequires: %{python_module httplib2 >= 0.7.6} BuildRequires: %{python_module nose >= 1.3.3} BuildRequires: %{python_module reportlab >= 3.0} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Pillow >= 2.0 +Requires: python-Pillow >= 2.0.0 Requires: python-PyPDF2 >= 1.26 Requires: python-html5lib >= 1.0 -Requires: python-httplib2 >= 0.7.6 Requires: python-reportlab >= 3.0 Requires: python-six Conflicts: python-pisa @@ -63,7 +63,8 @@ able to generate PDF templates very quickly without learning new technologies. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -# there are no test actually +%check +# as in setup.py: test_suite = "tests", They're not even working yet %files %{python_files} %license LICENSE.txt diff --git a/xhtml2pdf-0.2.3.tar.gz b/xhtml2pdf-0.2.3.tar.gz deleted file mode 100644 index 3a8cc2d..0000000 --- a/xhtml2pdf-0.2.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:86a37e78d7a8d8bb2761746c3d559e12284d92c4d531b3a8a0f8fd632b436f82 -size 99510 diff --git a/xhtml2pdf-0.2.4.tar.gz b/xhtml2pdf-0.2.4.tar.gz new file mode 100644 index 0000000..6b2a7a8 --- /dev/null +++ b/xhtml2pdf-0.2.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6793fbbdcb6bb8a4a70132966d8d95e95ea3498cdf0e82252d2b8e9aae34fcb5 +size 98624