Hello community,

here is the log from the commit of package python-text-unidecode for 
openSUSE:Factory checked in at 2019-02-24 17:14:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-text-unidecode (Old)
 and      /work/SRC/openSUSE:Factory/.python-text-unidecode.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-text-unidecode"

Sun Feb 24 17:14:33 2019 rev:4 rq:676149 version:1.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-text-unidecode/python-text-unidecode.changes  
    2018-12-24 11:45:10.273251129 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-text-unidecode.new.28833/python-text-unidecode.changes
   2019-02-24 17:14:36.332459047 +0100
@@ -1,0 +2,8 @@
+Thu Feb 14 14:48:04 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.2:
+  * Use pkgutil instead of pkg_resources
+  * Cleanup readme
+- Execute testsuite
+
+-------------------------------------------------------------------

Old:
----
  text-unidecode-1.1.tar.gz

New:
----
  text-unidecode-1.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-text-unidecode.spec ++++++
--- /var/tmp/diff_new_pack.vaq35g/_old  2019-02-24 17:14:37.744458796 +0100
+++ /var/tmp/diff_new_pack.vaq35g/_new  2019-02-24 17:14:37.744458796 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-text-unidecode
 #
-# 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
@@ -18,13 +18,14 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-text-unidecode
-Version:        1.1
+Version:        1.2
 Release:        0
 Summary:        The most basic Text::Unidecode port
 License:        Artistic-1.0
 Group:          Development/Languages/Python
 URL:            https://github.com/kmike/text-unidecode/
 Source:         
https://files.pythonhosted.org/packages/source/t/text-unidecode/text-unidecode-%{version}.tar.gz
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -51,6 +52,9 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix} -v
+
 %files %{python_files}
 %license LICENSE
 %doc README.rst

++++++ text-unidecode-1.1.tar.gz -> text-unidecode-1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/text-unidecode-1.1/PKG-INFO 
new/text-unidecode-1.2/PKG-INFO
--- old/text-unidecode-1.1/PKG-INFO     2017-11-07 10:26:21.000000000 +0100
+++ new/text-unidecode-1.2/PKG-INFO     2018-02-22 22:12:37.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: text-unidecode
-Version: 1.1
+Version: 1.2
 Summary: The most basic Text::Unidecode port
 Home-page: https://github.com/kmike/text-unidecode/
 Author: Mikhail Korobov
@@ -19,16 +19,16 @@
         Perl library.
         
         There are other Python ports of Text::Unidecode (unidecode_
-        and isounidecode_). unidecode_ is GPL; isounidecode_ doesn't support
-        Python 3 and uses too much memory.
+        and isounidecode_). unidecode_ is GPL; isounidecode_ uses too much 
memory,
+        and it didn't support Python 3 when this package was created.
         
         This port is licensed under `Artistic License`_ and supports Python 
2.7 and
         3.3+. If you're OK with GPL, use unidecode_ (it has better memory 
usage and
         better transliteration quality).
         
-        .. _unidecode: http://pypi.python.org/pypi/Unidecode/
-        .. _isounidecode: http://pypi.python.org/pypi/isounidecode/
-        .. _Artistic License: http://opensource.org/licenses/Artistic-Perl-1.0
+        .. _unidecode: https://pypi.python.org/pypi/Unidecode/
+        .. _isounidecode: https://pypi.python.org/pypi/isounidecode/
+        .. _Artistic License: https://opensource.org/licenses/Artistic-Perl-1.0
         
         Installation
         ------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/text-unidecode-1.1/README.rst 
new/text-unidecode-1.2/README.rst
--- old/text-unidecode-1.1/README.rst   2017-11-07 10:24:56.000000000 +0100
+++ new/text-unidecode-1.2/README.rst   2018-02-22 22:08:43.000000000 +0100
@@ -10,16 +10,16 @@
 Perl library.
 
 There are other Python ports of Text::Unidecode (unidecode_
-and isounidecode_). unidecode_ is GPL; isounidecode_ doesn't support
-Python 3 and uses too much memory.
+and isounidecode_). unidecode_ is GPL; isounidecode_ uses too much memory,
+and it didn't support Python 3 when this package was created.
 
 This port is licensed under `Artistic License`_ and supports Python 2.7 and
 3.3+. If you're OK with GPL, use unidecode_ (it has better memory usage and
 better transliteration quality).
 
