commit python-xhtml2pdf for openSUSE:Factory

2020-05-16 Thread root
Hello community,

here is the log from the commit of package python-xhtml2pdf for 
openSUSE:Factory checked in at 2020-05-16 22:27:04

Comparing /work/SRC/openSUSE:Factory/python-xhtml2pdf (Old)
 and  /work/SRC/openSUSE:Factory/.python-xhtml2pdf.new.2738 (New)


Package is "python-xhtml2pdf"

Sat May 16 22:27:04 2020 rev:4 rq:805893 version:0.2.4

Changes:

--- /work/SRC/openSUSE:Factory/python-xhtml2pdf/python-xhtml2pdf.changes
2020-02-07 15:54:27.067512074 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-xhtml2pdf.new.2738/python-xhtml2pdf.changes  
2020-05-16 22:27:08.285372105 +0200
@@ -1,0 +2,5 @@
+Fri May 15 12:56:36 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-xhtml2pdf.spec ++
--- /var/tmp/diff_new_pack.JduYuE/_old  2020-05-16 22:27:08.993373558 +0200
+++ /var/tmp/diff_new_pack.JduYuE/_new  2020-05-16 22:27:08.997373565 +0200
@@ -41,6 +41,8 @@
 Requires:   python-html5lib >= 1.0
 Requires:   python-reportlab >= 3.0
 Requires:   python-six
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Conflicts:  python-pisa
 BuildArch:  noarch
 %python_subpackages
@@ -61,16 +63,26 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/xhtml2pdf
+%python_clone -a %{buildroot}%{_bindir}/pisa
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 # as in setup.py: test_suite = "tests", They're not even working yet
 
