15
0
forked from pool/python-ftfy

- update to 6.0.3:

*  Allow the keyword argument `fix_entities` as a deprecated alias for
    `unescape_html`, raising a warning.
  *  `ftfy.formatting` functions now disregard ANSI terminal escapes when
    calculating text width.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=17
This commit is contained in:
2022-01-15 17:48:49 +00:00
committed by Git OBS Bridge
parent de4b8f8770
commit 0e31fb300e
4 changed files with 16 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ftfy
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,12 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-ftfy
Version: 6.0.1
Version: 6.0.3
Release: 0
Summary: Python module for repairing mis-decoded Unicode text
License: MIT
URL: https://github.com/LuminosoInsight/python-ftfy
Source: https://github.com/LuminosoInsight/python-ftfy/archive/v%{version}.tar.gz#/ftfy-%{version}.tar.gz
URL: https://github.com/rspeer/python-ftfy
Source: https://github.com/rspeer/python-ftfy/archive/refs/tags/v%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros