15
0

Accepting request 757332 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/757332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=21
This commit is contained in:
2019-12-16 14:21:29 +00:00
committed by Git OBS Bridge
4 changed files with 20 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f516b9c10284174e2a974d86f91cab02b3cf983a17752075da751af0e895ef5e
size 48721

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6f56057c5c2993b5cc5b347cb099bdf6d095828fef1b53ef4e2a2bf2a1be9b4f
size 48634

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Dec 13 13:43:47 UTC 2019 - Matthias Fehring <buschmann23@opensuse.org>
- 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 <abbr> 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 <tchvatal@suse.com>

View File

@@ -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}