Hello community,
here is the log from the commit of package python-html2text for
openSUSE:Factory checked in at 2019-09-13 15:00:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-html2text (Old)
and /work/SRC/openSUSE:Factory/.python-html2text.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-html2text"
Fri Sep 13 15:00:23 2019 rev:20 rq:730321 version:2019.8.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-html2text/python-html2text.changes
2018-12-24 11:38:09.277624483 +0100
+++
/work/SRC/openSUSE:Factory/.python-html2text.new.7948/python-html2text.changes
2019-09-13 15:00:28.777282730 +0200
@@ -1,0 +2,14 @@
+Thu Sep 12 08:45:34 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 2019.8.11:
+ * Fix #201: handle ‎/‏ marks mid-text within stressed tags or right
after stressed tags.
+ * Feature #213: images_as_html config option to always generate an img html
tag. preserves "height", "width" and "alt" if possible.
+ * Remove support for end-of-life Pythons. Now requires Python 2.7 or 3.4+.
+ * Remove support for retrieving HTML over the network.
+ * Add __main__.py module to allow running the CLI using python -m html2text
....
+ * Fix #238: correct spacing when a HTML entity follows a non-stressed tags
which follow a stressed tag.
+ * Remove unused or deprecated: * html2text.compat.escape() *
html2text.config.RE_UNESCAPE * html2text.HTML2Text.replaceEntities() *
html2text.HTML2Text.unescape() * html2text.unescape()
+ * Fix #208: handle LEFT-TO-RIGHT MARK after a stressed tag.
+- Remove patch remove_unittest2.patch
+
+-------------------------------------------------------------------
Old:
----
html2text-2018.1.9.tar.gz
remove_unittest2.patch
New:
----
html2text-2019.8.11.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-html2text.spec ++++++
--- /var/tmp/diff_new_pack.sla7A6/_old 2019-09-13 15:00:30.149282789 +0200
+++ /var/tmp/diff_new_pack.sla7A6/_new 2019-09-13 15:00:30.189282790 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-html2text
#
-# Copyright (c) 2018 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
@@ -16,20 +16,17 @@
#
-#
%define upname html2text
-
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without tests
Name: python-%{upname}
-Version: 2018.1.9
+Version: 2019.8.11
Release: 0
Summary: Python script for turning HTML into Markdown text
License: GPL-3.0-only
Group: Development/Languages/Python
URL: https://github.com/Alir3z4/html2text/
Source:
https://files.pythonhosted.org/packages/source/h/%{upname}/%{upname}-%{version}.tar.gz
-Patch0: remove_unittest2.patch
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -44,7 +41,6 @@
%prep
%setup -q -n %{upname}-%{version}
-%patch0 -p1
# remove useless shebang
sed -i '/^#!/d' %{upname}/__init__.py
@@ -66,10 +62,8 @@
%postun
%python_uninstall_alternative html2text
-%if %{with tests}
%check
-%python_exec setup.py test
-%endif
+%pytest
%files %{python_files}
%license COPYING
++++++ html2text-2018.1.9.tar.gz -> html2text-2019.8.11.tar.gz ++++++
++++ 3464 lines of diff (skipped)