commit python-Unidecode for openSUSE:Factory
Hello community, here is the log from the commit of package python-Unidecode for openSUSE:Factory checked in at 2019-09-23 12:07:35 Comparing /work/SRC/openSUSE:Factory/python-Unidecode (Old) and /work/SRC/openSUSE:Factory/.python-Unidecode.new.7948 (New) Package is "python-Unidecode" Mon Sep 23 12:07:35 2019 rev:10 rq:730130 version:1.1.1 Changes: --- /work/SRC/openSUSE:Factory/python-Unidecode/python-Unidecode.changes 2019-06-17 10:30:29.537356057 +0200 +++ /work/SRC/openSUSE:Factory/.python-Unidecode.new.7948/python-Unidecode.changes 2019-09-23 12:07:41.437902593 +0200 @@ -1,0 +2,6 @@ +Wed Sep 11 12:35:09 UTC 2019 - Tomáš Chvátal + +- Update to 1.1.1: + * no upstream changelog + +--- Old: Unidecode-1.1.0.tar.gz New: Unidecode-1.1.1.tar.gz Other differences: -- ++ python-Unidecode.spec ++ --- /var/tmp/diff_new_pack.xZE49y/_old 2019-09-23 12:07:42.345902443 +0200 +++ /var/tmp/diff_new_pack.xZE49y/_new 2019-09-23 12:07:42.345902443 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Unidecode -Version:1.1.0 +Version:1.1.1 Release:0 Summary:ASCII transliterations of Unicode text License:GPL-2.0-or-later ++ Unidecode-1.1.0.tar.gz -> Unidecode-1.1.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-1.1.0/ChangeLog new/Unidecode-1.1.1/ChangeLog --- old/Unidecode-1.1.0/ChangeLog 2019-06-14 16:26:44.0 +0200 +++ new/Unidecode-1.1.1/ChangeLog 2019-06-21 11:02:29.0 +0200 @@ -1,3 +1,6 @@ +2019-06-21 unidecode 1.1.1 + * Fix tests failing on PyPy 7.1.1 + 2019-06-14 unidecode 1.1.0 * Add more Latin letter variants in U+1F1xx page. * Make it possible to use the Unidecode command-line utility via diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-1.1.0/PKG-INFO new/Unidecode-1.1.1/PKG-INFO --- old/Unidecode-1.1.0/PKG-INFO2019-06-14 16:35:37.0 +0200 +++ new/Unidecode-1.1.1/PKG-INFO2019-06-21 11:09:00.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: Unidecode -Version: 1.1.0 +Version: 1.1.1 Summary: ASCII transliterations of Unicode text Home-page: UNKNOWN Author: Tomaz Solc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-1.1.0/Unidecode.egg-info/PKG-INFO new/Unidecode-1.1.1/Unidecode.egg-info/PKG-INFO --- old/Unidecode-1.1.0/Unidecode.egg-info/PKG-INFO 2019-06-14 16:35:36.0 +0200 +++ new/Unidecode-1.1.1/Unidecode.egg-info/PKG-INFO 2019-06-21 11:09:00.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: Unidecode -Version: 1.1.0 +Version: 1.1.1 Summary: ASCII transliterations of Unicode text Home-page: UNKNOWN Author: Tomaz Solc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-1.1.0/setup.py new/Unidecode-1.1.1/setup.py --- old/Unidecode-1.1.0/setup.py2019-06-14 16:28:38.0 +0200 +++ new/Unidecode-1.1.1/setup.py2019-06-21 11:02:36.0 +0200 @@ -11,7 +11,7 @@ setup( name='Unidecode', -version='1.1.0', +version='1.1.1', description='ASCII transliterations of Unicode text', license='GPL', long_description=get_long_description(), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-1.1.0/tests/test_utility.py new/Unidecode-1.1.1/tests/test_utility.py --- old/Unidecode-1.1.0/tests/test_utility.py 2019-01-19 11:34:57.0 +0100 +++ new/Unidecode-1.1.1/tests/test_utility.py 2019-06-16 11:01:32.0 +0200 @@ -5,10 +5,14 @@ import subprocess import sys import tempfile +import re here = os.path.dirname(__file__) +# Python 2.7 does not have assertRegex +if not hasattr(unittest.TestCase, 'assertRegex'): +unittest.TestCase.assertRegex = lambda self, text, exp: self.assertTrue(re.search(exp, text)) def get_cmd(): sys_path = os.path.join(here, "..") @@ -22,7 +26,7 @@ out, err = p.communicate() -return out.decode('ascii'), err.decode('ascii') +return out.decode('ascii'), err.decode('ascii'), p.returncode def temp(content): f = tempfile.NamedTemporaryFile() @@ -37,21 +41,24 @@ def test_encoding_error(self): f = temp(self.TEST_UNICODE.encode('sjis')) -out, err = run(['-e', 'utf8', f.name]) +out, err, rc = run(['-e', 'utf8', f.name]) -expected = 'Unable to decode input: invalid start byte, start: 0,
commit python-Unidecode for openSUSE:Factory
Hello community, here is the log from the commit of package python-Unidecode for openSUSE:Factory checked in at 2019-06-17 10:30:24 Comparing /work/SRC/openSUSE:Factory/python-Unidecode (Old) and /work/SRC/openSUSE:Factory/.python-Unidecode.new.4811 (New) Package is "python-Unidecode" Mon Jun 17 10:30:24 2019 rev:9 rq:710078 version:1.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-Unidecode/python-Unidecode.changes 2018-12-07 14:36:21.42709 +0100 +++ /work/SRC/openSUSE:Factory/.python-Unidecode.new.4811/python-Unidecode.changes 2019-06-17 10:30:29.537356057 +0200 @@ -1,0 +2,10 @@ +Fri Jun 14 16:48:52 UTC 2019 - Benoît Monin + +- update to Unidecode 1.1.0: + * Add more Latin letter variants in U+1F1xx page + * Make it possible to use the Unidecode command-line utility via +"python -m unidecode" (thanks to Jon Dufresne) + * General clean up of code and documentation +(thanks to Jon Dufresne) + +--- Old: Unidecode-1.0.23.tar.gz New: Unidecode-1.1.0.tar.gz Other differences: -- ++ python-Unidecode.spec ++ --- /var/tmp/diff_new_pack.XbFcdS/_old 2019-06-17 10:30:32.977354158 +0200 +++ /var/tmp/diff_new_pack.XbFcdS/_new 2019-06-17 10:30:32.997354147 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-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,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Unidecode -Version:1.0.23 +Version:1.1.0 Release:0 Summary:ASCII transliterations of Unicode text License:GPL-2.0-or-later ++ Unidecode-1.0.23.tar.gz -> Unidecode-1.1.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-1.0.23/ChangeLog new/Unidecode-1.1.0/ChangeLog --- old/Unidecode-1.0.23/ChangeLog 2018-11-19 08:09:39.0 +0100 +++ new/Unidecode-1.1.0/ChangeLog 2019-06-14 16:26:44.0 +0200 @@ -1,3 +1,9 @@ +2019-06-14 unidecode 1.1.0 + * Add more Latin letter variants in U+1F1xx page. + * Make it possible to use the Unidecode command-line utility via + "python -m unidecode" (thanks to Jon Dufresne) + * General clean up of code and documentation (thanks to Jon Dufresne) + 2018-11-19 unidecode 1.0.23 * Improve transliteration of Hebrew letters (thanks to Alon Bar-Lev) * Add transliterations for the phonetic block U+1D00 - U+1D7F diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-1.0.23/PKG-INFO new/Unidecode-1.1.0/PKG-INFO --- old/Unidecode-1.0.23/PKG-INFO 2018-11-19 08:38:18.0 +0100 +++ new/Unidecode-1.1.0/PKG-INFO2019-06-14 16:35:37.0 +0200 @@ -1,6 +1,6 @@ -Metadata-Version: 1.1 +Metadata-Version: 1.2 Name: Unidecode -Version: 1.0.23 +Version: 1.1.0 Summary: ASCII transliterations of Unicode text Home-page: UNKNOWN Author: Tomaz Solc @@ -15,13 +15,13 @@ keyboard, or when constructing ASCII machine identifiers from human-readable Unicode strings that should still be somewhat intelligible (a popular example of this is when making an URL slug from an article -title). +title). -In most of these examples you could represent Unicode characters as -`???` or `\\15BA\\15A0\\1610`, to mention two extreme cases. But that's -nearly useless to someone who actually wants to read what the text says. +In most of these examples you could represent Unicode characters as ``???`` or +``\\15BA\\15A0\\1610``, to mention two extreme cases. But that's nearly useless +to someone who actually wants to read what the text says. -What Unidecode provides is a middle road: function `unidecode()` takes +What Unidecode provides is a middle road: the function ``unidecode()`` takes Unicode data and tries to represent it in ASCII characters (i.e., the universally displayable characters between 0x00 and 0x7F), where the compromises taken when mapping between two character sets are chosen to be @@ -43,8 +43,8 @@ example also contain ASCII approximations for symbols and non-Latin alphabets. -This is a Python port of `Text::Unidecode` Perl module by -Sean M. Burke . +This is a Python port of ``Text::Un
commit python-Unidecode for openSUSE:Factory
Hello community, here is the log from the commit of package python-Unidecode for openSUSE:Factory checked in at 2018-12-07 14:36:17 Comparing /work/SRC/openSUSE:Factory/python-Unidecode (Old) and /work/SRC/openSUSE:Factory/.python-Unidecode.new.19453 (New) Package is "python-Unidecode" Fri Dec 7 14:36:17 2018 rev:8 rq:655700 version:1.0.23 Changes: --- /work/SRC/openSUSE:Factory/python-Unidecode/python-Unidecode.changes 2018-11-26 10:27:02.797257449 +0100 +++ /work/SRC/openSUSE:Factory/.python-Unidecode.new.19453/python-Unidecode.changes 2018-12-07 14:36:21.42709 +0100 @@ -1,0 +2,10 @@ +Thu Dec 6 14:30:29 UTC 2018 - Tomáš Chvátal + +- Run correct fdupes call + +--- +Tue Dec 4 12:55:35 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-Unidecode.spec ++ --- /var/tmp/diff_new_pack.R5ua8I/_old 2018-12-07 14:36:23.410997551 +0100 +++ /var/tmp/diff_new_pack.R5ua8I/_new 2018-12-07 14:36:23.414997545 +0100 @@ -23,15 +23,13 @@ Summary:ASCII transliterations of Unicode text License:GPL-2.0-or-later Group: Development/Languages/Python -Url:https://pypi.python.org/pypi/Unidecode +URL:https://pypi.python.org/pypi/Unidecode Source: https://files.pythonhosted.org/packages/source/U/Unidecode/Unidecode-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(preun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -81,7 +79,7 @@ %install %python_install -%python_expand %fdupes %{buildroot}/%_prefix +%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/unidecode @@ -95,8 +93,7 @@ %preun %python_uninstall_alternative unidecode -%files %python_files -%defattr(-,root,root,-) +%files %{python_files} %license LICENSE %doc ChangeLog README.rst %{python_sitelib}/*
commit python-Unidecode for openSUSE:Factory
Hello community, here is the log from the commit of package python-Unidecode for openSUSE:Factory checked in at 2018-11-26 10:24:38 Comparing /work/SRC/openSUSE:Factory/python-Unidecode (Old) and /work/SRC/openSUSE:Factory/.python-Unidecode.new.19453 (New) Package is "python-Unidecode" Mon Nov 26 10:24:38 2018 rev:7 rq:650341 version:1.0.23 Changes: --- /work/SRC/openSUSE:Factory/python-Unidecode/python-Unidecode.changes 2018-01-07 17:24:11.681340400 +0100 +++ /work/SRC/openSUSE:Factory/.python-Unidecode.new.19453/python-Unidecode.changes 2018-11-26 10:27:02.797257449 +0100 @@ -1,0 +2,16 @@ +Mon Nov 19 19:48:35 UTC 2018 - Benoît Monin + +- update to Unidecode 1.0.23: + * Improve transliteration of Hebrew letters +(thanks to Alon Bar-Lev) + * Add transliterations for the phonetic block U+1D00 - U+1D7F +(thanks to Oscar Laurent) + * Transliterate SI "micro" prefix as "u" instead of "micro" in +the U+33xx block. + * Add U+33DE SQUARE V OVER M and U+33DF SQUARE A OVER M. + * Drop support for Python 2.6 and 3.3 (thanks to Jon Dufresne) +- spec cleanup: fix license to GPL-2.0-or-later +- mark the LICENSE file as %license instead of %doc +- add the README to the documentation + +--- Old: Unidecode-1.0.22.tar.gz New: Unidecode-1.0.23.tar.gz Other differences: -- ++ python-Unidecode.spec ++ --- /var/tmp/diff_new_pack.um8Ruu/_old 2018-11-26 10:27:04.721255190 +0100 +++ /var/tmp/diff_new_pack.um8Ruu/_new 2018-11-26 10:27:04.721255190 +0100 @@ -12,16 +12,16 @@ # 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-%{**}} Name: python-Unidecode -Version:1.0.22 +Version:1.0.23 Release:0 Summary:ASCII transliterations of Unicode text -License:GPL-2.0+ +License:GPL-2.0-or-later Group: Development/Languages/Python Url:https://pypi.python.org/pypi/Unidecode Source: https://files.pythonhosted.org/packages/source/U/Unidecode/Unidecode-%{version}.tar.gz @@ -97,7 +97,8 @@ %files %python_files %defattr(-,root,root,-) -%doc LICENSE ChangeLog +%license LICENSE +%doc ChangeLog README.rst %{python_sitelib}/* %python_alternative %{_bindir}/unidecode ++ Unidecode-1.0.22.tar.gz -> Unidecode-1.0.23.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-1.0.22/ChangeLog new/Unidecode-1.0.23/ChangeLog --- old/Unidecode-1.0.22/ChangeLog 2018-01-05 16:51:54.0 +0100 +++ new/Unidecode-1.0.23/ChangeLog 2018-11-19 08:09:39.0 +0100 @@ -1,3 +1,12 @@ +2018-11-19 unidecode 1.0.23 + * Improve transliteration of Hebrew letters (thanks to Alon Bar-Lev) + * Add transliterations for the phonetic block U+1D00 - U+1D7F + (thanks to Oscar Laurent) + * Transliterate SI "micro" prefix as "u" instead of "micro" in the + U+33xx block. + * Add U+33DE SQUARE V OVER M and U+33DF SQUARE A OVER M. + * Drop support for Python 2.6 and 3.3 (thanks to Jon Dufresne) + 2018-01-05 unidecode 1.0.22 * Move to semantic version numbering, no longer following version numbers from the original Perl module. This fixes an issue with diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-1.0.22/PKG-INFO new/Unidecode-1.0.23/PKG-INFO --- old/Unidecode-1.0.22/PKG-INFO 2018-01-05 17:16:20.0 +0100 +++ new/Unidecode-1.0.23/PKG-INFO 2018-11-19 08:38:18.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: Unidecode -Version: 1.0.22 +Version: 1.0.23 Summary: ASCII transliterations of Unicode text Home-page: UNKNOWN Author: Tomaz Solc @@ -117,6 +117,44 @@ $ python setup.py install $ python setup.py test +Frequently asked questions +-- + +German umlauts are transliterated incorrectly +Latin letters "a", "o" and "u" with diaeresis are transliterated by +Unidecode as "a", "o", "u", *not* according to German rules "ae", "oe", +"ue". This is intentional and will not be changed. Rationale is that these +letters are used in languages other than German (for example, Finnish and +Turkish). German text transliterated without the extra "e" is much more +re
commit python-Unidecode for openSUSE:Factory
Hello community, here is the log from the commit of package python-Unidecode for openSUSE:Factory checked in at 2018-01-07 17:24:07 Comparing /work/SRC/openSUSE:Factory/python-Unidecode (Old) and /work/SRC/openSUSE:Factory/.python-Unidecode.new (New) Package is "python-Unidecode" Sun Jan 7 17:24:07 2018 rev:6 rq:562241 version:1.0.22 Changes: --- /work/SRC/openSUSE:Factory/python-Unidecode/python-Unidecode.changes 2017-06-29 15:16:55.885650048 +0200 +++ /work/SRC/openSUSE:Factory/.python-Unidecode.new/python-Unidecode.changes 2018-01-07 17:24:11.681340400 +0100 @@ -1,0 +2,14 @@ +Sat Jan 6 21:26:05 UTC 2018 - benoit.mo...@gmx.fr + +- update to Unidecode 1.0.22: + * Move to semantic version numbering, no longer following version +numbers from the original Perl module. This fixes an issue with +setuptools (>= 8) and others expecting major.minor.patch format +(https://github.com/avian2/unidecode/issues/13) + * Add transliterations for currency signs U+20B0 through U+20BF +(thanks to Mike Swanson) + * Surround transliterations of vulgar fractions with spaces to +avoid incorrect combinations with adjacent numerals +(thanks to Jeffrey Gerard) + +--- Old: Unidecode-0.04.21.tar.gz New: Unidecode-1.0.22.tar.gz Other differences: -- ++ python-Unidecode.spec ++ --- /var/tmp/diff_new_pack.Xa8zjT/_old 2018-01-07 17:24:12.413306091 +0100 +++ /var/tmp/diff_new_pack.Xa8zjT/_new 2018-01-07 17:24:12.417305903 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Unidecode # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Unidecode -Version:0.04.21 +Version:1.0.22 Release:0 Summary:ASCII transliterations of Unicode text License:GPL-2.0+ ++ Unidecode-0.04.21.tar.gz -> Unidecode-1.0.22.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-0.04.21/ChangeLog new/Unidecode-1.0.22/ChangeLog --- old/Unidecode-0.04.21/ChangeLog 2017-06-28 13:43:20.0 +0200 +++ new/Unidecode-1.0.22/ChangeLog 2018-01-05 16:51:54.0 +0100 @@ -1,3 +1,14 @@ +2018-01-05 unidecode 1.0.22 + * Move to semantic version numbering, no longer following version + numbers from the original Perl module. This fixes an issue with + setuptools (>= 8) and others expecting major.minor.patch format. + (https://github.com/avian2/unidecode/issues/13) + * Add transliterations for currency signs U+20B0 through U+20BF + (thanks to Mike Swanson) + * Surround transliterations of vulgar fractions with spaces to avoid + incorrect combinations with adjacent numerals + (thanks to Jeffrey Gerard) + 2017-06-28 unidecode 0.04.21 * Add U+2116 NUMERO SIGN (thanks to Alan Davidson) * Add U+05BE HEBREW PUNCTUATION MAQAF (thanks to Micha Moskovic) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-0.04.21/PKG-INFO new/Unidecode-1.0.22/PKG-INFO --- old/Unidecode-0.04.21/PKG-INFO 2017-06-28 13:56:48.0 +0200 +++ new/Unidecode-1.0.22/PKG-INFO 2018-01-05 17:16:20.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: Unidecode -Version: 0.04.21 +Version: 1.0.22 Summary: ASCII transliterations of Unicode text Home-page: UNKNOWN Author: Tomaz Solc @@ -78,7 +78,9 @@ $ unidecode hello.txt hello -The default encoding used by the utility depends on your system locale. You can specify another encoding with the `-e` argument. See `unidecode --help` for a full list of available options. +The default encoding used by the utility depends on your system locale. You can +specify another encoding with the `-e` argument. See `unidecode --help` for a +full list of available options. Requirements @@ -168,7 +170,7 @@ Python code and later additions: -Copyright 2017, Tomaz Solc +Copyright 2018, Tomaz Solc This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -194,6 +196,14 @@ Classifier: License :: OSI Approved ::
commit python-Unidecode for openSUSE:Factory
Hello community, here is the log from the commit of package python-Unidecode for openSUSE:Factory checked in at 2017-06-29 15:16:49 Comparing /work/SRC/openSUSE:Factory/python-Unidecode (Old) and /work/SRC/openSUSE:Factory/.python-Unidecode.new (New) Package is "python-Unidecode" Thu Jun 29 15:16:49 2017 rev:5 rq:506879 version:0.04.21 Changes: --- /work/SRC/openSUSE:Factory/python-Unidecode/python-Unidecode.changes 2017-04-17 10:26:24.929328592 +0200 +++ /work/SRC/openSUSE:Factory/.python-Unidecode.new/python-Unidecode.changes 2017-06-29 15:16:55.885650048 +0200 @@ -1,0 +2,7 @@ +Wed Jun 28 18:15:36 UTC 2017 - benoit.mo...@gmx.fr + +- update to Unidecode 0.04.21: + * Add U+2116 NUMERO SIGN (thanks to Alan Davidson) + * Add U+05BE HEBREW PUNCTUATION MAQAF (thanks to Micha Moskovic) + +--- Old: Unidecode-0.04.20.tar.gz New: Unidecode-0.04.21.tar.gz Other differences: -- ++ python-Unidecode.spec ++ --- /var/tmp/diff_new_pack.vluPGB/_old 2017-06-29 15:16:59.873086380 +0200 +++ /var/tmp/diff_new_pack.vluPGB/_new 2017-06-29 15:16:59.877085814 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Unidecode -Version:0.04.20 +Version:0.04.21 Release:0 Summary:ASCII transliterations of Unicode text License:GPL-2.0+ ++ Unidecode-0.04.20.tar.gz -> Unidecode-0.04.21.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-0.04.20/ChangeLog new/Unidecode-0.04.21/ChangeLog --- old/Unidecode-0.04.20/ChangeLog 2017-01-09 17:34:31.0 +0100 +++ new/Unidecode-0.04.21/ChangeLog 2017-06-28 13:43:20.0 +0200 @@ -1,3 +1,7 @@ +2017-06-28 unidecode 0.04.21 + * Add U+2116 NUMERO SIGN (thanks to Alan Davidson) + * Add U+05BE HEBREW PUNCTUATION MAQAF (thanks to Micha Moskovic) + 2017-01-09 unidecode 0.04.20 * Fixed transliteration of circled Latin letters and numbers (thanks to Krzysztof Jurewicz). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-0.04.20/PKG-INFO new/Unidecode-0.04.21/PKG-INFO --- old/Unidecode-0.04.20/PKG-INFO 2017-01-09 17:47:49.0 +0100 +++ new/Unidecode-0.04.21/PKG-INFO 2017-06-28 13:56:48.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: Unidecode -Version: 0.04.20 +Version: 0.04.21 Summary: ASCII transliterations of Unicode text Home-page: UNKNOWN Author: Tomaz Solc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-0.04.20/Unidecode.egg-info/PKG-INFO new/Unidecode-0.04.21/Unidecode.egg-info/PKG-INFO --- old/Unidecode-0.04.20/Unidecode.egg-info/PKG-INFO 2017-01-09 17:47:48.0 +0100 +++ new/Unidecode-0.04.21/Unidecode.egg-info/PKG-INFO 2017-06-28 13:56:47.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: Unidecode -Version: 0.04.20 +Version: 0.04.21 Summary: ASCII transliterations of Unicode text Home-page: UNKNOWN Author: Tomaz Solc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-0.04.20/setup.py new/Unidecode-0.04.21/setup.py --- old/Unidecode-0.04.20/setup.py 2017-01-09 17:25:35.0 +0100 +++ new/Unidecode-0.04.21/setup.py 2017-06-28 13:43:25.0 +0200 @@ -10,7 +10,7 @@ setup( name='Unidecode', -version='0.04.20', +version='0.04.21', description='ASCII transliterations of Unicode text', license='GPL', long_description=get_long_description(), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-0.04.20/unidecode/x005.py new/Unidecode-0.04.21/unidecode/x005.py --- old/Unidecode-0.04.20/unidecode/x005.py 2015-11-30 16:45:45.0 +0100 +++ new/Unidecode-0.04.21/unidecode/x005.py 2017-06-23 11:47:03.0 +0200 @@ -189,7 +189,7 @@ 'u',# 0xbb '\'',# 0xbc '',# 0xbd -'',# 0xbe +'-',# 0xbe '',# 0xbf '|',# 0xc0 '',# 0xc1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-0.04.20/unidecode/x021.py new/Unidecode-0.04.21/unidecode/x021.py --- old/Unidecode-0.04.20/unidecode/x021.py 2017-01-09 17:25:04.0 +0100 +++ new/Unidecode-0.04.21/unidecode/x021.py 2017-01-17 09:29:24.0 +0100 @@ -21,7 +21,7 @@ 'l',# 0x13 '',# 0x14 'N',# 0x15 -'',# 0x16 +'No. ',# 0x16 '',# 0x17 '',# 0x18 'P',# 0x19
commit python-Unidecode for openSUSE:Factory
Hello community, here is the log from the commit of package python-Unidecode for openSUSE:Factory checked in at 2017-04-17 10:26:23 Comparing /work/SRC/openSUSE:Factory/python-Unidecode (Old) and /work/SRC/openSUSE:Factory/.python-Unidecode.new (New) Package is "python-Unidecode" Mon Apr 17 10:26:23 2017 rev:4 rq:487434 version:0.04.20 Changes: --- /work/SRC/openSUSE:Factory/python-Unidecode/python-Unidecode.changes 2017-01-12 15:57:29.597449076 +0100 +++ /work/SRC/openSUSE:Factory/.python-Unidecode.new/python-Unidecode.changes 2017-04-17 10:26:24.929328592 +0200 @@ -1,0 +2,5 @@ +Thu Apr 6 16:10:57 UTC 2017 - alarr...@suse.com + +- Use singlespec macros + +--- Other differences: -- ++ python-Unidecode.spec ++ --- /var/tmp/diff_new_pack.UD1hFz/_old 2017-04-17 10:26:25.789206818 +0200 +++ /var/tmp/diff_new_pack.UD1hFz/_new 2017-04-17 10:26:25.793206251 +0200 @@ -16,6 +16,7 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Unidecode Version:0.04.20 Release:0 @@ -24,17 +25,15 @@ Group: Development/Languages/Python Url:https://pypi.python.org/pypi/Unidecode Source: https://files.pythonhosted.org/packages/source/U/Unidecode/Unidecode-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(preun): update-alternatives 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()")} -%else BuildArch: noarch -%endif +%python_subpackages %description It often happens that you have text data in Unicode, but you need to @@ -78,36 +77,28 @@ %setup -q -n Unidecode-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%fdupes %buildroot/%_prefix +%python_install +%python_expand %fdupes %{buildroot}/%_prefix -# update-alternatives -mv %{buildroot}%{_bindir}/unidecode %{buildroot}%{_bindir}/unidecode-%{py_ver} -mkdir -p %{buildroot}%{_sysconfdir}/alternatives -touch %{buildroot}%{_sysconfdir}/alternatives/unidecode -ln -sf %{_sysconfdir}/alternatives/unidecode %{buildroot}%{_bindir}/unidecode +%python_clone -a %{buildroot}%{_bindir}/unidecode %check -LANG=en_US.UTF-8 python setup.py test +export LANG=en_US.UTF-8 +%python_exec setup.py test %post -update-alternatives \ - --install %{_bindir}/unidecode unidecode %{_bindir}/unidecode-%{py_ver} 20 +%python_install_alternative unidecode -%postun -if [ $1 -eq 0 ] ; then - update-alternatives --remove unidecode %{_bindir}/unidecode-%{py_ver} -fi +%preun +%python_uninstall_alternative unidecode -%files +%files %python_files %defattr(-,root,root,-) %doc LICENSE ChangeLog %{python_sitelib}/* -%ghost %{_sysconfdir}/alternatives/unidecode -%{_bindir}/unidecode -%{_bindir}/unidecode-%{py_ver} +%python_alternative %{_bindir}/unidecode %changelog
commit python-Unidecode for openSUSE:Factory
Hello community, here is the log from the commit of package python-Unidecode for openSUSE:Factory checked in at 2016-01-26 10:15:07 Comparing /work/SRC/openSUSE:Factory/python-Unidecode (Old) and /work/SRC/openSUSE:Factory/.python-Unidecode.new (New) Package is "python-Unidecode" Changes: --- /work/SRC/openSUSE:Factory/python-Unidecode/python-Unidecode.changes 2015-11-18 22:34:33.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-Unidecode.new/python-Unidecode.changes 2016-01-26 10:15:08.0 +0100 @@ -1,0 +2,7 @@ +Fri Jan 22 19:02:19 UTC 2016 - benoit.mo...@gmx.fr + +- update to Unidecode 0.04.19: + * Add unidecode_expect_ascii() and unidecode_expect_nonascii() +functions for performance critical applications. + +--- Old: Unidecode-0.04.18.tar.gz New: Unidecode-0.04.19.tar.gz Other differences: -- ++ python-Unidecode.spec ++ --- /var/tmp/diff_new_pack.T9Cqi3/_old 2016-01-26 10:15:09.0 +0100 +++ /var/tmp/diff_new_pack.T9Cqi3/_new 2016-01-26 10:15:09.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Unidecode # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,7 +17,7 @@ Name: python-Unidecode -Version:0.04.18 +Version:0.04.19 Release:0 Summary:ASCII transliterations of Unicode text License:GPL-2.0+ ++ Unidecode-0.04.18.tar.gz -> Unidecode-0.04.19.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-0.04.18/ChangeLog new/Unidecode-0.04.19/ChangeLog --- old/Unidecode-0.04.18/ChangeLog 2015-06-13 13:48:20.0 +0200 +++ new/Unidecode-0.04.19/ChangeLog 2016-01-21 17:42:06.0 +0100 @@ -1,3 +1,9 @@ +2016-01-21 unidecode 0.04.19 + + * Add unidecode_expect_ascii() and unidecode_expect_nonascii() + functions for performance critical applications. + (thanks to Israel Saeta Perez) + 2015-06-13 unidecode 0.04.18 * Add a command line utility. (thanks to Andrew Udvare) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-0.04.18/MANIFEST.in new/Unidecode-0.04.19/MANIFEST.in --- old/Unidecode-0.04.18/MANIFEST.in 2015-06-13 14:12:54.0 +0200 +++ new/Unidecode-0.04.19/MANIFEST.in 2016-01-21 17:49:08.0 +0100 @@ -2,3 +2,4 @@ include ChangeLog include LICENSE include README.rst +recursive-include tests *.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Unidecode-0.04.18/PKG-INFO new/Unidecode-0.04.19/PKG-INFO --- old/Unidecode-0.04.18/PKG-INFO 2015-06-13 14:17:25.0 +0200 +++ new/Unidecode-0.04.19/PKG-INFO 2016-01-21 18:14:54.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: Unidecode -Version: 0.04.18 +Version: 0.04.19 Summary: ASCII transliterations of Unicode text Home-page: UNKNOWN Author: Tomaz Solc @@ -13,7 +13,7 @@ represent it in ASCII. For example when integrating with legacy code that doesn't support Unicode, or for ease of entry of non-Roman names on a US keyboard, or when constructing ASCII machine identifiers from -human-readable Unicode strings that should still be somewhat intelligeble +human-readable Unicode strings that should still be somewhat intelligible (a popular example of this is when making an URL slug from an article title). @@ -50,9 +50,9 @@ Module content -- -The module exports a single function that takes an Unicode object (Python -2.x) or string (Python 3.x) and returns a string (that can be encoded to -ASCII bytes in Python 3.x):: +The module exports a function that takes an Unicode object (Python 2.x) or +string (Python 3.x) and returns a string (that can be encoded to ASCII bytes in +Python 3.x):: >>> from unidecode import unidecode >>> unidecode(u'ko\u017eu\u0161\u010dek') @@ -105,13 +105,39 @@ Installation -To install Unidecode from the source distribution and run unit tests, use these -commands:: +To install the latest version of Unidecode from the Python package index, use +these commands:: + +$ pip install unidecode + +To instal