+%post
+%python_install_alternative xhtml2pdf
+%python_install_alternative pisa
+
+%postun
+%python_uninstall_alternative xhtml2pdf
+%python_uninstall_alternative pisa
+
 %files %{python_files}
 %license LICENSE.txt
 %doc README.rst
 %{python_sitelib}/*
-%python3_only %{_bindir}/pisa
-%python3_only %{_bindir}/xhtml2pdf
+%python_alternative %{_bindir}/pisa
+%python_alternative %{_bindir}/xhtml2pdf
 
 %changelog




commit python-xhtml2pdf for openSUSE:Factory

2020-02-07 Thread root
Hello community,

here is the log from the commit of package python-xhtml2pdf for 
openSUSE:Factory checked in at 2020-02-07 15:53:38

Comparing /work/SRC/openSUSE:Factory/python-xhtml2pdf (Old)
 and  /work/SRC/openSUSE:Factory/.python-xhtml2pdf.new.26092 (New)


Package is "python-xhtml2pdf"

Fri Feb  7 15:53:38 2020 rev:3 rq:770564 version:0.2.4

Changes:

--- /work/SRC/openSUSE:Factory/python-xhtml2pdf/python-xhtml2pdf.changes
2019-03-08 11:02:35.484529417 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-xhtml2pdf.new.26092/python-xhtml2pdf.changes 
2020-02-07 15:54:27.067512074 +0100
@@ -1,0 +2,9 @@
+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`.
+
+---

Old:

  xhtml2pdf-0.2.3.tar.gz

New:

  xhtml2pdf-0.2.4.tar.gz



Other differences:
--
++ python-xhtml2pdf.spec ++
--- /var/tmp/diff_new_pack.5tG3WD/_old  2020-02-07 15:54:28.023512597 +0100
+++ /var/tmp/diff_new_pack.5tG3WD/_new  2020-02-07 15:54:28.027512599 +0100
@@ -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 @@
 %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

++ xhtml2pdf-0.2.3.tar.gz -> xhtml2pdf-0.2.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xhtml2pdf-0.2.3/PKG-INFO new/xhtml2pdf-0.2.4/PKG-INFO
--- old/xhtml2pdf-0.2.3/PKG-INFO2018-09-14 18:40:29.0 +0200
+++ new/xhtml2pdf-0.2.4/PKG-INFO2020-01-18 07:17:53.0 +0100
@@ -1,10 +1,11 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
 Name: xhtml2pdf
-Version: 0.2.3
+Version: 0.2.4
 Summary: PDF generator using HTML and CSS
 Home-page: http://github.com/xhtml2pdf/xhtml2pdf
-Author: Luis Zarate
-Author-email: luisz...@gmail.com
+Author: Dirk Holtwick
+Maintainer: Luis Zarate
+Maintainer-email: luisz...@gmail.com
 License: Apache License 2.0
 Description: XHTML2PDF
 =
@@ -219,6 +220,8 @@
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Topic :: Documentation
 Classifier: Topic :: Multimedia
 Classifier: Topic :: Office/Business
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xhtml2pdf-0.2.3/setup.py new/xhtml2pdf-0.2.4/setup.py
--- old/xhtml2pdf-0.2.3/setup.py2018-08-08 22:35:56.0 +0200
+++ new/xhtml2pdf-0.2.4/setup.py2020-01-18 07:15:50.0 +0100
@@ -64,6 +64,8 @@
 'Programming Language :: Python :: 3.4',
 'Programming Language :: Python :: 3.5',
 'Programming Language :: Python :: 3.6',
+'Programming 

commit python-xhtml2pdf for openSUSE:Factory

2019-03-08 Thread root
Hello community,

here is the log from the commit of package python-xhtml2pdf for 
openSUSE:Factory checked in at 2019-03-08 11:02:33

Comparing /work/SRC/openSUSE:Factory/python-xhtml2pdf (Old)
 and  /work/SRC/openSUSE:Factory/.python-xhtml2pdf.new.28833 (New)


Package is "python-xhtml2pdf"

Fri Mar  8 11:02:33 2019 rev:2 rq:682263 version:0.2.3

Changes:

--- /work/SRC/openSUSE:Factory/python-xhtml2pdf/python-xhtml2pdf.changes
2018-01-13 21:44:31.866791132 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-xhtml2pdf.new.28833/python-xhtml2pdf.changes 
2019-03-08 11:02:35.484529417 +0100
@@ -1,0 +2,7 @@
+Wed Mar  6 18:32:37 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.2.3:
+  * various fixes/etc
+  * no upstream changelog provided
+
+---

Old:

  0.2b.tar.gz

New:

  xhtml2pdf-0.2.3.tar.gz



Other differences:
--
++ python-xhtml2pdf.spec ++
--- /var/tmp/diff_new_pack.i6MM0w/_old  2019-03-08 11:02:36.876529195 +0100
+++ /var/tmp/diff_new_pack.i6MM0w/_new  2019-03-08 11:02:36.900529191 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-xhtml2pdf
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,22 +12,22 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-xhtml2pdf
-Version:0.2b
+Version:0.2.3
 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://github.com/xhtml2pdf/xhtml2pdf/archive/%{version}.tar.gz
+URL:https://github.com/xhtml2pdf/xhtml2pdf
+Source: 
https://files.pythonhosted.org/packages/source/x/xhtml2pdf/xhtml2pdf-%{version}.tar.gz
 BuildRequires:  %{python_module Pillow >= 2.0}
 BuildRequires:  %{python_module PyPDF2 >= 1.26}
-BuildRequires:  %{python_module html5lib >= 1.0b10}
+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}
@@ -37,13 +37,12 @@
 BuildRequires:  python-rpm-macros
 Requires:   python-Pillow >= 2.0
 Requires:   python-PyPDF2 >= 1.26
-Requires:   python-html5lib >= 1.0b10
+Requires:   python-html5lib >= 1.0
 Requires:   python-httplib2 >= 0.7.6
 Requires:   python-reportlab >= 3.0
 Requires:   python-six
 Conflicts:  python-pisa
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -56,12 +55,6 @@
 
 %prep
 %setup -q -n xhtml2pdf-%{version}
-# sed out hardcoded html5lib require
-sed -i \
--e 's:==1.0b10::g' \
-setup.py
-# remove turbogears module (broken)
-rm -rf xhtml2pdf/turbogears.py
 
 %build
 %python_build
@@ -70,11 +63,11 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%check
-%python_exec setup.py test
+# there are no test actually
 
-%files %python_files
-%doc LICENSE.txt README.rst
+%files %{python_files}
+%license LICENSE.txt
+%doc README.rst
 %{python_sitelib}/*
 %python3_only %{_bindir}/pisa
 %python3_only %{_bindir}/xhtml2pdf