14
0

Accepting request 266005 from home:benoit_monin:branches:devel:languages:python

update to Unidecode 0.04.17
add %check section

OBS-URL: https://build.opensuse.org/request/show/266005
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Unidecode?expand=0&rev=5
This commit is contained in:
Denisart Benjamin
2014-12-21 22:53:24 +00:00
committed by Git OBS Bridge
parent b5a380d68f
commit 89c140280a
4 changed files with 25 additions and 9 deletions

View File

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

3
Unidecode-0.04.17.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Dec 20 13:02:04 UTC 2014 - benoit.monin@gmx.fr
- update to Unidecode 0.04.17
* Add some missing Latin letter variants used by popular "Unicode
text converter" tools.
* Issue a warning if a surrogate character is encountered in
input.
* Corrected module import which might cause unidecode() to raise
AttributeError on some systems.
- add %check section
-------------------------------------------------------------------
Mon May 12 17:50:09 UTC 2014 - benoit.monin@gmx.fr

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Unidecode
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -13,18 +13,19 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-Unidecode
Version: 0.04.16
Version: 0.04.17
Release: 0
License: GPL-2.0+
Summary: ASCII transliterations of Unicode text
Url: https://pypi.python.org/pypi/Unidecode
License: GPL-2.0+
Group: Development/Languages/Python
Url: https://pypi.python.org/pypi/Unidecode
Source: http://pypi.python.org/packages/source/U/Unidecode/Unidecode-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: fdupes
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
@@ -80,8 +81,11 @@ python setup.py build
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%fdupes %buildroot/%_prefix
%check
python setup.py test
%files
%defattr(-,root,root,-)
%{python_sitelib}/*
%changelog
%changelog