15
0
forked from pool/python-ftfy

Accepting request 626368 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/626368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftfy?expand=0&rev=2
This commit is contained in:
2018-07-31 14:00:32 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 9 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jul 29 11:07:27 UTC 2018 - jengelh@inai.de
- Use noun phrase in summary. Trim filler wording from description.
-------------------------------------------------------------------
Wed May 16 16:10:48 UTC 2018 - toddrme2178@gmail.com

View File

@@ -13,6 +13,7 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -20,10 +21,10 @@
Name: python-ftfy
Version: 5.3.0
Release: 0
Summary: Python module for repairing mis-decoded Unicode text
License: MIT
Summary: Fixes some problems with Unicode text after the fact
Url: http://github.com/LuminosoInsight/python-ftfy
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}
BuildRequires: %{python_module setuptools}
@@ -31,8 +32,8 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wcwidth}
# /SECTION
Requires: python-wcwidth
@@ -41,12 +42,8 @@ BuildArch: noarch
%python_subpackages
%description
Ftfy makes Unicode text less broken and more consistent.
The most interesting kind of brokenness that this resolves
is when someone has encoded Unicode with one standard and
decoded it with a different one.
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}