From 89c140280a041db68c1da76a919fb00cc61bfbbb04aaa0fe9289df3227b17f4a Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Sun, 21 Dec 2014 22:53:24 +0000
Subject: [PATCH] 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
---
Unidecode-0.04.16.tar.gz | 3 ---
Unidecode-0.04.17.tar.gz | 3 +++
python-Unidecode.changes | 12 ++++++++++++
python-Unidecode.spec | 16 ++++++++++------
4 files changed, 25 insertions(+), 9 deletions(-)
delete mode 100644 Unidecode-0.04.16.tar.gz
create mode 100644 Unidecode-0.04.17.tar.gz
diff --git a/Unidecode-0.04.16.tar.gz b/Unidecode-0.04.16.tar.gz
deleted file mode 100644
index c8df800..0000000
--- a/Unidecode-0.04.16.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4cd218737d1a807bbaba9a6534fc3c80d129cff76cf7d7fdbd71e744d836657b
-size 200525
diff --git a/Unidecode-0.04.17.tar.gz b/Unidecode-0.04.17.tar.gz
new file mode 100644
index 0000000..18cd0e2
--- /dev/null
+++ b/Unidecode-0.04.17.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f0f8d53d39877da4849293d548eecb5e79364b573643296869dbc7f5b86709ef
+size 201090
diff --git a/python-Unidecode.changes b/python-Unidecode.changes
index a2334ae..7048e51 100644
--- a/python-Unidecode.changes
+++ b/python-Unidecode.changes
@@ -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
diff --git a/python-Unidecode.spec b/python-Unidecode.spec
index 8366a25..8e4cc24 100644
--- a/python-Unidecode.spec
+++ b/python-Unidecode.spec
@@ -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
\ No newline at end of file
+%changelog