forked from pool/python-xhtml2pdf
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
This commit is contained in:
committed by
Git OBS Bridge
parent
7ae802b1ba
commit
a627ec0c95
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 12:19:52 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- 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 <tchvatal@suse.com>
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:86a37e78d7a8d8bb2761746c3d559e12284d92c4d531b3a8a0f8fd632b436f82
|
||||
size 99510
|
3
xhtml2pdf-0.2.4.tar.gz
Normal file
3
xhtml2pdf-0.2.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6793fbbdcb6bb8a4a70132966d8d95e95ea3498cdf0e82252d2b8e9aae34fcb5
|
||||
size 98624
|
Reference in New Issue
Block a user