15
0
forked from pool/python-ftfy

- Update to version 5.5.1:

* Fixes build on python3.7
  * Use Unicode 11

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal
2018-10-18 09:58:47 +00:00
committed by Git OBS Bridge
parent 61c8579e5b
commit 9da51fa814
4 changed files with 14 additions and 9 deletions

View File

@@ -12,26 +12,24 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-ftfy
Version: 5.3.0
Version: 5.5.1
Release: 0
Summary: Python module for repairing mis-decoded Unicode text
License: MIT
Group: Development/Languages/Python
Url: http://github.com/LuminosoInsight/python-ftfy
Source: https://files.pythonhosted.org/packages/source/f/ftfy/ftfy-%{version}.tar.gz
BuildRequires: %{python_module devel}
Source: https://github.com/LuminosoInsight/python-ftfy/archive/v%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wcwidth}
@@ -46,7 +44,7 @@ Ftfy attempts to repair Unicode text that has been erroneously
put through an encode/decode cycle with different encodings.
%prep
%setup -q -n ftfy-%{version}
%setup -q -n python-ftfy-%{version}
%build
%python_build