-.. _unidecode: http://pypi.python.org/pypi/Unidecode/
-.. _isounidecode: http://pypi.python.org/pypi/isounidecode/
-.. _Artistic License: http://opensource.org/licenses/Artistic-Perl-1.0
+.. _unidecode: https://pypi.python.org/pypi/Unidecode/
+.. _isounidecode: https://pypi.python.org/pypi/isounidecode/
+.. _Artistic License: https://opensource.org/licenses/Artistic-Perl-1.0
 
 Installation
 ------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/text-unidecode-1.1/setup.py 
new/text-unidecode-1.2/setup.py
--- old/text-unidecode-1.1/setup.py     2017-11-07 10:24:04.000000000 +0100
+++ new/text-unidecode-1.2/setup.py     2018-02-22 22:10:43.000000000 +0100
@@ -3,7 +3,7 @@
 import sys
 from setuptools import setup
 
-__version__ = '1.1'
+__version__ = '1.2'
 
 
 if sys.version_info >= (3, ):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/text-unidecode-1.1/src/text_unidecode/__init__.py 
new/text-unidecode-1.2/src/text_unidecode/__init__.py
--- old/text-unidecode-1.1/src/text_unidecode/__init__.py       2017-11-07 
10:21:48.000000000 +0100
+++ new/text-unidecode-1.2/src/text_unidecode/__init__.py       2018-02-22 
22:06:32.000000000 +0100
@@ -1,12 +1,9 @@
 # -*- coding: utf-8 -*-
 from __future__ import absolute_import, unicode_literals
 import os
-from pkg_resources import resource_filename
-
-_data_path = resource_filename(__name__, 'data.bin')
-with open(_data_path, 'rb') as f:
-    _replaces = f.read().decode('utf8').split('\x00')
+import pkgutil
 
+_replaces = pkgutil.get_data(__name__, 'data.bin').decode('utf8').split('\x00')
 
 def unidecode(txt):
     chars = []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/text-unidecode-1.1/src/text_unidecode.egg-info/PKG-INFO 
new/text-unidecode-1.2/src/text_unidecode.egg-info/PKG-INFO
--- old/text-unidecode-1.1/src/text_unidecode.egg-info/PKG-INFO 2017-11-07 
10:26:21.000000000 +0100
+++ new/text-unidecode-1.2/src/text_unidecode.egg-info/PKG-INFO 2018-02-22 
22:12:37.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: text-unidecode
-Version: 1.1
+Version: 1.2
 Summary: The most basic Text::Unidecode port
 Home-page: https://github.com/kmike/text-unidecode/
 Author: Mikhail Korobov
@@ -19,16 +19,16 @@
         Perl library.
         
         There are other Python ports of Text::Unidecode (unidecode_
-        and isounidecode_). unidecode_ is GPL; isounidecode_ doesn't support
-        Python 3 and uses too much memory.
+        and isounidecode_). unidecode_ is GPL; isounidecode_ uses too much 
memory,
+        and it didn't support Python 3 when this package was created.
         
         This port is licensed under `Artistic License`_ and supports Python 
2.7 and
         3.3+. If you're OK with GPL, use unidecode_ (it has better memory 
usage and
         better transliteration quality).
         
-        .. _unidecode: http://pypi.python.org/pypi/Unidecode/
-        .. _isounidecode: http://pypi.python.org/pypi/isounidecode/
-        .. _Artistic License: http://opensource.org/licenses/Artistic-Perl-1.0
+        .. _unidecode: https://pypi.python.org/pypi/Unidecode/
+        .. _isounidecode: https://pypi.python.org/pypi/isounidecode/
+        .. _Artistic License: https://opensource.org/licenses/Artistic-Perl-1.0
         
         Installation
         ------------


Reply via email to