Hello community,
here is the log from the commit of package python-kitchen for
openSUSE:Leap:15.2 checked in at 2020-03-09 18:07:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-kitchen (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-kitchen.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-kitchen"
Mon Mar 9 18:07:23 2020 rev:11 rq:776726 version:1.2.6
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-kitchen/python-kitchen.changes
2020-01-15 15:49:47.727472449 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-kitchen.new.26092/python-kitchen.changes
2020-03-09 18:07:26.732879470 +0100
@@ -1,0 +2,22 @@
+Wed Jul 24 08:32:38 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.2.6:
+ * various bugfixes
+
+-------------------------------------------------------------------
+Wed Feb 6 14:33:07 CET 2019 - Matej Cepl <[email protected]>
+
+- Exclude test_internal_generate_combining_table to make test
+ suite passing
+
+-------------------------------------------------------------------
+Tue Dec 4 12:49:49 UTC 2018 - Matej Cepl <[email protected]>
+
+- Remove superfluous devel dependency for noarch package
+
+-------------------------------------------------------------------
+Wed Aug 29 12:42:20 UTC 2018 - [email protected]
+
+- Attempt to fix some python 3.7 failures by exporting LANG
+
+-------------------------------------------------------------------
Old:
----
kitchen-1.2.5.tar.gz
New:
----
kitchen-1.2.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-kitchen.spec ++++++
--- /var/tmp/diff_new_pack.aHmN8I/_old 2020-03-09 18:07:27.712879957 +0100
+++ /var/tmp/diff_new_pack.aHmN8I/_new 2020-03-09 18:07:27.748879974 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-kitchen
#
-# 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
@@ -12,29 +12,26 @@
# 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-%{**}}
-%bcond_without test
Name: python-kitchen
-Version: 1.2.5
+Version: 1.2.6
Release: 0
Summary: Kitchen contains a cornucopia of useful code
-License: LGPL-2.1+
+License: LGPL-2.1-or-later
Group: Development/Languages/Python
-Url: https://fedorahosted.org/kitchen/
+URL: https://fedorahosted.org/kitchen/
Source:
https://files.pythonhosted.org/packages/source/k/kitchen/kitchen-%{version}.tar.gz
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
-# SECTION tests
-BuildRequires: %{python_module nose}
-# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
-
+# SECTION tests
+BuildRequires: %{python_module nose}
+# /SECTION
%python_subpackages
%description
@@ -52,18 +49,19 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
+export LANG='en_US.UTF8'
%{python_expand # run test
%if $python == python2
pushd kitchen2
%else
pushd kitchen3
%endif
-nosetests-%{$python_version}
+nosetests-%{$python_version} -e test_internal_generate_combining_table
popd}
%files %{python_files}
-%defattr(-,root,root,-)
-%doc COPYING COPYING.LESSER NEWS.rst README.rst
+%license COPYING COPYING.LESSER
+%doc NEWS.rst README.rst
%{python_sitelib}/*
%changelog
++++++ kitchen-1.2.5.tar.gz -> kitchen-1.2.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kitchen-1.2.5/COPYING new/kitchen-1.2.6/COPYING
--- old/kitchen-1.2.5/COPYING 2017-08-24 00:18:11.000000000 +0200
+++ new/kitchen-1.2.6/COPYING 2019-05-14 21:47:33.000000000 +0200
@@ -2,7 +2,7 @@
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kitchen-1.2.5/NEWS.rst new/kitchen-1.2.6/NEWS.rst
--- old/kitchen-1.2.5/NEWS.rst 2017-08-24 00:32:53.000000000 +0200
+++ new/kitchen-1.2.6/NEWS.rst 2019-05-14 21:50:48.000000000 +0200
@@ -8,6 +8,12 @@
:Version: 1.2.x
-----
+1.2.6
+-----
+
+* Updated codepoint tables
+
+-----
1.2.5
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kitchen-1.2.5/PKG-INFO new/kitchen-1.2.6/PKG-INFO
--- old/kitchen-1.2.5/PKG-INFO 2017-08-24 09:55:55.000000000 +0200
+++ new/kitchen-1.2.6/PKG-INFO 2019-05-14 21:52:34.000000000 +0200
@@ -1,10 +1,12 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: kitchen
-Version: 1.2.5
+Version: 1.2.6
Summary: Kitchen contains a cornucopia of useful code
Home-page: https://fedorahosted.org/kitchen
-Author: Toshio Kuratomi
+Author: Toshio Kuratomi, Seth Vidal, others
Author-email: [email protected]
+Maintainer: Toshio Kuratomi
+Maintainer-email: [email protected]
License: LGPLv2+
Description:
We've all done it. In the process of writing a brand new application
we've
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kitchen-1.2.5/kitchen2/kitchen/__init__.py
new/kitchen-1.2.6/kitchen2/kitchen/__init__.py
--- old/kitchen-1.2.5/kitchen2/kitchen/__init__.py 2017-08-24
00:31:31.000000000 +0200
+++ new/kitchen-1.2.6/kitchen2/kitchen/__init__.py 2019-05-14
21:49:54.000000000 +0200
@@ -35,7 +35,7 @@
(b_, bN_) = i18n.easy_gettext_setup('kitchen.core', use_unicode=False)
#pylint: enable-msg=C0103
-__version_info__ = ((1, 2, 5),)
+__version_info__ = ((1, 2, 6),)
__version__ = versioning.version_tuple_to_string(__version_info__)
__all__ = ('exceptions', 'release',)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kitchen-1.2.5/kitchen2/tests/test_i18n.py
new/kitchen-1.2.6/kitchen2/tests/test_i18n.py
--- old/kitchen-1.2.5/kitchen2/tests/test_i18n.py 2017-08-24
00:27:16.000000000 +0200
+++ new/kitchen-1.2.6/kitchen2/tests/test_i18n.py 2019-05-14
21:47:33.000000000 +0200
@@ -15,12 +15,17 @@
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.utf8'
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
def tearDown(self):
if self.old_LC_ALL:
os.environ['LC_ALL'] = self.old_LC_ALL
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
def test_easy_gettext_setup(self):
'''Test that the easy_gettext_setup function works
'''
@@ -378,12 +383,17 @@
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.iso88591'
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
def tearDown(self):
if self.old_LC_ALL:
os.environ['LC_ALL'] = self.old_LC_ALL
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
def test_easy_gettext_setup_non_unicode(self):
'''Test that the easy_gettext_setup function works
'''
@@ -403,6 +413,9 @@
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.utf8'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.translations = i18n.get_translation_object('test',
['%s/data/locale/' % os.path.dirname(__file__)])
def tearDown(self):
@@ -411,11 +424,17 @@
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
class TestNewGNURealTranslations_UTF8(unittest.TestCase,
base_classes.UnicodeTestData):
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.utf8'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.translations = i18n.get_translation_object('test',
['%s/data/locale/' % os.path.dirname(__file__)])
def tearDown(self):
@@ -424,6 +443,9 @@
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
def test_gettext(self):
_ = self.translations.gettext
tools.eq_(_(self.utf8_kitchen), self.utf8_pt_kitchen)
@@ -530,6 +552,9 @@
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.iso88591'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.translations = i18n.get_translation_object('test',
['%s/data/locale/' % os.path.dirname(__file__)])
def tearDown(self):
@@ -538,6 +563,9 @@
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
def test_lgettext(self):
_ = self.translations.lgettext
tools.eq_(_(self.utf8_kitchen), self.latin1_pt_kitchen)
@@ -583,6 +611,9 @@
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.utf8'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.translations = i18n.get_translation_object('test',
['%s/data/locale/' % os.path.dirname(__file__),
'%s/data/locale-old' % os.path.dirname(__file__)])
@@ -593,11 +624,17 @@
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
class TestFallbackNewGNURealTranslations_UTF8(unittest.TestCase,
base_classes.UnicodeTestData):
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.utf8'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.translations = i18n.get_translation_object('test',
['%s/data/locale/' % os.path.dirname(__file__),
'%s/data/locale-old' % os.path.dirname(__file__)])
@@ -608,6 +645,9 @@
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
def test_gettext(self):
_ = self.translations.gettext
tools.eq_(_(self.utf8_kitchen), self.utf8_pt_kitchen)
@@ -700,6 +740,9 @@
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.iso88591'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.translations = i18n.get_translation_object('test',
['%s/data/locale/' % os.path.dirname(__file__),
'%s/data/locale-old' % os.path.dirname(__file__)])
@@ -710,6 +753,9 @@
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
def test_lgettext(self):
_ = self.translations.lgettext
tools.eq_(_(self.utf8_kitchen), self.latin1_pt_kitchen)
@@ -750,6 +796,9 @@
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.iso88591'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.gtranslations = i18n.get_translation_object('test',
['%s/data/locale/' % os.path.dirname(__file__),
'%s/data/locale-old' % os.path.dirname(__file__)])
@@ -766,6 +815,9 @@
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
def test_invalid_fallback_no_raise(self):
'''Test when we have an invalid fallback that it does not raise.'''
tools.eq_(self.gtranslations.gettext(self.u_spanish),
self.utf8_spanish)
@@ -789,8 +841,12 @@
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.utf8'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.old_DEFAULT_LOCALEDIRS = i18n._DEFAULT_LOCALEDIR
i18n._DEFAULT_LOCALEDIR = '%s/data/locale/' % os.path.dirname(__file__)
+
self.translations = i18n.get_translation_object('test')
def tearDown(self):
@@ -798,6 +854,10 @@
os.environ['LC_ALL'] = self.old_LC_ALL
else:
del(os.environ['LC_ALL'])
+
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
if self.old_DEFAULT_LOCALEDIRS:
i18n._DEFAULT_LOCALEDIR = self.old_DEFAULT_LOCALEDIRS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kitchen-1.2.5/kitchen3/kitchen/__init__.py
new/kitchen-1.2.6/kitchen3/kitchen/__init__.py
--- old/kitchen-1.2.5/kitchen3/kitchen/__init__.py 2017-08-24
00:31:41.000000000 +0200
+++ new/kitchen-1.2.6/kitchen3/kitchen/__init__.py 2019-05-14
21:49:45.000000000 +0200
@@ -35,7 +35,7 @@
(b_, bN_) = i18n.easy_gettext_setup('kitchen.core', use_unicode=False)
#pylint: enable-msg=C0103
-__version_info__ = ((1, 2, 5),)
+__version_info__ = ((1, 2, 6),)
__version__ = versioning.version_tuple_to_string(__version_info__)
__all__ = ('exceptions', 'release',)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kitchen-1.2.5/kitchen3/kitchen/text/display.py
new/kitchen-1.2.6/kitchen3/kitchen/text/display.py
--- old/kitchen-1.2.5/kitchen3/kitchen/text/display.py 2017-08-24
00:27:16.000000000 +0200
+++ new/kitchen-1.2.6/kitchen3/kitchen/text/display.py 2019-05-14
21:47:33.000000000 +0200
@@ -117,72 +117,77 @@
(0x64b, 0x65f), (0x670, 0x670), (0x6d6, 0x6e4),
(0x6e7, 0x6e8), (0x6ea, 0x6ed), (0x70f, 0x70f),
(0x711, 0x711), (0x730, 0x74a), (0x7a6, 0x7b0),
- (0x7eb, 0x7f3), (0x816, 0x819), (0x81b, 0x823),
- (0x825, 0x827), (0x829, 0x82d), (0x859, 0x85b),
- (0x8d4, 0x8e1), (0x8e3, 0x8ff), (0x901, 0x902),
- (0x93c, 0x93c), (0x941, 0x948), (0x94d, 0x94d),
- (0x951, 0x954), (0x962, 0x963), (0x981, 0x981),
- (0x9bc, 0x9bc), (0x9c1, 0x9c4), (0x9cd, 0x9cd),
- (0x9e2, 0x9e3), (0xa01, 0xa02), (0xa3c, 0xa3c),
- (0xa41, 0xa42), (0xa47, 0xa48), (0xa4b, 0xa4d),
- (0xa70, 0xa71), (0xa81, 0xa82), (0xabc, 0xabc),
- (0xac1, 0xac5), (0xac7, 0xac8), (0xacd, 0xacd),
- (0xae2, 0xae3), (0xb01, 0xb01), (0xb3c, 0xb3c),
- (0xb3f, 0xb3f), (0xb41, 0xb43), (0xb4d, 0xb4d),
- (0xb56, 0xb56), (0xb82, 0xb82), (0xbc0, 0xbc0),
- (0xbcd, 0xbcd), (0xc3e, 0xc40), (0xc46, 0xc48),
- (0xc4a, 0xc4d), (0xc55, 0xc56), (0xcbc, 0xcbc),
- (0xcbf, 0xcbf), (0xcc6, 0xcc6), (0xccc, 0xccd),
- (0xce2, 0xce3), (0xd41, 0xd43), (0xd4d, 0xd4d),
+ (0x7eb, 0x7f3), (0x7fd, 0x7fd), (0x816, 0x819),
+ (0x81b, 0x823), (0x825, 0x827), (0x829, 0x82d),
+ (0x859, 0x85b), (0x8d3, 0x8e1), (0x8e3, 0x8ff),
+ (0x901, 0x902), (0x93c, 0x93c), (0x941, 0x948),
+ (0x94d, 0x94d), (0x951, 0x954), (0x962, 0x963),
+ (0x981, 0x981), (0x9bc, 0x9bc), (0x9c1, 0x9c4),
+ (0x9cd, 0x9cd), (0x9e2, 0x9e3), (0x9fe, 0x9fe),
+ (0xa01, 0xa02), (0xa3c, 0xa3c), (0xa41, 0xa42),
+ (0xa47, 0xa48), (0xa4b, 0xa4d), (0xa70, 0xa71),
+ (0xa81, 0xa82), (0xabc, 0xabc), (0xac1, 0xac5),
+ (0xac7, 0xac8), (0xacd, 0xacd), (0xae2, 0xae3),
+ (0xb01, 0xb01), (0xb3c, 0xb3c), (0xb3f, 0xb3f),
+ (0xb41, 0xb43), (0xb4d, 0xb4d), (0xb56, 0xb56),
+ (0xb82, 0xb82), (0xbc0, 0xbc0), (0xbcd, 0xbcd),
+ (0xc3e, 0xc40), (0xc46, 0xc48), (0xc4a, 0xc4d),
+ (0xc55, 0xc56), (0xcbc, 0xcbc), (0xcbf, 0xcbf),
+ (0xcc6, 0xcc6), (0xccc, 0xccd), (0xce2, 0xce3),
+ (0xd3b, 0xd3c), (0xd41, 0xd43), (0xd4d, 0xd4d),
(0xdca, 0xdca), (0xdd2, 0xdd4), (0xdd6, 0xdd6),
(0xe31, 0xe31), (0xe34, 0xe3a), (0xe47, 0xe4e),
- (0xeb1, 0xeb1), (0xeb4, 0xeb9), (0xebb, 0xebc),
- (0xec8, 0xecd), (0xf18, 0xf19), (0xf35, 0xf35),
- (0xf37, 0xf37), (0xf39, 0xf39), (0xf71, 0xf7e),
- (0xf80, 0xf84), (0xf86, 0xf87), (0xf90, 0xf97),
- (0xf99, 0xfbc), (0xfc6, 0xfc6), (0x102d, 0x1030),
- (0x1032, 0x1032), (0x1036, 0x1037), (0x1039, 0x103a),
- (0x1058, 0x1059), (0x108d, 0x108d), (0x1160, 0x11ff),
- (0x135d, 0x135f), (0x1712, 0x1714), (0x1732, 0x1734),
- (0x1752, 0x1753), (0x1772, 0x1773), (0x17b4, 0x17b5),
- (0x17b7, 0x17bd), (0x17c6, 0x17c6), (0x17c9, 0x17d3),
- (0x17dd, 0x17dd), (0x180b, 0x180d), (0x18a9, 0x18a9),
- (0x1920, 0x1922), (0x1927, 0x1928), (0x1932, 0x1932),
- (0x1939, 0x193b), (0x1a17, 0x1a18), (0x1a60, 0x1a60),
- (0x1a75, 0x1a7c), (0x1a7f, 0x1a7f), (0x1ab0, 0x1abd),
- (0x1b00, 0x1b03), (0x1b34, 0x1b34), (0x1b36, 0x1b3a),
- (0x1b3c, 0x1b3c), (0x1b42, 0x1b42), (0x1b44, 0x1b44),
- (0x1b6b, 0x1b73), (0x1baa, 0x1bab), (0x1be6, 0x1be6),
- (0x1bf2, 0x1bf3), (0x1c37, 0x1c37), (0x1cd0, 0x1cd2),
- (0x1cd4, 0x1ce0), (0x1ce2, 0x1ce8), (0x1ced, 0x1ced),
- (0x1cf4, 0x1cf4), (0x1cf8, 0x1cf9), (0x1dc0, 0x1df5),
- (0x1dfb, 0x1dff), (0x200b, 0x200f), (0x202a, 0x202e),
- (0x2060, 0x2063), (0x206a, 0x206f), (0x20d0, 0x20f0),
- (0x2cef, 0x2cf1), (0x2d7f, 0x2d7f), (0x2de0, 0x2dff),
- (0x302a, 0x302f), (0x3099, 0x309a), (0xa66f, 0xa66f),
- (0xa674, 0xa67d), (0xa69e, 0xa69f), (0xa6f0, 0xa6f1),
- (0xa806, 0xa806), (0xa80b, 0xa80b), (0xa825, 0xa826),
- (0xa8c4, 0xa8c4), (0xa8e0, 0xa8f1), (0xa92b, 0xa92d),
- (0xa953, 0xa953), (0xa9b3, 0xa9b3), (0xa9c0, 0xa9c0),
- (0xaab0, 0xaab0), (0xaab2, 0xaab4), (0xaab7, 0xaab8),
- (0xaabe, 0xaabf), (0xaac1, 0xaac1), (0xaaf6, 0xaaf6),
- (0xabed, 0xabed), (0xfb1e, 0xfb1e), (0xfe00, 0xfe0f),
- (0xfe20, 0xfe2f), (0xfeff, 0xfeff), (0xfff9, 0xfffb),
- (0x101fd, 0x101fd), (0x102e0, 0x102e0), (0x10376, 0x1037a),
- (0x10a01, 0x10a03), (0x10a05, 0x10a06), (0x10a0c, 0x10a0f),
- (0x10a38, 0x10a3a), (0x10a3f, 0x10a3f), (0x10ae5, 0x10ae6),
- (0x11046, 0x11046), (0x1107f, 0x1107f), (0x110b9, 0x110ba),
- (0x11100, 0x11102), (0x11133, 0x11134), (0x11173, 0x11173),
- (0x111c0, 0x111c0), (0x111ca, 0x111ca), (0x11235, 0x11236),
- (0x112e9, 0x112ea), (0x1133c, 0x1133c), (0x1134d, 0x1134d),
- (0x11366, 0x1136c), (0x11370, 0x11374), (0x11442, 0x11442),
- (0x11446, 0x11446), (0x114c2, 0x114c3), (0x115bf, 0x115c0),
- (0x1163f, 0x1163f), (0x116b6, 0x116b7), (0x1172b, 0x1172b),
- (0x11c3f, 0x11c3f), (0x16af0, 0x16af4), (0x16b30, 0x16b36),
- (0x1bc9e, 0x1bc9e), (0x1d165, 0x1d169), (0x1d16d, 0x1d182),
- (0x1d185, 0x1d18b), (0x1d1aa, 0x1d1ad), (0x1d242, 0x1d244),
- (0x1e000, 0x1e006), (0x1e008, 0x1e018), (0x1e01b, 0x1e021),
- (0x1e023, 0x1e024), (0x1e026, 0x1e02a), (0x1e8d0, 0x1e8d6),
+ (0xeb1, 0xeb1), (0xeb4, 0xebc), (0xec8, 0xecd),
+ (0xf18, 0xf19), (0xf35, 0xf35), (0xf37, 0xf37),
+ (0xf39, 0xf39), (0xf71, 0xf7e), (0xf80, 0xf84),
+ (0xf86, 0xf87), (0xf90, 0xf97), (0xf99, 0xfbc),
+ (0xfc6, 0xfc6), (0x102d, 0x1030), (0x1032, 0x1032),
+ (0x1036, 0x1037), (0x1039, 0x103a), (0x1058, 0x1059),
+ (0x108d, 0x108d), (0x1160, 0x11ff), (0x135d, 0x135f),
+ (0x1712, 0x1714), (0x1732, 0x1734), (0x1752, 0x1753),
+ (0x1772, 0x1773), (0x17b4, 0x17b5), (0x17b7, 0x17bd),
+ (0x17c6, 0x17c6), (0x17c9, 0x17d3), (0x17dd, 0x17dd),
+ (0x180b, 0x180d), (0x18a9, 0x18a9), (0x1920, 0x1922),
+ (0x1927, 0x1928), (0x1932, 0x1932), (0x1939, 0x193b),
+ (0x1a17, 0x1a18), (0x1a60, 0x1a60), (0x1a75, 0x1a7c),
+ (0x1a7f, 0x1a7f), (0x1ab0, 0x1abd), (0x1b00, 0x1b03),
+ (0x1b34, 0x1b34), (0x1b36, 0x1b3a), (0x1b3c, 0x1b3c),
+ (0x1b42, 0x1b42), (0x1b44, 0x1b44), (0x1b6b, 0x1b73),
+ (0x1baa, 0x1bab), (0x1be6, 0x1be6), (0x1bf2, 0x1bf3),
+ (0x1c37, 0x1c37), (0x1cd0, 0x1cd2), (0x1cd4, 0x1ce0),
+ (0x1ce2, 0x1ce8), (0x1ced, 0x1ced), (0x1cf4, 0x1cf4),
+ (0x1cf8, 0x1cf9), (0x1dc0, 0x1df9), (0x1dfb, 0x1dff),
+ (0x200b, 0x200f), (0x202a, 0x202e), (0x2060, 0x2063),
+ (0x206a, 0x206f), (0x20d0, 0x20f0), (0x2cef, 0x2cf1),
+ (0x2d7f, 0x2d7f), (0x2de0, 0x2dff), (0x302a, 0x302f),
+ (0x3099, 0x309a), (0xa66f, 0xa66f), (0xa674, 0xa67d),
+ (0xa69e, 0xa69f), (0xa6f0, 0xa6f1), (0xa806, 0xa806),
+ (0xa80b, 0xa80b), (0xa825, 0xa826), (0xa8c4, 0xa8c4),
+ (0xa8e0, 0xa8f1), (0xa92b, 0xa92d), (0xa953, 0xa953),
+ (0xa9b3, 0xa9b3), (0xa9c0, 0xa9c0), (0xaab0, 0xaab0),
+ (0xaab2, 0xaab4), (0xaab7, 0xaab8), (0xaabe, 0xaabf),
+ (0xaac1, 0xaac1), (0xaaf6, 0xaaf6), (0xabed, 0xabed),
+ (0xfb1e, 0xfb1e), (0xfe00, 0xfe0f), (0xfe20, 0xfe2f),
+ (0xfeff, 0xfeff), (0xfff9, 0xfffb), (0x101fd, 0x101fd),
+ (0x102e0, 0x102e0), (0x10376, 0x1037a), (0x10a01, 0x10a03),
+ (0x10a05, 0x10a06), (0x10a0c, 0x10a0f), (0x10a38, 0x10a3a),
+ (0x10a3f, 0x10a3f), (0x10ae5, 0x10ae6), (0x10d24, 0x10d27),
+ (0x10f46, 0x10f50), (0x11046, 0x11046), (0x1107f, 0x1107f),
+ (0x110b9, 0x110ba), (0x11100, 0x11102), (0x11133, 0x11134),
+ (0x11173, 0x11173), (0x111c0, 0x111c0), (0x111ca, 0x111ca),
+ (0x11235, 0x11236), (0x112e9, 0x112ea), (0x1133b, 0x1133c),
+ (0x1134d, 0x1134d), (0x11366, 0x1136c), (0x11370, 0x11374),
+ (0x11442, 0x11442), (0x11446, 0x11446), (0x1145e, 0x1145e),
+ (0x114c2, 0x114c3), (0x115bf, 0x115c0), (0x1163f, 0x1163f),
+ (0x116b6, 0x116b7), (0x1172b, 0x1172b), (0x11839, 0x1183a),
+ (0x119e0, 0x119e0), (0x11a34, 0x11a34), (0x11a47, 0x11a47),
+ (0x11a99, 0x11a99), (0x11c3f, 0x11c3f), (0x11d42, 0x11d42),
+ (0x11d44, 0x11d45), (0x11d97, 0x11d97), (0x16af0, 0x16af4),
+ (0x16b30, 0x16b36), (0x1bc9e, 0x1bc9e), (0x1d165, 0x1d169),
+ (0x1d16d, 0x1d182), (0x1d185, 0x1d18b), (0x1d1aa, 0x1d1ad),
+ (0x1d242, 0x1d244), (0x1e000, 0x1e006), (0x1e008, 0x1e018),
+ (0x1e01b, 0x1e021), (0x1e023, 0x1e024), (0x1e026, 0x1e02a),
+ (0x1e130, 0x1e136), (0x1e2ec, 0x1e2ef), (0x1e8d0, 0x1e8d6),
(0x1e944, 0x1e94a), (0xe0001, 0xe0001), (0xe0020, 0xe007f),
(0xe0100, 0xe01ef), )
@@ -199,8 +204,8 @@
:func:`~kitchen.text.display._generate_combining_table`
for how this table is generated
-This table was last regenerated on python-3.6.0-rc1 with
-:data:`unicodedata.unidata_version` 9.0.0
+This table was last regenerated on python-3.8.0a3 with
+:data:`unicodedata.unidata_version` 12.0.0
'''
# New function from Toshio Kuratomi (LGPLv2+)
def _generate_combining_table():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kitchen-1.2.5/kitchen3/tests/test_i18n.py
new/kitchen-1.2.6/kitchen3/tests/test_i18n.py
--- old/kitchen-1.2.5/kitchen3/tests/test_i18n.py 2017-08-24
00:18:11.000000000 +0200
+++ new/kitchen-1.2.6/kitchen3/tests/test_i18n.py 2019-05-14
21:47:33.000000000 +0200
@@ -15,12 +15,17 @@
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.utf8'
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
def tearDown(self):
if self.old_LC_ALL:
os.environ['LC_ALL'] = self.old_LC_ALL
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
def test_easy_gettext_setup(self):
'''Test that the easy_gettext_setup function works
'''
@@ -378,12 +383,17 @@
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.iso88591'
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
def tearDown(self):
if self.old_LC_ALL:
os.environ['LC_ALL'] = self.old_LC_ALL
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
def test_easy_gettext_setup_non_unicode(self):
'''Test that the easy_gettext_setup function works
'''
@@ -403,6 +413,9 @@
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.utf8'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.translations = i18n.get_translation_object('test',
['%s/data/locale/' % os.path.dirname(__file__)])
def tearDown(self):
@@ -411,11 +424,17 @@
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
class TestNewGNURealTranslations_UTF8(unittest.TestCase,
base_classes.UnicodeTestData):
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.utf8'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.translations = i18n.get_translation_object('test',
['%s/data/locale/' % os.path.dirname(__file__)])
def tearDown(self):
@@ -424,6 +443,9 @@
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
def test_gettext(self):
_ = self.translations.gettext
tools.eq_(_(self.utf8_kitchen), self.utf8_pt_kitchen)
@@ -457,6 +479,7 @@
tools.eq_(_(self.utf8_not_in_catalog, 'throwaway', 1),
self.utf8_not_in_catalog)
tools.eq_(_(self.u_not_in_catalog, 'throwaway', 1),
self.utf8_not_in_catalog)
+
def test_lgettext(self):
_ = self.translations.lgettext
tools.eq_(_(self.utf8_kitchen), self.utf8_pt_kitchen)
@@ -529,6 +552,9 @@
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.iso88591'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.translations = i18n.get_translation_object('test',
['%s/data/locale/' % os.path.dirname(__file__)])
def tearDown(self):
@@ -537,6 +563,9 @@
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
def test_lgettext(self):
_ = self.translations.lgettext
tools.eq_(_(self.utf8_kitchen), self.latin1_pt_kitchen)
@@ -582,6 +611,9 @@
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.utf8'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.translations = i18n.get_translation_object('test',
['%s/data/locale/' % os.path.dirname(__file__),
'%s/data/locale-old' % os.path.dirname(__file__)])
@@ -592,11 +624,17 @@
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
class TestFallbackNewGNURealTranslations_UTF8(unittest.TestCase,
base_classes.UnicodeTestData):
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.utf8'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.translations = i18n.get_translation_object('test',
['%s/data/locale/' % os.path.dirname(__file__),
'%s/data/locale-old' % os.path.dirname(__file__)])
@@ -607,6 +645,9 @@
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
def test_gettext(self):
_ = self.translations.gettext
tools.eq_(_(self.utf8_kitchen), self.utf8_pt_kitchen)
@@ -699,6 +740,9 @@
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.iso88591'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.translations = i18n.get_translation_object('test',
['%s/data/locale/' % os.path.dirname(__file__),
'%s/data/locale-old' % os.path.dirname(__file__)])
@@ -709,6 +753,9 @@
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
def test_lgettext(self):
_ = self.translations.lgettext
tools.eq_(_(self.utf8_kitchen), self.latin1_pt_kitchen)
@@ -749,6 +796,9 @@
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.iso88591'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.gtranslations = i18n.get_translation_object('test',
['%s/data/locale/' % os.path.dirname(__file__),
'%s/data/locale-old' % os.path.dirname(__file__)])
@@ -765,6 +815,9 @@
else:
del(os.environ['LC_ALL'])
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
def test_invalid_fallback_no_raise(self):
'''Test when we have an invalid fallback that it does not raise.'''
tools.eq_(self.gtranslations.gettext(self.u_spanish),
self.utf8_spanish)
@@ -788,8 +841,12 @@
def setUp(self):
self.old_LC_ALL = os.environ.get('LC_ALL', None)
os.environ['LC_ALL'] = 'pt_BR.utf8'
+
+ self.old_LANGUAGE = os.environ.pop('LANGUAGE', None)
+
self.old_DEFAULT_LOCALEDIRS = i18n._DEFAULT_LOCALEDIR
i18n._DEFAULT_LOCALEDIR = '%s/data/locale/' % os.path.dirname(__file__)
+
self.translations = i18n.get_translation_object('test')
def tearDown(self):
@@ -797,6 +854,10 @@
os.environ['LC_ALL'] = self.old_LC_ALL
else:
del(os.environ['LC_ALL'])
+
+ if self.old_LANGUAGE:
+ os.environ['LANGUAGE'] = self.old_LANGUAGE
+
if self.old_DEFAULT_LOCALEDIRS:
i18n._DEFAULT_LOCALEDIR = self.old_DEFAULT_LOCALEDIRS