Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-xhtml2pdf for 
openSUSE:Factory checked in at 2021-03-30 21:01:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-xhtml2pdf (Old)
 and      /work/SRC/openSUSE:Factory/.python-xhtml2pdf.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-xhtml2pdf"

Tue Mar 30 21:01:28 2021 rev:5 rq:870119 version:0.2.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-xhtml2pdf/python-xhtml2pdf.changes        
2020-05-16 22:27:08.285372105 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-xhtml2pdf.new.2401/python-xhtml2pdf.changes  
    2021-03-30 21:01:30.452790924 +0200
@@ -1,0 +2,29 @@
+Sun Feb  7 14:49:02 UTC 2021 - John Vandenberg <jay...@gmail.com>
+
+- Add missing runtime dependency on setuptools
+- Remove hashbang from library modules
+- Activate test suite
+- Update to v0.2.5
+  * Added Asian fonts support (Simplified Chinese,
+    Traditional Chinese, Japanese & Korean)
+  * Added support for right-to-left writings like Arabic, Hebrew,
+    Persian, Pashto, Urdu and Sindhi. Simply include for example
+    <pdf:language name="arabic"/>
+  * CSS property letter-spacing now supports float values and
+    relative & absolute units like cm, in, em, % etc
+  * Added unit tests for Asian and right-to-left fonts
+  * @frame properties like width, right, bottom etc. are now
+    correctly calculated depending on the page orientation and size
+  * Fixed support for multiple fonts and unicode
+  * Fixed an encoding issue with html5lib
+  * Fixed a problem with the border property in h1 to h6 heading tags
+  * Fixed compability with ReportLab 3.5.X
+  * Removed default background-image when no background-image is defined
+  * Fixed an issue with different font type that have the same name
+  * Fixed a bug that prevented support for Python 3.X
+  * testrender test: fixed transparences and included new reference
+    files. now all tests pass in Travis CI without --failed
+  * 0.0 as value for a CSS property now acts the same way as 0 and None
+  * Removed i and inch as unofficial synonyms for the in unit
+
+-------------------------------------------------------------------

Old:
----
  xhtml2pdf-0.2.4.tar.gz

New:
----
  xhtml2pdf-0.2.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-xhtml2pdf.spec ++++++
--- /var/tmp/diff_new_pack.oWT1De/_old  2021-03-30 21:01:33.096793829 +0200
+++ /var/tmp/diff_new_pack.oWT1De/_new  2021-03-30 21:01:33.100793834 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-xhtml2pdf
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,28 +18,33 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-xhtml2pdf
-Version:        0.2.4
+Version:        0.2.5
 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}
+Source:         
https://github.com/xhtml2pdf/xhtml2pdf/archive/%{version}.tar.gz#/xhtml2pdf-%{version}.tar.gz
+BuildRequires:  %{python_module setuptools}
+# SECTION test requirements
+BuildRequires:  %{python_module Pillow >= 7.0.2}
 BuildRequires:  %{python_module PyPDF2 >= 1.26}
-BuildRequires:  %{python_module coverage}
+BuildRequires:  %{python_module arabic-reshaper >= 2.1.0}
 BuildRequires:  %{python_module html5lib >= 1.0}
-BuildRequires:  %{python_module nose >= 1.3.3}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module python-bidi >= 0.4.2}
 BuildRequires:  %{python_module reportlab >= 3.0}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
+# /SECTION
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-Pillow >= 2.0.0
+Requires:       python-Pillow >= 7.0.2
 Requires:       python-PyPDF2 >= 1.26
+Requires:       python-arabic-reshaper >= 2.1.0
 Requires:       python-html5lib >= 1.0
+Requires:       python-python-bidi >= 0.4.2
 Requires:       python-reportlab >= 3.0
+Requires:       python-setuptools
 Requires:       python-six
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
@@ -57,6 +62,7 @@
 
 %prep
 %setup -q -n xhtml2pdf-%{version}
+sed -i '1{/^#!/d}' xhtml2pdf/paragraph.py xhtml2pdf/w3c/*.py
 
 %build
 %python_build
@@ -68,7 +74,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# as in setup.py: test_suite = "tests", They're not even working yet
+%pytest
 
 %post
 %python_install_alternative xhtml2pdf

++++++ xhtml2pdf-0.2.4.tar.gz -> xhtml2pdf-0.2.5.tar.gz ++++++
++++ 22274 lines of diff (skipped)

Reply via email to