From de8d2ed6a459cc7addd2bd72ec906f58dd432c8ee6c8a7d4b8e4e184ff5b1f1a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 16 Dec 2019 12:43:11 +0000 Subject: [PATCH] Accepting request 756872 from home:buschmann23:branches:devel:languages:python - Update to 2019.9.26: * Fix long blockquotes wrapping. * Remove the trailing whitespaces that were added after wrapping list items & blockquotes. * Remove support for Python <= 3.4. Now requires Python 3.5+. * Fix memory leak when processing a document containing a tag. * Fix AttributeError when reading text from stdin. * Fix UnicodeEncodeError when writing output to stdout. - Disable build for Python 2 OBS-URL: https://build.opensuse.org/request/show/756872 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=33 --- html2text-2019.8.11.tar.gz | 3 --- html2text-2019.9.26.tar.gz | 3 +++ python-html2text.changes | 12 ++++++++++++ python-html2text.spec | 7 +++++-- 4 files changed, 20 insertions(+), 5 deletions(-) delete mode 100644 html2text-2019.8.11.tar.gz create mode 100644 html2text-2019.9.26.tar.gz diff --git a/html2text-2019.8.11.tar.gz b/html2text-2019.8.11.tar.gz deleted file mode 100644 index ab3229c..0000000 --- a/html2text-2019.8.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f516b9c10284174e2a974d86f91cab02b3cf983a17752075da751af0e895ef5e -size 48721 diff --git a/html2text-2019.9.26.tar.gz b/html2text-2019.9.26.tar.gz new file mode 100644 index 0000000..9ab2b90 --- /dev/null +++ b/html2text-2019.9.26.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f56057c5c2993b5cc5b347cb099bdf6d095828fef1b53ef4e2a2bf2a1be9b4f +size 48634 diff --git a/python-html2text.changes b/python-html2text.changes index 35dcb30..d6498ce 100644 --- a/python-html2text.changes +++ b/python-html2text.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Dec 13 13:43:47 UTC 2019 - Matthias Fehring + +- Update to 2019.9.26: + * Fix long blockquotes wrapping. + * Remove the trailing whitespaces that were added after wrapping list items & blockquotes. + * Remove support for Python <= 3.4. Now requires Python 3.5+. + * Fix memory leak when processing a document containing a tag. + * Fix AttributeError when reading text from stdin. + * Fix UnicodeEncodeError when writing output to stdout. +- Disable build for Python 2 + ------------------------------------------------------------------- Thu Sep 12 08:45:34 UTC 2019 - Tomáš Chvátal diff --git a/python-html2text.spec b/python-html2text.spec index 40924b0..f420f16 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -1,7 +1,7 @@ # # spec file for package python-html2text # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,10 @@ %define upname html2text +%define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-%{upname} -Version: 2019.8.11 +Version: 2019.9.26 Release: 0 Summary: Python script for turning HTML into Markdown text License: GPL-3.0-only @@ -63,6 +64,8 @@ sed -i '/^#!/d' %{upname}/__init__.py %python_uninstall_alternative html2text %check +# otherwise python 3.6 does not automatically select UTF-8 for console output +export LANG=en_US.UTF-8 %pytest %files %{python_files}