Accepting request 722792 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/722792 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftfy?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 12 12:31:18 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- Update to version 5.6
|
||||
* The unescape_html function now supports all the HTML5 entities
|
||||
that appear in html.entities.html5, including those with long
|
||||
names such as ˝.
|
||||
* Unescaping of numeric HTML entities now uses the standard library's
|
||||
html.unescape, making edge cases consistent.
|
||||
* On top of Python's support for HTML5 entities, ftfy will also
|
||||
convert HTML escapes of common Latin capital letters that are
|
||||
(nonstandardly) written in all caps, such as &NTILDE; for Ñ.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 18 09:57:30 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ftfy
|
||||
#
|
||||
# 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
|
||||
@@ -19,24 +19,23 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-ftfy
|
||||
Version: 5.5.1
|
||||
Version: 5.6
|
||||
Release: 0
|
||||
Summary: Python module for repairing mis-decoded Unicode text
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://github.com/LuminosoInsight/python-ftfy
|
||||
URL: https://github.com/LuminosoInsight/python-ftfy
|
||||
Source: https://github.com/LuminosoInsight/python-ftfy/archive/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-wcwidth
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module wcwidth}
|
||||
# /SECTION
|
||||
Requires: python-wcwidth
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -54,12 +53,8 @@ put through an encode/decode cycle with different encodings.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%{python_expand export PYTHONDONTWRITEBYTECODE=1
|
||||
export LANG=en_US.UTF-8
|
||||
export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
export PATH="$PATH:%{buildroot}%{_bindir}"
|
||||
py.test-%{$python_bin_suffix}
|
||||
}
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGELOG.md README.md
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a61cf8212baa3cd80e1fb6cd379b665f603016a1e97253a7f55938c748cc23bf
|
||||
size 68188
|
||||
3
v5.6.tar.gz
Normal file
3
v5.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2486acff2a93b217b21d79fcda23ac42b781bd8e9ac198e13a11a780edd695d4
|
||||
size 69685
|
||||
Reference in New Issue
Block a user