From c47315ead89310981a519b7dceb654428a7b4d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:38:30 -0400 Subject: [PATCH 01/79] Python 2 binary package renamed to python2-langtable --- langtable.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/langtable.spec b/langtable.spec index b78b641..ab3462a 100644 --- a/langtable.spec +++ b/langtable.spec @@ -6,7 +6,7 @@ Name: langtable Version: 0.0.37 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. Group: Development/Tools # the translations in languages.xml and territories.xml are (mostly) @@ -30,14 +30,18 @@ example, guess the territory and the keyboard layout if the language is known or guess the language and keyboard layout if the territory is already known. -%package python +%package -n python2-langtable +%{?python_provide:%python_provide python2-langtable} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python module to query the langtable-data Group: Development/Tools License: GPLv3+ Requires: %{name} = %{version}-%{release} Requires: %{name}-data = %{version}-%{release} -%description python +%description -n python2-langtable This package contains a Python module to query the data from langtable-data. @@ -104,7 +108,7 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %dir %{_datadir}/langtable/ %{_datadir}/langtable/schemas -%files python +%files -n python2-langtable %{python_sitelib}/* %if 0%{?with_python3} @@ -119,6 +123,10 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.0.37-3 +- Python 2 binary package renamed to python2-langtable + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Jul 26 2017 Fedora Release Engineering - 0.0.37-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From ec893205505b80d6c3684f78a477d647cf120861 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Wed, 27 Sep 2017 14:54:40 -0700 Subject: [PATCH 02/79] Cleanup spec file conditionals --- langtable.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/langtable.spec b/langtable.spec index ab3462a..1d9cbd8 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,4 +1,4 @@ -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} >= 8 %global with_python3 1 %else %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")} @@ -6,7 +6,7 @@ Name: langtable Version: 0.0.37 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. Group: Development/Tools # the translations in languages.xml and territories.xml are (mostly) @@ -123,6 +123,9 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Wed Sep 27 2017 Troy Dawson - 0.0.37-4 +- Cleanup spec file conditionals + * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.0.37-3 - Python 2 binary package renamed to python2-langtable See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 From c736fdbab8020db3d51cf8c5b7630b417e20ff93 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 6 Nov 2017 15:44:37 +0100 Subject: [PATCH 03/79] update to version 0.0.38 - Add some new translations from CLDR - Add agr, bi, hif, kab, mfe, miq, mjw, shn, sm, to, tpi_PG, yuw, AS, MU, SC, TO, VU, WS --- .gitignore | 1 + langtable.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9a4dba2..8486a23 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ /langtable-0.0.35.tar.gz /langtable-0.0.36.tar.gz /langtable-0.0.37.tar.gz +/langtable-0.0.38.tar.gz diff --git a/langtable.spec b/langtable.spec index 1d9cbd8..0779a56 100644 --- a/langtable.spec +++ b/langtable.spec @@ -5,8 +5,8 @@ %endif Name: langtable -Version: 0.0.37 -Release: 4%{?dist} +Version: 0.0.38 +Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. Group: Development/Tools # the translations in languages.xml and territories.xml are (mostly) @@ -123,6 +123,10 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Mon Nov 06 2017 Mike FABIAN - 0.0.38-1 +- Add some new translations from CLDR +- Add agr, bi, hif, kab, mfe, miq, mjw, shn, sm, to, tpi_PG, yuw, AS, MU, SC, TO, VU, WS + * Wed Sep 27 2017 Troy Dawson - 0.0.37-4 - Cleanup spec file conditionals diff --git a/sources b/sources index 73e7e1c..2c5669e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.37.tar.gz) = 5580136692bbb9fc9720d333b4179219aed78cda1504d332cc66012d41b5b3a5c216ea9512d94b90519e575377f6970e20c738fb5da1b223205c8bd9828347cd +SHA512 (langtable-0.0.38.tar.gz) = 26d8415a49145a88aa55e05c402e97d4c13fc71d39c623178e0a05f1a0b017dd427987bd309f9cd6b728438a89efab36a211c9728fc7d5df87ff2375488a3777 From a9fa641bdd3255db2652102c2303d1beadd5532d Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 6 Nov 2017 16:28:47 +0100 Subject: [PATCH 04/79] Make "tw" the default keyboard layout for zh_TW and cmn_TW - Resolves: rhbz#1387825 --- langtable.spec | 8 ++++++-- sources | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/langtable.spec b/langtable.spec index 0779a56..a2e23d2 100644 --- a/langtable.spec +++ b/langtable.spec @@ -6,7 +6,7 @@ Name: langtable Version: 0.0.38 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. Group: Development/Tools # the translations in languages.xml and territories.xml are (mostly) @@ -15,7 +15,7 @@ Group: Development/Tools # https://fedoraproject.org/wiki/Licensing:MIT?rd=Licensing/MIT#Modern_Style_without_sublicense_.28Unicode.29 License: GPLv3+ URL: https://github.com/mike-fabian/langtable -Source0: http://mfabian.fedorapeople.org/langtable/%{name}-%{version}.tar.gz +Source0: https://github.com/mike-fabian/langtable/releases/download/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-interpreter BuildRequires: python2-devel @@ -123,6 +123,10 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Mon Nov 06 2017 Mike FABIAN - 0.0.38-2 +- Make "tw" the default keyboard layout for zh_TW and cmn_TW +- Resolves: rhbz#1387825 + * Mon Nov 06 2017 Mike FABIAN - 0.0.38-1 - Add some new translations from CLDR - Add agr, bi, hif, kab, mfe, miq, mjw, shn, sm, to, tpi_PG, yuw, AS, MU, SC, TO, VU, WS diff --git a/sources b/sources index 2c5669e..77ff7a8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.38.tar.gz) = 26d8415a49145a88aa55e05c402e97d4c13fc71d39c623178e0a05f1a0b017dd427987bd309f9cd6b728438a89efab36a211c9728fc7d5df87ff2375488a3777 +SHA512 (langtable-0.0.38.tar.gz) = 80d4e90ac618251a3bf4d475985ea961d6d5d47f3a8e84489cb54ad305d490cae659756bc2957c647ac4a6e1d1e28efb2677bfe8f0abc6ad32f928b49624eff0 From 497fa253b941c106013f803b2a287bd49179a305 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 20:49:29 +0000 Subject: [PATCH 05/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index a2e23d2..c8f0d8f 100644 --- a/langtable.spec +++ b/langtable.spec @@ -6,7 +6,7 @@ Name: langtable Version: 0.0.38 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. Group: Development/Tools # the translations in languages.xml and territories.xml are (mostly) @@ -123,6 +123,9 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.0.38-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Mon Nov 06 2017 Mike FABIAN - 0.0.38-2 - Make "tw" the default keyboard layout for zh_TW and cmn_TW - Resolves: rhbz#1387825 From e5b5ea302e64c5f9e9dd38f6b1d29bddeb7bdfc8 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 4 Apr 2018 11:34:45 +0200 Subject: [PATCH 06/79] Drop Python 2 subpackage. Resolves: rhbz#1559099 --- langtable.spec | 50 ++++---------------------------------------------- 1 file changed, 4 insertions(+), 46 deletions(-) diff --git a/langtable.spec b/langtable.spec index c8f0d8f..4aa50c9 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,9 +1,3 @@ -%if 0%{?fedora} || 0%{?rhel} >= 8 -%global with_python3 1 -%else -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")} -%endif - Name: langtable Version: 0.0.38 Release: 3%{?dist} @@ -18,10 +12,7 @@ URL: https://github.com/mike-fabian/langtable Source0: https://github.com/mike-fabian/langtable/releases/download/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-interpreter -BuildRequires: python2-devel -%if 0%{?with_python3} BuildRequires: python3-devel -%endif # if with_python3 %description langtable is used to guess reasonable defaults for locale, keyboard layout, @@ -30,22 +21,6 @@ example, guess the territory and the keyboard layout if the language is known or guess the language and keyboard layout if the territory is already known. -%package -n python2-langtable -%{?python_provide:%python_provide python2-langtable} -# Remove before F30 -Provides: %{name}-python%{?_isa} = %{version}-%{release} -Obsoletes: %{name}-python < %{version}-%{release} -Summary: Python module to query the langtable-data -Group: Development/Tools -License: GPLv3+ -Requires: %{name} = %{version}-%{release} -Requires: %{name}-data = %{version}-%{release} - -%description -n python2-langtable -This package contains a Python module to query the data -from langtable-data. - -%if 0%{?with_python3} %package python3 Summary: Python module to query the langtable-data Group: Development/Tools @@ -57,8 +32,6 @@ Requires: %{name}-data = %{version}-%{release} This package contains a Python module to query the data from langtable-data. -%endif # with_python3 - %package data Summary: Data files for langtable Group: Development/Tools @@ -73,29 +46,15 @@ This package contains the data files for langtable. %build perl -pi -e "s,_datadir = '(.*)',_datadir = '%{_datadir}/langtable'," langtable.py -%py2_build -%if 0%{?with_python3} %py3_build -%endif # with_python3 %install -%py2_install -- --install-data=%{_datadir}/langtable -gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/langtable/*.xml - -%if 0%{?with_python3} %py3_install -- --install-data=%{_datadir}/langtable -# the .xml files copied by the “python3 setup.py install” are identical -# to those copied in the “python2 setup.py install”, -# it does not hurt to gzip them again: gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/langtable/*.xml -%endif # with_python3 %check -(cd $RPM_BUILD_DIR/%{name}-%{version}/data; PYTHONPATH=.. %{__python2} ../test_cases.py; %{__python2} ../langtable.py) -%if 0%{?with_python3} (cd $RPM_BUILD_DIR/%{name}-%{version}/data; LC_CTYPE=en_US.UTF-8 PYTHONPATH=.. %{__python3} ../test_cases.py; %{__python3} ../langtable.py) -%endif # with_python3 xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/keyboards.rng $RPM_BUILD_ROOT/%{_datadir}/langtable/keyboards.xml.gz xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/languages.rng $RPM_BUILD_ROOT/%{_datadir}/langtable/languages.xml.gz xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/territories.rng $RPM_BUILD_ROOT/%{_datadir}/langtable/territories.xml.gz @@ -108,21 +67,20 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %dir %{_datadir}/langtable/ %{_datadir}/langtable/schemas -%files -n python2-langtable -%{python_sitelib}/* - -%if 0%{?with_python3} %files python3 %{python3_sitelib}/langtable.py %{python3_sitelib}/langtable-*.egg-info %{python3_sitelib}/__pycache__/* -%endif # with_python3 %files data %dir %{_datadir}/langtable/ %{_datadir}/langtable/*.xml.gz %changelog +* Wed Apr 04 2018 Mike FABIAN - 0.0.38-4 +- Drop Python 2 subpackage +- Resolves: rhbz#1559099 + * Wed Feb 07 2018 Fedora Release Engineering - 0.0.38-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 9ba88c197dc5d80e854bdaf2fdc7d57b43903f2b Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 4 Apr 2018 11:49:52 +0200 Subject: [PATCH 07/79] Bump release number --- langtable.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 4aa50c9..98e693f 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.38 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. Group: Development/Tools # the translations in languages.xml and territories.xml are (mostly) From 7b86ef9335fd9120fb7ddcc527b5541417d7325a Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Tue, 10 Apr 2018 12:34:41 +0100 Subject: [PATCH 08/79] Conditionally add back Python 2 subpackage on Fedora Dropping it caused dependency issues in other packages. https://bugzilla.redhat.com/show_bug.cgi?id=1559099 --- langtable.spec | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 98e693f..56c2571 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,10 @@ +%if 0%{?fedora} +%global with_python2 1 +%endif + Name: langtable Version: 0.0.38 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. Group: Development/Tools # the translations in languages.xml and territories.xml are (mostly) @@ -12,6 +16,9 @@ URL: https://github.com/mike-fabian/langtable Source0: https://github.com/mike-fabian/langtable/releases/download/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-interpreter +%if 0%{?with_python2} +BuildRequires: python2-devel +%endif BuildRequires: python3-devel %description @@ -21,6 +28,23 @@ example, guess the territory and the keyboard layout if the language is known or guess the language and keyboard layout if the territory is already known. +%if 0%{?with_python2} +%package -n python2-langtable +%{?python_provide:%python_provide python2-langtable} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} +Summary: Python module to query the langtable-data +Group: Development/Tools +License: GPLv3+ +Requires: %{name} = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} + +%description -n python2-langtable +This package contains a Python module to query the data +from langtable-data. +%endif + %package python3 Summary: Python module to query the langtable-data Group: Development/Tools @@ -46,14 +70,28 @@ This package contains the data files for langtable. %build perl -pi -e "s,_datadir = '(.*)',_datadir = '%{_datadir}/langtable'," langtable.py +%if 0%{?with_python2} +%py2_build +%endif %py3_build %install +%if 0%{?with_python2} +%py2_install -- --install-data=%{_datadir}/langtable +gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/langtable/*.xml +%endif + %py3_install -- --install-data=%{_datadir}/langtable +# the .xml files copied by the “python3 setup.py install” are identical +# to those copied in the “python2 setup.py install”, +# it does not hurt to gzip them again: gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/langtable/*.xml %check +%if 0%{?with_python2} +(cd $RPM_BUILD_DIR/%{name}-%{version}/data; PYTHONPATH=.. %{__python2} ../test_cases.py; %{__python2} ../langtable.py) +%endif (cd $RPM_BUILD_DIR/%{name}-%{version}/data; LC_CTYPE=en_US.UTF-8 PYTHONPATH=.. %{__python3} ../test_cases.py; %{__python3} ../langtable.py) xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/keyboards.rng $RPM_BUILD_ROOT/%{_datadir}/langtable/keyboards.xml.gz xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/languages.rng $RPM_BUILD_ROOT/%{_datadir}/langtable/languages.xml.gz @@ -67,6 +105,11 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %dir %{_datadir}/langtable/ %{_datadir}/langtable/schemas +%if 0%{?with_python2} +%files -n python2-langtable +%{python_sitelib}/* +%endif + %files python3 %{python3_sitelib}/langtable.py %{python3_sitelib}/langtable-*.egg-info @@ -77,6 +120,10 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Tue Apr 10 2018 Pete Walter - 0.0.38-5 +- Conditionally add back Python 2 subpackage on Fedora +- Resolves: rhbz#1559099 + * Wed Apr 04 2018 Mike FABIAN - 0.0.38-4 - Drop Python 2 subpackage - Resolves: rhbz#1559099 From a607b558b4f2da4f67ba74182ba5e67f64236bda Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Tue, 10 Apr 2018 12:43:51 +0100 Subject: [PATCH 09/79] Rename Python 3 subpackage to python3-langtable to follow guidelines --- langtable.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/langtable.spec b/langtable.spec index 56c2571..8324e3f 100644 --- a/langtable.spec +++ b/langtable.spec @@ -45,14 +45,18 @@ This package contains a Python module to query the data from langtable-data. %endif -%package python3 +%package -n python3-langtable Summary: Python module to query the langtable-data Group: Development/Tools License: GPLv3+ Requires: %{name} = %{version}-%{release} Requires: %{name}-data = %{version}-%{release} +# Remove before F30 +Provides: %{name}-python3 = %{version}-%{release} +Provides: %{name}-python3%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python3 < %{version}-%{release} -%description python3 +%description -n python3-langtable This package contains a Python module to query the data from langtable-data. @@ -110,7 +114,7 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{python_sitelib}/* %endif -%files python3 +%files -n python3-langtable %{python3_sitelib}/langtable.py %{python3_sitelib}/langtable-*.egg-info %{python3_sitelib}/__pycache__/* @@ -122,6 +126,7 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %changelog * Tue Apr 10 2018 Pete Walter - 0.0.38-5 - Conditionally add back Python 2 subpackage on Fedora +- Rename Python 3 subpackage to python3-langtable to follow guidelines - Resolves: rhbz#1559099 * Wed Apr 04 2018 Mike FABIAN - 0.0.38-4 From 034db7a6be490127e17ebd618c7711a47126a6f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 19 Jun 2018 10:45:38 +0200 Subject: [PATCH 10/79] Rebuilt for Python 3.7 --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 8324e3f..f691f56 100644 --- a/langtable.spec +++ b/langtable.spec @@ -4,7 +4,7 @@ Name: langtable Version: 0.0.38 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. Group: Development/Tools # the translations in languages.xml and territories.xml are (mostly) @@ -124,6 +124,9 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Tue Jun 19 2018 Miro Hrončok - 0.0.38-6 +- Rebuilt for Python 3.7 + * Tue Apr 10 2018 Pete Walter - 0.0.38-5 - Conditionally add back Python 2 subpackage on Fedora - Rename Python 3 subpackage to python3-langtable to follow guidelines From 328d2100198b98781700fae3edcdd9758e6e8022 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 07:33:58 +0000 Subject: [PATCH 11/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index f691f56..bd1982e 100644 --- a/langtable.spec +++ b/langtable.spec @@ -4,7 +4,7 @@ Name: langtable Version: 0.0.38 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. Group: Development/Tools # the translations in languages.xml and territories.xml are (mostly) @@ -124,6 +124,9 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.0.38-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Tue Jun 19 2018 Miro Hrončok - 0.0.38-6 - Rebuilt for Python 3.7 From 9b8f289ad7044492da226d53643ba1afe6b3e22b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 17 Jul 2018 17:09:57 +0200 Subject: [PATCH 12/79] Update Python macros to new packaging standards --- langtable.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/langtable.spec b/langtable.spec index bd1982e..8f1dc5a 100644 --- a/langtable.spec +++ b/langtable.spec @@ -4,7 +4,7 @@ Name: langtable Version: 0.0.38 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. Group: Development/Tools # the translations in languages.xml and territories.xml are (mostly) @@ -111,7 +111,7 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %if 0%{?with_python2} %files -n python2-langtable -%{python_sitelib}/* +%{python2_sitelib}/* %endif %files -n python3-langtable @@ -124,6 +124,10 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Tue Jul 17 2018 Miro Hrončok - 0.0.38-8 +- Update Python macros to new packaging standards + (See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package) + * Fri Jul 13 2018 Fedora Release Engineering - 0.0.38-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From f93fb7c61d1e5c3bb1f9dcf2e275f7bfe40ffc01 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 15 Oct 2018 17:03:51 +0200 Subject: [PATCH 13/79] update to version 0.0.39 - Add the new keyboard layout "au" for Australia (same as "us") - Add locales missing in languages.xml, territiories.xml or in both. - Add ibus/libzhuyin and make it the default for TW. - Add cmn_TW.UTF-8 to the Chinese locales - Add several missing languages (Resolves: rhbz#1631214): ab av bin bm bua ch co cu ee fat gn ho hz ie ii io kaa ki kj kr kum kwm lah lez mh mo na ng nqo nv ota rm rn sco sg sh sma smn sms sn su syr tw ty tyv vo vot wen yap za --- .gitignore | 1 + langtable.spec | 14 ++++++++++++-- sources | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8486a23..12c9c21 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,4 @@ /langtable-0.0.36.tar.gz /langtable-0.0.37.tar.gz /langtable-0.0.38.tar.gz +/langtable-0.0.39.tar.gz diff --git a/langtable.spec b/langtable.spec index 8f1dc5a..15ee931 100644 --- a/langtable.spec +++ b/langtable.spec @@ -3,8 +3,8 @@ %endif Name: langtable -Version: 0.0.38 -Release: 8%{?dist} +Version: 0.0.39 +Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. Group: Development/Tools # the translations in languages.xml and territories.xml are (mostly) @@ -124,6 +124,16 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Mon Oct 15 2018 Mike FABIAN - 0.0.39-1 +- Add the new keyboard layout "au" for Australia (same as "us") +- Add locales missing in languages.xml, territiories.xml or in both. +- Add ibus/libzhuyin and make it the default for TW. +- Add cmn_TW.UTF-8 to the Chinese locales +- Add several missing languages (Resolves: rhbz#1631214): + ab av bin bm bua ch co cu ee fat gn ho hz ie ii io kaa ki kj kr kum + kwm lah lez mh mo na ng nqo nv ota rm rn sco sg sh sma smn sms sn su + syr tw ty tyv vo vot wen yap za + * Tue Jul 17 2018 Miro Hrončok - 0.0.38-8 - Update Python macros to new packaging standards (See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package) diff --git a/sources b/sources index 77ff7a8..dfb6482 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.38.tar.gz) = 80d4e90ac618251a3bf4d475985ea961d6d5d47f3a8e84489cb54ad305d490cae659756bc2957c647ac4a6e1d1e28efb2677bfe8f0abc6ad32f928b49624eff0 +SHA512 (langtable-0.0.39.tar.gz) = 7b4072f019698335faf6a236ed3659948559ee3e3b2e315b221e65a2232e6d32820f0a9c23da766c22c1aebdcdba3a67a364e4bb2d4dfb7750f907c8cfe4789c From 4483201924a914113f829e7001670dbf296cba7c Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 8 Nov 2018 11:14:18 +0100 Subject: [PATCH 14/79] Remove unnecessary LC_CTYPE=en_US.UTF-8 in check section --- langtable.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/langtable.spec b/langtable.spec index 15ee931..28f3ee9 100644 --- a/langtable.spec +++ b/langtable.spec @@ -4,7 +4,7 @@ Name: langtable Version: 0.0.39 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. Group: Development/Tools # the translations in languages.xml and territories.xml are (mostly) @@ -96,7 +96,7 @@ gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/langtable/*.xml %if 0%{?with_python2} (cd $RPM_BUILD_DIR/%{name}-%{version}/data; PYTHONPATH=.. %{__python2} ../test_cases.py; %{__python2} ../langtable.py) %endif -(cd $RPM_BUILD_DIR/%{name}-%{version}/data; LC_CTYPE=en_US.UTF-8 PYTHONPATH=.. %{__python3} ../test_cases.py; %{__python3} ../langtable.py) +(cd $RPM_BUILD_DIR/%{name}-%{version}/data; PYTHONPATH=.. %{__python3} ../test_cases.py; %{__python3} ../langtable.py) xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/keyboards.rng $RPM_BUILD_ROOT/%{_datadir}/langtable/keyboards.xml.gz xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/languages.rng $RPM_BUILD_ROOT/%{_datadir}/langtable/languages.xml.gz xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/territories.rng $RPM_BUILD_ROOT/%{_datadir}/langtable/territories.xml.gz @@ -124,6 +124,9 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Thu Nov 08 2018 Mike FABIAN - 0.0.39-2 +- Remove unnecessary LC_CTYPE=en_US.UTF-8 in check section. + * Mon Oct 15 2018 Mike FABIAN - 0.0.39-1 - Add the new keyboard layout "au" for Australia (same as "us") - Add locales missing in languages.xml, territiories.xml or in both. From 95fe546f7017129cf7124363043f3112220a9bf7 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 7 Jan 2019 12:01:24 +0100 Subject: [PATCH 15/79] update to version 0.0.40 - Add Esperanto locale and test case (Thanks to Carmen Bianca Bakker ). - Add sel --- .gitignore | 1 + langtable.spec | 9 +++++++-- sources | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 12c9c21..2ceae31 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,4 @@ /langtable-0.0.37.tar.gz /langtable-0.0.38.tar.gz /langtable-0.0.39.tar.gz +/langtable-0.0.40.tar.gz diff --git a/langtable.spec b/langtable.spec index 28f3ee9..f533a9e 100644 --- a/langtable.spec +++ b/langtable.spec @@ -3,8 +3,8 @@ %endif Name: langtable -Version: 0.0.39 -Release: 2%{?dist} +Version: 0.0.40 +Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. Group: Development/Tools # the translations in languages.xml and territories.xml are (mostly) @@ -124,6 +124,11 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Mon Jan 07 2019 Mike FABIAN - 0.0.40-1 +- Add Esperanto locale and test case + (Thanks to Carmen Bianca Bakker ). +- Add sel + * Thu Nov 08 2018 Mike FABIAN - 0.0.39-2 - Remove unnecessary LC_CTYPE=en_US.UTF-8 in check section. diff --git a/sources b/sources index dfb6482..b7c7edd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.39.tar.gz) = 7b4072f019698335faf6a236ed3659948559ee3e3b2e315b221e65a2232e6d32820f0a9c23da766c22c1aebdcdba3a67a364e4bb2d4dfb7750f907c8cfe4789c +SHA512 (langtable-0.0.40.tar.gz) = c51a8eb81444a7fc352fcc0c3b3f3119982cf2a78ad91768f8f7cbc2fe1a7249b6dc76f3e2876b58319c1ec22aa9328534b341cd3f5e05f3907e8a00e2aa17c5 From 5a3e8b3a8bd65238747be0ec32be1dd43555dd00 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:17:50 +0100 Subject: [PATCH 16/79] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- langtable.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/langtable.spec b/langtable.spec index f533a9e..759ce8c 100644 --- a/langtable.spec +++ b/langtable.spec @@ -6,7 +6,6 @@ Name: langtable Version: 0.0.40 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. -Group: Development/Tools # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the # short name for this license is "MIT", see: @@ -35,7 +34,6 @@ already known. Provides: %{name}-python%{?_isa} = %{version}-%{release} Obsoletes: %{name}-python < %{version}-%{release} Summary: Python module to query the langtable-data -Group: Development/Tools License: GPLv3+ Requires: %{name} = %{version}-%{release} Requires: %{name}-data = %{version}-%{release} @@ -47,7 +45,6 @@ from langtable-data. %package -n python3-langtable Summary: Python module to query the langtable-data -Group: Development/Tools License: GPLv3+ Requires: %{name} = %{version}-%{release} Requires: %{name}-data = %{version}-%{release} @@ -62,7 +59,6 @@ from langtable-data. %package data Summary: Data files for langtable -Group: Development/Tools License: GPLv3+ and MIT Requires: %{name} = %{version}-%{release} From d524646caf157cf74636e663d7e9c8c79cb647f1 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 29 Jan 2019 16:18:32 +0100 Subject: [PATCH 17/79] update to version 0.0.41 - The territory can be 2 upper case letters *or* 3 digits - Get translation changes from CLDR - Add many languages and territories and also add new translations from CLDR --- .gitignore | 1 + langtable.spec | 7 ++++++- sources | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2ceae31..e9a607b 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ /langtable-0.0.38.tar.gz /langtable-0.0.39.tar.gz /langtable-0.0.40.tar.gz +/langtable-0.0.41.tar.gz diff --git a/langtable.spec b/langtable.spec index 759ce8c..2c99999 100644 --- a/langtable.spec +++ b/langtable.spec @@ -3,7 +3,7 @@ %endif Name: langtable -Version: 0.0.40 +Version: 0.0.41 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -120,6 +120,11 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Tue Jan 29 2019 Mike FABIAN - 0.0.41-1 +- The territory can be 2 upper case letters *or* 3 digits +- Get translation changes from CLDR +- Add many languages and territories and also add new translations from CLDR + * Mon Jan 07 2019 Mike FABIAN - 0.0.40-1 - Add Esperanto locale and test case (Thanks to Carmen Bianca Bakker ). diff --git a/sources b/sources index b7c7edd..94210d3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.40.tar.gz) = c51a8eb81444a7fc352fcc0c3b3f3119982cf2a78ad91768f8f7cbc2fe1a7249b6dc76f3e2876b58319c1ec22aa9328534b341cd3f5e05f3907e8a00e2aa17c5 +SHA512 (langtable-0.0.41.tar.gz) = 7eaf1a53e8f2de6987c4b6ba7d8bdaddb0815b6429ab920cb15492cf5c537defaa3ad56fd79f15257304aa8b11a46df12a1dac0901931b1c298d4811b3f540a7 From 31b92bbcac9abdee74d41e0c715fc6d9f0e672b0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 06:19:47 +0000 Subject: [PATCH 18/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 2c99999..036ed29 100644 --- a/langtable.spec +++ b/langtable.spec @@ -4,7 +4,7 @@ Name: langtable Version: 0.0.41 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -120,6 +120,9 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 0.0.41-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Tue Jan 29 2019 Mike FABIAN - 0.0.41-1 - The territory can be 2 upper case letters *or* 3 digits - Get translation changes from CLDR From 3377680f231795580f0e93d368eecc312173166e Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Fri, 8 Mar 2019 09:23:53 +0100 Subject: [PATCH 19/79] Remove python2-langtable subpackage (Resolves: rhbz#1686395) --- langtable.spec | 46 ++++------------------------------------------ 1 file changed, 4 insertions(+), 42 deletions(-) diff --git a/langtable.spec b/langtable.spec index 036ed29..0e420cd 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,10 +1,6 @@ -%if 0%{?fedora} -%global with_python2 1 -%endif - Name: langtable Version: 0.0.41 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -15,9 +11,6 @@ URL: https://github.com/mike-fabian/langtable Source0: https://github.com/mike-fabian/langtable/releases/download/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-interpreter -%if 0%{?with_python2} -BuildRequires: python2-devel -%endif BuildRequires: python3-devel %description @@ -27,22 +20,6 @@ example, guess the territory and the keyboard layout if the language is known or guess the language and keyboard layout if the territory is already known. -%if 0%{?with_python2} -%package -n python2-langtable -%{?python_provide:%python_provide python2-langtable} -# Remove before F30 -Provides: %{name}-python%{?_isa} = %{version}-%{release} -Obsoletes: %{name}-python < %{version}-%{release} -Summary: Python module to query the langtable-data -License: GPLv3+ -Requires: %{name} = %{version}-%{release} -Requires: %{name}-data = %{version}-%{release} - -%description -n python2-langtable -This package contains a Python module to query the data -from langtable-data. -%endif - %package -n python3-langtable Summary: Python module to query the langtable-data License: GPLv3+ @@ -70,28 +47,15 @@ This package contains the data files for langtable. %build perl -pi -e "s,_datadir = '(.*)',_datadir = '%{_datadir}/langtable'," langtable.py -%if 0%{?with_python2} -%py2_build -%endif %py3_build %install -%if 0%{?with_python2} -%py2_install -- --install-data=%{_datadir}/langtable -gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/langtable/*.xml -%endif %py3_install -- --install-data=%{_datadir}/langtable -# the .xml files copied by the “python3 setup.py install” are identical -# to those copied in the “python2 setup.py install”, -# it does not hurt to gzip them again: gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/langtable/*.xml %check -%if 0%{?with_python2} -(cd $RPM_BUILD_DIR/%{name}-%{version}/data; PYTHONPATH=.. %{__python2} ../test_cases.py; %{__python2} ../langtable.py) -%endif (cd $RPM_BUILD_DIR/%{name}-%{version}/data; PYTHONPATH=.. %{__python3} ../test_cases.py; %{__python3} ../langtable.py) xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/keyboards.rng $RPM_BUILD_ROOT/%{_datadir}/langtable/keyboards.xml.gz xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/languages.rng $RPM_BUILD_ROOT/%{_datadir}/langtable/languages.xml.gz @@ -105,11 +69,6 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %dir %{_datadir}/langtable/ %{_datadir}/langtable/schemas -%if 0%{?with_python2} -%files -n python2-langtable -%{python2_sitelib}/* -%endif - %files -n python3-langtable %{python3_sitelib}/langtable.py %{python3_sitelib}/langtable-*.egg-info @@ -120,6 +79,9 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Fri Mar 08 2019 Mike FABIAN - 0.0.41-3 +- Remove python2-langtable subpackage (Resolves: rhbz#1686395) + * Fri Feb 01 2019 Fedora Release Engineering - 0.0.41-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 3482269d9bc6bf055ecd6d529103a689113e8ec9 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 15 Apr 2019 12:20:23 +0200 Subject: [PATCH 20/79] Add special support for languageId ca_ES_VALENCIA (Resolves: rhbz#1698984) --- .gitignore | 1 + langtable.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e9a607b..ee21015 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ /langtable-0.0.39.tar.gz /langtable-0.0.40.tar.gz /langtable-0.0.41.tar.gz +/langtable-0.0.42.tar.gz diff --git a/langtable.spec b/langtable.spec index 0e420cd..57b6a94 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable -Version: 0.0.41 -Release: 3%{?dist} +Version: 0.0.42 +Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -79,6 +79,9 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Mon Apr 08 2019 Mike FABIAN - 0.0.42-1 +- Add special support for languageId ca_ES_VALENCIA (Resolves: rhbz#1698984) + * Fri Mar 08 2019 Mike FABIAN - 0.0.41-3 - Remove python2-langtable subpackage (Resolves: rhbz#1686395) diff --git a/sources b/sources index 94210d3..7586b12 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.41.tar.gz) = 7eaf1a53e8f2de6987c4b6ba7d8bdaddb0815b6429ab920cb15492cf5c537defaa3ad56fd79f15257304aa8b11a46df12a1dac0901931b1c298d4811b3f540a7 +SHA512 (langtable-0.0.42.tar.gz) = 33753a0cac991f5499b49ea01288da9cc4fbea6f8572d772e5ce94e218726fee34885764dbc2f243b0f4c56a962ccea3f2c404c75e7ec2382b196cbf161c9c90 From 391fa6062c33247bc05b3db6bc815c704b119c45 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Fri, 10 May 2019 12:06:17 +0200 Subject: [PATCH 21/79] update to version 0.0.43 - Get translation changes from CLDR - Add some new translations from CLDR - Add dsb_DE.UTF-8 sah_RU.UTF-8 locales - Fix ranks for "en" and "zh" in "SG", English should be the default for "SG" - Reduce the rank of cmn_TW.UTF-8 and zh_SG.UTF-8 to 0 for languageId="zh" (Resolves: https://github.com/mike-fabian/langtable/issues/8) --- .gitignore | 1 + langtable.spec | 10 +++++++++- sources | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ee21015..94e8b62 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,4 @@ /langtable-0.0.40.tar.gz /langtable-0.0.41.tar.gz /langtable-0.0.42.tar.gz +/langtable-0.0.43.tar.gz diff --git a/langtable.spec b/langtable.spec index 57b6a94..84fb027 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.42 +Version: 0.0.43 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -79,6 +79,14 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Fri May 10 2019 Mike FABIAN - 0.0.43-1 +- Get translation changes from CLDR +- Add some new translations from CLDR +- Add dsb_DE.UTF-8 sah_RU.UTF-8 locales +- Fix ranks for "en" and "zh" in "SG", English should be the default for "SG" +- Reduce the rank of cmn_TW.UTF-8 and zh_SG.UTF-8 to 0 for languageId="zh" + (Resolves: https://github.com/mike-fabian/langtable/issues/8) + * Mon Apr 08 2019 Mike FABIAN - 0.0.42-1 - Add special support for languageId ca_ES_VALENCIA (Resolves: rhbz#1698984) diff --git a/sources b/sources index 7586b12..c04e65b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.42.tar.gz) = 33753a0cac991f5499b49ea01288da9cc4fbea6f8572d772e5ce94e218726fee34885764dbc2f243b0f4c56a962ccea3f2c404c75e7ec2382b196cbf161c9c90 +SHA512 (langtable-0.0.43.tar.gz) = 42905b48b722fb666b9a0dbc43e5329813f61b77d5d060e5e62c29cb7f975cbf6a67b25767b0c6f2ddaaea31d5a7620fd1f963772303fd44a5f9903aad7252e4 From 14cbde1278e777257ab14bbab583fb3285e41772 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 30 May 2019 15:11:47 +0200 Subject: [PATCH 22/79] update to version 0.0.44 - Use setuptools instead of distutils - Add a version() function and an info() function. - Restructure langtable project a bit to be able to upload to PyPi - Increase the rank of zh_SG.UTF-8 back to 10 again for languageId="zh" - Remove old provides and obsoletes --- .gitignore | 2 ++ langtable.spec | 65 +++++++++++++++++++++++++------------------------- sources | 2 +- 3 files changed, 35 insertions(+), 34 deletions(-) diff --git a/.gitignore b/.gitignore index 94e8b62..3c9723e 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,5 @@ /langtable-0.0.41.tar.gz /langtable-0.0.42.tar.gz /langtable-0.0.43.tar.gz +/langtable-0.0.43.4.tar.gz +/langtable-0.0.44.tar.gz diff --git a/langtable.spec b/langtable.spec index 84fb027..668b5d0 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.43 +Version: 0.0.44 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -24,61 +24,60 @@ already known. Summary: Python module to query the langtable-data License: GPLv3+ Requires: %{name} = %{version}-%{release} -Requires: %{name}-data = %{version}-%{release} -# Remove before F30 -Provides: %{name}-python3 = %{version}-%{release} -Provides: %{name}-python3%{?_isa} = %{version}-%{release} -Obsoletes: %{name}-python3 < %{version}-%{release} %description -n python3-langtable This package contains a Python module to query the data from langtable-data. -%package data -Summary: Data files for langtable -License: GPLv3+ and MIT -Requires: %{name} = %{version}-%{release} - -%description data -This package contains the data files for langtable. - %prep %setup -q %build -perl -pi -e "s,_datadir = '(.*)',_datadir = '%{_datadir}/langtable'," langtable.py +perl -pi -e "s,_DATADIR = '(.*)',_DATADIR = '%{_datadir}/langtable'," langtable/langtable.py %py3_build %install -%py3_install -- --install-data=%{_datadir}/langtable -gzip --force --best $RPM_BUILD_ROOT/%{_datadir}/langtable/*.xml +%py3_install %check -(cd $RPM_BUILD_DIR/%{name}-%{version}/data; PYTHONPATH=.. %{__python3} ../test_cases.py; %{__python3} ../langtable.py) -xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/keyboards.rng $RPM_BUILD_ROOT/%{_datadir}/langtable/keyboards.xml.gz -xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/languages.rng $RPM_BUILD_ROOT/%{_datadir}/langtable/languages.xml.gz -xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/territories.rng $RPM_BUILD_ROOT/%{_datadir}/langtable/territories.xml.gz -xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezoneidparts.rng $RPM_BUILD_ROOT/%{_datadir}/langtable/timezoneidparts.xml.gz -xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezones.rng $RPM_BUILD_ROOT/%{_datadir}/langtable/timezones.xml.gz +(cd $RPM_BUILD_DIR/%{name}-%{version}/langtable; %{__python3} langtable.py) +(cd $RPM_BUILD_DIR/%{name}-%{version}; %{__python3} test_cases.py) +xmllint --noout --relaxng \ + $RPM_BUILD_DIR/%{name}-%{version}/langtable/schemas/keyboards.rng \ + $RPM_BUILD_DIR/%{name}-%{version}/langtable/data/keyboards.xml.gz +xmllint --noout --relaxng \ + $RPM_BUILD_DIR/%{name}-%{version}/langtable/schemas/languages.rng \ + $RPM_BUILD_DIR/%{name}-%{version}/langtable/data/languages.xml.gz +xmllint --noout --relaxng \ + $RPM_BUILD_DIR/%{name}-%{version}/langtable/schemas/territories.rng \ + $RPM_BUILD_DIR/%{name}-%{version}/langtable/data/territories.xml.gz +xmllint --noout --relaxng \ + $RPM_BUILD_DIR/%{name}-%{version}/langtable/schemas/timezoneidparts.rng \ + $RPM_BUILD_DIR/%{name}-%{version}/langtable/data/timezoneidparts.xml.gz +xmllint --noout --relaxng \ + $RPM_BUILD_DIR/%{name}-%{version}/langtable/schemas/timezones.rng \ + $RPM_BUILD_DIR/%{name}-%{version}/langtable/data/timezones.xml.gz %files %license COPYING unicode-license.txt -%doc README ChangeLog test_cases.py -%dir %{_datadir}/langtable/ -%{_datadir}/langtable/schemas +%doc README ChangeLog test_cases.py langtable/schemas/*.rng %files -n python3-langtable -%{python3_sitelib}/langtable.py -%{python3_sitelib}/langtable-*.egg-info -%{python3_sitelib}/__pycache__/* - -%files data -%dir %{_datadir}/langtable/ -%{_datadir}/langtable/*.xml.gz +%dir %{python3_sitelib}/langtable +%{python3_sitelib}/langtable/* +%dir %{python3_sitelib}/langtable-*.egg-info +%{python3_sitelib}/langtable-*.egg-info/* %changelog +* Fri May 31 2019 Mike FABIAN - 0.0.44-1 +- Use setuptools instead of distutils +- Add a version() function and an info() function. +- Restructure langtable project a bit to be able to upload to PyPi +- Increase the rank of zh_SG.UTF-8 back to 10 again for languageId="zh" +- Remove old provides and obsoletes + * Fri May 10 2019 Mike FABIAN - 0.0.43-1 - Get translation changes from CLDR - Add some new translations from CLDR diff --git a/sources b/sources index c04e65b..6417c00 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.43.tar.gz) = 42905b48b722fb666b9a0dbc43e5329813f61b77d5d060e5e62c29cb7f975cbf6a67b25767b0c6f2ddaaea31d5a7620fd1f963772303fd44a5f9903aad7252e4 +SHA512 (langtable-0.0.44.tar.gz) = bc5da991a786e2014693bc74716f6b6b7593efeddcfe6c3b86b55b3f2a9194ff45ada3ed20e9d88c3dc352f0aa57703aa0f8656fb68616daa7be6ec6b24ca2dd From 3b043c3b1e7da149640a0bd532b9096af8d65836 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Fri, 31 May 2019 12:47:12 +0200 Subject: [PATCH 23/79] Obsolete langtable-data --- langtable.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 668b5d0..2f1d118 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.44 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -24,6 +24,7 @@ already known. Summary: Python module to query the langtable-data License: GPLv3+ Requires: %{name} = %{version}-%{release} +Obsoletes: %{name}-data < %{version}-%{release} %description -n python3-langtable This package contains a Python module to query the data @@ -71,6 +72,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Fri May 31 2019 Mike FABIAN - 0.0.44-2 +- Obsolete langtable-data + * Fri May 31 2019 Mike FABIAN - 0.0.44-1 - Use setuptools instead of distutils - Add a version() function and an info() function. From ec4ea81f26cf21fc8927ea25c15ac0625ac9296d Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 4 Jun 2019 09:41:21 +0200 Subject: [PATCH 24/79] Added CI tests --- ...-failed-tests-in-test_cases.py-docte.patch | 34 +++++++++++++++++++ langtable.spec | 2 ++ tests/scripts/run_tests.sh | 33 ++++++++++++++++++ tests/tests.yml | 9 +++++ 4 files changed, 78 insertions(+) create mode 100644 0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch create mode 100644 tests/scripts/run_tests.sh create mode 100644 tests/tests.yml diff --git a/0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch b/0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch new file mode 100644 index 0000000..0fe166b --- /dev/null +++ b/0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch @@ -0,0 +1,34 @@ +From 485cf06b8518d651ab5dbf69fb849a909a3a76b8 Mon Sep 17 00:00:00 2001 +From: Mike FABIAN +Date: Tue, 4 Jun 2019 12:39:14 +0200 +Subject: [PATCH] Return number of failed tests in test_cases.py doctests. + +--- + test_cases.py | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/test_cases.py b/test_cases.py +index efd1fda..b6fc4bc 100644 +--- a/test_cases.py ++++ b/test_cases.py +@@ -1,5 +1,7 @@ + # vim:fileencoding=utf-8:sw=4:et -*- coding: utf-8 -*- + ++import sys ++ + def dummy(): + u''' + >>> import langtable +@@ -1396,4 +1398,8 @@ def dummy(): + + if __name__ == "__main__": + import doctest +- doctest.testmod() ++ (FAILED, ATTEMPTED) = doctest.testmod() ++ if FAILED: ++ # Return number of failed tests: ++ sys.exit(FAILED) ++ sys.exit(0) +-- +2.21.0 + diff --git a/langtable.spec b/langtable.spec index 2f1d118..58b657b 100644 --- a/langtable.spec +++ b/langtable.spec @@ -9,6 +9,7 @@ Summary: Guessing reasonable defaults for locale, keyboard layout, territ License: GPLv3+ URL: https://github.com/mike-fabian/langtable Source0: https://github.com/mike-fabian/langtable/releases/download/%{version}/%{name}-%{version}.tar.gz +Patch0: 0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch BuildArch: noarch BuildRequires: perl-interpreter BuildRequires: python3-devel @@ -32,6 +33,7 @@ from langtable-data. %prep %setup -q +%patch0 -p1 -b .0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch %build perl -pi -e "s,_DATADIR = '(.*)',_DATADIR = '%{_datadir}/langtable'," langtable/langtable.py diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh new file mode 100644 index 0000000..08970b9 --- /dev/null +++ b/tests/scripts/run_tests.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +check_return_value () { + if [ $1 != 0 ] ; then + exit $1 + fi +} + +PYTHON3_SITELIB=$(/usr/bin/python3 -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib())") + +xmllint --noout --relaxng \ + ${PYTHON3_SITELIB}/langtable/schemas/keyboards.rng \ + ${PYTHON3_SITELIB}/langtable/data/keyboards.xml.gz +check_return_value $? +xmllint --noout --relaxng \ + ${PYTHON3_SITELIB}/langtable/schemas/languages.rng \ + ${PYTHON3_SITELIB}/langtable/data/languages.xml.gz +check_return_value $? +xmllint --noout --relaxng \ + ${PYTHON3_SITELIB}/langtable/schemas/territories.rng \ + ${PYTHON3_SITELIB}/langtable/data/territories.xml.gz +check_return_value $? +xmllint --noout --relaxng \ + ${PYTHON3_SITELIB}/langtable/schemas/timezoneidparts.rng \ + ${PYTHON3_SITELIB}/langtable/data/timezoneidparts.xml.gz +check_return_value $? +xmllint --noout --relaxng \ + ${PYTHON3_SITELIB}/langtable/schemas/timezones.rng \ + ${PYTHON3_SITELIB}/langtable/data/timezones.xml.gz +check_return_value $? + +/usr/bin/python3 /usr/share/doc/langtable/test_cases.py +check_return_value $? diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..aaf3946 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,9 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - simple: + dir: scripts/ + run: ./run_tests.sh From 9b7e98210eb69cdb3629b5743910168adefe508c Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 18 Jun 2019 12:09:39 +0200 Subject: [PATCH 25/79] update to 0.0.45 - Add python_provide macro to make the switch from Python 2 to Python 3 automatic (Resolves: rhbz#1717341). - Use "us(intl)" keyboard instead of "us" as the default for af and ZA (Resolves: https://github.com/mike-fabian/langtable/issues/9). - Add za keyboard layout for nso, tn, ve (Resolves: https://github.com/mike-fabian/langtable/issues/10). - "us" is a possible layout for "ZA", it is used by default for "zu" for example - Return number of failed tests in test_cases.py doctests. --- .gitignore | 1 + langtable.spec | 17 +++++++++++++---- sources | 2 +- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 3c9723e..cb3eca9 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ /langtable-0.0.43.tar.gz /langtable-0.0.43.4.tar.gz /langtable-0.0.44.tar.gz +/langtable-0.0.45.tar.gz diff --git a/langtable.spec b/langtable.spec index 58b657b..73c338c 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable -Version: 0.0.44 -Release: 2%{?dist} +Version: 0.0.45 +Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -9,7 +9,6 @@ Summary: Guessing reasonable defaults for locale, keyboard layout, territ License: GPLv3+ URL: https://github.com/mike-fabian/langtable Source0: https://github.com/mike-fabian/langtable/releases/download/%{version}/%{name}-%{version}.tar.gz -Patch0: 0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch BuildArch: noarch BuildRequires: perl-interpreter BuildRequires: python3-devel @@ -26,6 +25,7 @@ Summary: Python module to query the langtable-data License: GPLv3+ Requires: %{name} = %{version}-%{release} Obsoletes: %{name}-data < %{version}-%{release} +%{?python_provide:%python_provide python3-%{name}} %description -n python3-langtable This package contains a Python module to query the data @@ -33,7 +33,6 @@ from langtable-data. %prep %setup -q -%patch0 -p1 -b .0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch %build perl -pi -e "s,_DATADIR = '(.*)',_DATADIR = '%{_datadir}/langtable'," langtable/langtable.py @@ -74,6 +73,16 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Fri May 31 2019 Mike FABIAN - 0.0.45-1 +- Add python_provide macro to make the switch from Python 2 to + Python 3 automatic (Resolves: rhbz#1717341) +- Use “us(intl)” keyboard instead of “us” as the default for af and ZA + (Resolves: https://github.com/mike-fabian/langtable/issues/9) +- Add za keyboard layout for nso, tn, ve + (Resolves: https://github.com/mike-fabian/langtable/issues/10) +- “us” is a possible layout for “ZA”, it is used by default for “zu” for example +- Return number of failed tests in test_cases.py doctests. + * Fri May 31 2019 Mike FABIAN - 0.0.44-2 - Obsolete langtable-data diff --git a/sources b/sources index 6417c00..4d6e692 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.44.tar.gz) = bc5da991a786e2014693bc74716f6b6b7593efeddcfe6c3b86b55b3f2a9194ff45ada3ed20e9d88c3dc352f0aa57703aa0f8656fb68616daa7be6ec6b24ca2dd +SHA512 (langtable-0.0.45.tar.gz) = 0efc08adf3001ebe31f95682a03da791241769794ffd1a0954bfb712adb220d3078952fb259df62d4ab085456d062540e500e2509660e6e84383dd591be57dc9 From 78e08aade8857fb883d3cca5d8318f9d5f723274 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 12:26:31 +0000 Subject: [PATCH 26/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 73c338c..b2ec0fa 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.45 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -73,6 +73,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 0.0.45-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri May 31 2019 Mike FABIAN - 0.0.45-1 - Add python_provide macro to make the switch from Python 2 to Python 3 automatic (Resolves: rhbz#1717341) From cc6d3fad9e6896764f519a4958b9b327786aa5a3 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 30 Jul 2019 10:05:31 +0200 Subject: [PATCH 27/79] =?UTF-8?q?Add=20=E2=80=9CProvides:=20langtable-data?= =?UTF-8?q?=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- langtable.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index b2ec0fa..7804b39 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.45 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -25,6 +25,7 @@ Summary: Python module to query the langtable-data License: GPLv3+ Requires: %{name} = %{version}-%{release} Obsoletes: %{name}-data < %{version}-%{release} +Provides: %{name}-data = %{version}-%{release} %{?python_provide:%python_provide python3-%{name}} %description -n python3-langtable @@ -73,6 +74,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue Jul 30 2019 Mike FABIAN - 0.0.45-3 +- Add “Provides: langtable-data” + * Thu Jul 25 2019 Fedora Release Engineering - 0.0.45-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 2dd30cbfe20bc3621e824b658e810e271bcd42b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Aug 2019 10:17:13 +0200 Subject: [PATCH 28/79] Rebuilt for Python 3.8 --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 7804b39..ad025e1 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.45 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -74,6 +74,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Mon Aug 19 2019 Miro Hrončok - 0.0.45-4 +- Rebuilt for Python 3.8 + * Tue Jul 30 2019 Mike FABIAN - 0.0.45-3 - Add “Provides: langtable-data” From 9c27013ed02e8855b02c4b900cbed06aaec756de Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 4 Sep 2019 16:06:47 +0200 Subject: [PATCH 29/79] update to 0.0.46 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add some documentation about the parsing of languageId - Adapt test cases to translation changes from CLDR - Get translation changes from CLDR - Add more translations from CLDR - More test cases - Add optional boolean parameter “fallback” in language_name() and territory_name() - Add translation of ES in an - Add dummy translation of IN in ks_Deva - Add endonyms for ik, iu, cv, csb, crh, an, ayc, ber, bho - Add translation of IT in lij - Add endonym for nan_Latn - Add endonym for oc and translation of FR in oc - Add translations of AW and CW in pap - Add endonyms for sat, sa, quz - Add translation of IT in sc - Add dummy translation of IN in sd_Deva - Add endonyms for sid, the - Add translations of “Tok Pisin” and “Papua New Guinea” in the Tok Pisin language - Add translations of “Walloon” and “Belgium” in the Walloon language - Some comments in Makefile --- .gitignore | 1 + ...-failed-tests-in-test_cases.py-docte.patch | 34 ------------------- langtable.spec | 26 ++++++++++++-- sources | 2 +- 4 files changed, 26 insertions(+), 37 deletions(-) delete mode 100644 0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch diff --git a/.gitignore b/.gitignore index cb3eca9..96bdfa8 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,4 @@ /langtable-0.0.43.4.tar.gz /langtable-0.0.44.tar.gz /langtable-0.0.45.tar.gz +/langtable-0.0.46.tar.gz diff --git a/0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch b/0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch deleted file mode 100644 index 0fe166b..0000000 --- a/0001-Return-number-of-failed-tests-in-test_cases.py-docte.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 485cf06b8518d651ab5dbf69fb849a909a3a76b8 Mon Sep 17 00:00:00 2001 -From: Mike FABIAN -Date: Tue, 4 Jun 2019 12:39:14 +0200 -Subject: [PATCH] Return number of failed tests in test_cases.py doctests. - ---- - test_cases.py | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/test_cases.py b/test_cases.py -index efd1fda..b6fc4bc 100644 ---- a/test_cases.py -+++ b/test_cases.py -@@ -1,5 +1,7 @@ - # vim:fileencoding=utf-8:sw=4:et -*- coding: utf-8 -*- - -+import sys -+ - def dummy(): - u''' - >>> import langtable -@@ -1396,4 +1398,8 @@ def dummy(): - - if __name__ == "__main__": - import doctest -- doctest.testmod() -+ (FAILED, ATTEMPTED) = doctest.testmod() -+ if FAILED: -+ # Return number of failed tests: -+ sys.exit(FAILED) -+ sys.exit(0) --- -2.21.0 - diff --git a/langtable.spec b/langtable.spec index ad025e1..2481834 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable -Version: 0.0.45 -Release: 4%{?dist} +Version: 0.0.46 +Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -74,6 +74,28 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Wed Sep 04 2019 Mike FABIAN - 0.0.46-1 +- Add some documentation about the parsing of languageId +- Adapt test cases to translation changes from CLDR +- Get translation changes from CLDR +- Add more translations from CLDR +- More test cases +- Add optional boolean parameter “fallback” in language_name() and territory_name() +- Add translation of ES in an +- Add dummy translation of IN in ks_Deva +- Add endonyms for ik, iu, cv, csb, crh, an, ayc, ber, bho +- Add translation of IT in lij +- Add endonym for nan_Latn +- Add endonym for oc and translation of FR in oc +- Add translations of AW and CW in pap +- Add endonyms for sat, sa, quz +- Add translation of IT in sc +- Add dummy translation of IN in sd_Deva +- Add endonyms for sid, the +- Add translations of “Tok Pisin” and “Papua New Guinea” in the Tok Pisin language +- Add translations of “Walloon” and “Belgium” in the Walloon language +- Some comments in Makefile + * Mon Aug 19 2019 Miro Hrončok - 0.0.45-4 - Rebuilt for Python 3.8 diff --git a/sources b/sources index 4d6e692..6acaf30 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.45.tar.gz) = 0efc08adf3001ebe31f95682a03da791241769794ffd1a0954bfb712adb220d3078952fb259df62d4ab085456d062540e500e2509660e6e84383dd591be57dc9 +SHA512 (langtable-0.0.46.tar.gz) = b64c5894edfe6e220339dcd4116feb419835f8d445df3a4a8a864dd22e6b9a777263a096d5e2afbe25c4d88f223217ad449bdd899ce1e7b19253460e89d55f6e From 98fd666725942b435418945b470738023b473d19 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Sun, 29 Sep 2019 18:26:23 +0200 Subject: [PATCH 30/79] update to 0.0.47 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Three changed translations into sr_Latn from CLDR - Add translations of PL in csb and szl (from native speakers) - Add tools/compare_with_glib_source.py script to compare stuff with glibc - Add translation of DZ in ber - Add translation for MA in ber, ber_Tfng, ber_MA - Add translation of MX in nah and nhn - Add translation of NP in the - Add translation for PH in tl - Fix translation of IN in te - Add translation of MM in shn - Add translation of IN in sat - Add translation of IR in az_Arab, az_IR - Add translation for NU in niu - Add translation of PE in ayc (from glibc) - Add translation of PE in agr (from glibc) - Fix translation of RU into tt - Fix translation of ZA in xh - Add translation of IN in mni (from glibc) - Add translation of CA in iu (from glibc) - Add translation of ET in sid (from glibc) - Add translations of ER and ET in gez (from glibc) - Add translation of ZA in nr, nso, ss, st, tn, ts, ve (from glibc) - Add translation of MV in dv (from glibc) - Add translation of CA in ik (from glibc) - Add translation of IN in mjw (from glibc) - Add translations of TW in cmn, hak, nan, nan_Latn (from glibc) - Fix translation of BY in be_Latn to agree with glibc - Add translation of NP in bho - Add translation of IN in bhb, bho, doi, hif, hne, ks_Deva, mag, raj, sa, sd_Deva - Use "Crimean Tatar" instead of "Crimean Turkish" as English translation for crh - Use Shuswap instead of "Shuswap langauge" as the English translation of shs - Correct capitalization of endonym for ss - Fix translations of sr_Latn and sr_Cyrl into sr_Latn - Use standard translations of zh and yue from cldr, not the alt='menu' variant - Fix endonym of uz_Cyrl to agree with glibc and cldr - Change endonym for tcy to agree with glibc (cldr does not have tcy) - Change endonym for sid to agree with glibc (cldr does not have sid) - Change endonym for sgs to agree with glibc (cldr does not have sgs) - Give Olck higher priority than Deva for sat - Change endonym for lzh to agree with glibc - Change endonym for csb to agree with glibc - Change endonym for cmn_Hans from 官话 to 汉语官话 and for cmn_Hant from 官話 to 漢語官話 - Add endonym for ber_MA - Add endonym for az_Arab, az_IR (from az_IR in glibc) - Add endonym for fy_NL - Fix endonym for nhn and add English name for nhn - Fix endonym for pa_Arab (agrees with CLDR now) --- .gitignore | 1 + langtable.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++- sources | 2 +- 3 files changed, 52 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 96bdfa8..0ec769f 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,4 @@ /langtable-0.0.44.tar.gz /langtable-0.0.45.tar.gz /langtable-0.0.46.tar.gz +/langtable-0.0.47.tar.gz diff --git a/langtable.spec b/langtable.spec index 2481834..7499bfb 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.46 +Version: 0.0.47 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -74,6 +74,55 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Sun Sep 29 2019 Mike FABIAN - 0.0.47-1 +- Three changed translations into sr_Latn from CLDR +- Add translations of PL in csb and szl (from native speakers) +- Add tools/compare_with_glib_source.py script to compare stuff with glibc +- Add translation of DZ in ber +- Add translation for MA in ber, ber_Tfng, ber_MA +- Add translation of MX in nah and nhn +- Add translation of NP in the +- Add translation for PH in tl +- Fix translation of IN in te +- Add translation of MM in shn +- Add translation of IN in sat +- Add translation of IR in az_Arab, az_IR +- Add translation for NU in niu +- Add translation of PE in ayc (from glibc) +- Add translation of PE in agr (from glibc) +- Fix translation of RU into tt +- Fix translation of ZA in xh +- Add translation of IN in mni (from glibc) +- Add translation of CA in iu (from glibc) +- Add translation of ET in sid (from glibc) +- Add translations of ER and ET in gez (from glibc) +- Add translation of ZA in nr, nso, ss, st, tn, ts, ve (from glibc) +- Add translation of MV in dv (from glibc) +- Add translation of CA in ik (from glibc) +- Add translation of IN in mjw (from glibc) +- Add translations of TW in cmn, hak, nan, nan_Latn (from glibc) +- Fix translation of BY in be_Latn to agree with glibc +- Add translation of NP in bho +- Add translation of IN in bhb, bho, doi, hif, hne, ks_Deva, mag, raj, sa, sd_Deva +- Use "Crimean Tatar" instead of "Crimean Turkish" as English translation for crh +- Use Shuswap instead of "Shuswap langauge" as the English translation of shs +- Correct capitalization of endonym for ss +- Fix translations of sr_Latn and sr_Cyrl into sr_Latn +- Use standard translations of zh and yue from cldr, not the alt='menu' variant +- Fix endonym of uz_Cyrl to agree with glibc and cldr +- Change endonym for tcy to agree with glibc (cldr does not have tcy) +- Change endonym for sid to agree with glibc (cldr does not have sid) +- Change endonym for sgs to agree with glibc (cldr does not have sgs) +- Give Olck higher priority than Deva for sat +- Change endonym for lzh to agree with glibc +- Change endonym for csb to agree with glibc +- Change endonym for cmn_Hans from 官话 to 汉语官话 and for cmn_Hant from 官話 to 漢語官話 +- Add endonym for ber_MA +- Add endonym for az_Arab, az_IR (from az_IR in glibc) +- Add endonym for fy_NL +- Fix endonym for nhn and add English name for nhn +- Fix endonym for pa_Arab (agrees with CLDR now) + * Wed Sep 04 2019 Mike FABIAN - 0.0.46-1 - Add some documentation about the parsing of languageId - Adapt test cases to translation changes from CLDR diff --git a/sources b/sources index 6acaf30..5084378 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.46.tar.gz) = b64c5894edfe6e220339dcd4116feb419835f8d445df3a4a8a864dd22e6b9a777263a096d5e2afbe25c4d88f223217ad449bdd899ce1e7b19253460e89d55f6e +SHA512 (langtable-0.0.47.tar.gz) = 267aba687385865990aba9f53b030abafa7c5e6ee0c509056467d2f6b457a6102570127e15fbadacbb9333b63bdb2047bbf32f198170adbcff2648ba692aa87a From 74ef9e12e16911e3590f1625bcfc721ad52ead23 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 5 Nov 2019 11:28:07 +0100 Subject: [PATCH 31/79] update to 0.0.48 - Fix typo in mo entry - Add mnw - Fix translation of IN in te --- .gitignore | 1 + langtable.spec | 7 ++++++- sources | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0ec769f..dc71ae0 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,4 @@ /langtable-0.0.45.tar.gz /langtable-0.0.46.tar.gz /langtable-0.0.47.tar.gz +/langtable-0.0.48.tar.gz diff --git a/langtable.spec b/langtable.spec index 7499bfb..d6fa030 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.47 +Version: 0.0.48 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -74,6 +74,11 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue Nov 05 2019 Mike FABIAN - 0.0.48-1 +- Fix typo in mo entry +- Add mnw +- Fix translation of IN in te + * Sun Sep 29 2019 Mike FABIAN - 0.0.47-1 - Three changed translations into sr_Latn from CLDR - Add translations of PL in csb and szl (from native speakers) diff --git a/sources b/sources index 5084378..6437ad9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.47.tar.gz) = 267aba687385865990aba9f53b030abafa7c5e6ee0c509056467d2f6b457a6102570127e15fbadacbb9333b63bdb2047bbf32f198170adbcff2648ba692aa87a +SHA512 (langtable-0.0.48.tar.gz) = e00de5735726bf8b69a91fb11c904b75f107c3bf09bdc21063a26ccba7a5d6c8a50270cf08301567f6421efeb5798134d2bc02388e7e3847f510b56ee9e4694b From 2526ff8a9eeb139dfe1e0ee1c5aef3975d1a0390 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Fri, 13 Dec 2019 12:15:22 +0100 Subject: [PATCH 32/79] update to 0.0.49 - Add new public function parse_locale() - Let info() print a bit more stuff --- .gitignore | 1 + langtable.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index dc71ae0..61b945c 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,4 @@ /langtable-0.0.46.tar.gz /langtable-0.0.47.tar.gz /langtable-0.0.48.tar.gz +/langtable-0.0.49.tar.gz diff --git a/langtable.spec b/langtable.spec index d6fa030..39c17b2 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.48 +Version: 0.0.49 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -74,6 +74,10 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Fri Dec 13 2019 Mike FABIAN - 0.0.49-1 +- Add new public function parse_locale() +- Let info() print a bit more stuff + * Tue Nov 05 2019 Mike FABIAN - 0.0.48-1 - Fix typo in mo entry - Add mnw diff --git a/sources b/sources index 6437ad9..9700e47 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.48.tar.gz) = e00de5735726bf8b69a91fb11c904b75f107c3bf09bdc21063a26ccba7a5d6c8a50270cf08301567f6421efeb5798134d2bc02388e7e3847f510b56ee9e4694b +SHA512 (langtable-0.0.49.tar.gz) = 73513a336fcf9decd51b1edec771858b378004bed146a75e0bb2a5682465f088e0aefc16dad160f93c2a909ffbf12891edd3c16a9161c5f87be66c9881a340fd From 402a9efe60361e641b5ff672a93dedcb38f88efa Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Fri, 20 Dec 2019 16:49:28 +0100 Subject: [PATCH 33/79] update to 0.0.50 - Make parse_locale() return something reasonable for C, POSIX, en_US_POSIX, and C.UTF-8 - Fix exception in language_name() when called with languageId='' (noticed by Marco Myllynen, thank you!) --- .gitignore | 1 + langtable.spec | 8 +++++++- sources | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 61b945c..850d8c3 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,4 @@ /langtable-0.0.47.tar.gz /langtable-0.0.48.tar.gz /langtable-0.0.49.tar.gz +/langtable-0.0.50.tar.gz diff --git a/langtable.spec b/langtable.spec index 39c17b2..2863bcf 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.49 +Version: 0.0.50 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -74,6 +74,12 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Fri Dec 20 2019 Mike FABIAN - 0.0.50-1 +- Make parse_locale() return something reasonable for + C, POSIX, en_US_POSIX, and C.UTF-8 +- Fix exception in language_name() when called with languageId='' + (noticed by Marco Myllynen, thank you!) + * Fri Dec 13 2019 Mike FABIAN - 0.0.49-1 - Add new public function parse_locale() - Let info() print a bit more stuff diff --git a/sources b/sources index 9700e47..0528754 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.49.tar.gz) = 73513a336fcf9decd51b1edec771858b378004bed146a75e0bb2a5682465f088e0aefc16dad160f93c2a909ffbf12891edd3c16a9161c5f87be66c9881a340fd +SHA512 (langtable-0.0.50.tar.gz) = 2d72edafc29acbdcd57674455002e123df3eaf81ed3a8d667ae4ed791242d3fe7897fb44cf2570b7df4949a6267f34741538a91c55050e2e3d4c0658d325b4c4 From f2c68a88bb1565ecb4b334eb381b35699c36482a Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 14 Jan 2020 11:18:49 +0100 Subject: [PATCH 34/79] update to 0.0.51 - Parse stuff in glibc locale names after @ which is not a script as a variant - Add ckb_IQ.UTF-8 locale --- .gitignore | 1 + langtable.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 850d8c3..266e268 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,4 @@ /langtable-0.0.48.tar.gz /langtable-0.0.49.tar.gz /langtable-0.0.50.tar.gz +/langtable-0.0.51.tar.gz diff --git a/langtable.spec b/langtable.spec index 2863bcf..b13d5b3 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.50 +Version: 0.0.51 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -74,6 +74,10 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue Jan 14 2020 Mike FABIAN - 0.0.51-1 +- Parse stuff in glibc locale names after @ which is not a script as a variant +- Add ckb_IQ.UTF-8 locale + * Fri Dec 20 2019 Mike FABIAN - 0.0.50-1 - Make parse_locale() return something reasonable for C, POSIX, en_US_POSIX, and C.UTF-8 diff --git a/sources b/sources index 0528754..4307e28 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.50.tar.gz) = 2d72edafc29acbdcd57674455002e123df3eaf81ed3a8d667ae4ed791242d3fe7897fb44cf2570b7df4949a6267f34741538a91c55050e2e3d4c0658d325b4c4 +SHA512 (langtable-0.0.51.tar.gz) = 35ef2c6d5d85b78e486e2b1d437a84a329e9f6b62476030b5e09b410850b66d6cc1f32aa4d71e598095a298fcd89db35e12c69877a25b63ca99c99b5fe225b8d From cd8a0d15bb8c76525eb91f837e9427e007dba17a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jan 2020 08:12:05 +0000 Subject: [PATCH 35/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index b13d5b3..97ba0ac 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.51 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -74,6 +74,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Wed Jan 29 2020 Fedora Release Engineering - 0.0.51-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Tue Jan 14 2020 Mike FABIAN - 0.0.51-1 - Parse stuff in glibc locale names after @ which is not a script as a variant - Add ckb_IQ.UTF-8 locale From 853b61a40b49b06cc104844632646f69604fb752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 02:49:48 +0200 Subject: [PATCH 36/79] Rebuilt for Python 3.9 --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 97ba0ac..f0ce5ed 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.51 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -74,6 +74,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue May 26 2020 Miro Hrončok - 0.0.51-3 +- Rebuilt for Python 3.9 + * Wed Jan 29 2020 Fedora Release Engineering - 0.0.51-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 6a0910d91aa925e35b331f9da8342d7a84bb5faa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 03:55:55 +0000 Subject: [PATCH 37/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index f0ce5ed..4d00aaf 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.51 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -74,6 +74,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 0.0.51-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue May 26 2020 Miro Hrončok - 0.0.51-3 - Rebuilt for Python 3.9 From afc768f15d479c4542ba647fe028cec33e959fc0 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 18 Aug 2020 18:33:16 +0200 Subject: [PATCH 38/79] Update to 0.0.52 - add list_common_keyboards() to public api by Sundeep ANAND --- .gitignore | 1 + langtable.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 266e268..4786728 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,4 @@ /langtable-0.0.49.tar.gz /langtable-0.0.50.tar.gz /langtable-0.0.51.tar.gz +/langtable-0.0.52.tar.gz diff --git a/langtable.spec b/langtable.spec index 4d00aaf..8de9742 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable -Version: 0.0.51 -Release: 4%{?dist} +Version: 0.0.52 +Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -74,6 +74,10 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue Aug 18 2020 Mike FABIAN - 0.0.52-1 +- Update to 0.0.52 +- add list_common_keyboards() to public api by Sundeep ANAND + * Tue Jul 28 2020 Fedora Release Engineering - 0.0.51-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 4307e28..3c41acc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.51.tar.gz) = 35ef2c6d5d85b78e486e2b1d437a84a329e9f6b62476030b5e09b410850b66d6cc1f32aa4d71e598095a298fcd89db35e12c69877a25b63ca99c99b5fe225b8d +SHA512 (langtable-0.0.52.tar.gz) = a76b9b8263dc0889a78b3c3971af525505a8bcb0702d47ed456db1623b12c33e3a6ee5ab961cb31d251ba084a4c183cdf276552e546e68f3f9992a465ed9fe03 From 433553268f52b97c810c9e4e733fd24be4b6d978 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 15 Sep 2020 13:09:08 +0200 Subject: [PATCH 39/79] Update to 0.0.53 - Capitalize the return values of language_name() and territory_name() (See: https://github.com/rhinstaller/anaconda/pull/2837). - Add more translations from CLDR - Get translation changes from CLDR --- .gitignore | 1 + langtable.spec | 9 ++++++++- sources | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4786728..3452ad0 100644 --- a/.gitignore +++ b/.gitignore @@ -51,3 +51,4 @@ /langtable-0.0.50.tar.gz /langtable-0.0.51.tar.gz /langtable-0.0.52.tar.gz +/langtable-0.0.53.tar.gz diff --git a/langtable.spec b/langtable.spec index 8de9742..a1c47f9 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.52 +Version: 0.0.53 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -74,6 +74,13 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue Sep 15 2020 Mike FABIAN - 0.0.53-1 +- Update to 0.0.53 +- Capitalize the return values of language_name() and territory_name() + (See: https://github.com/rhinstaller/anaconda/pull/2837). +- Add more translations from CLDR +- Get translation changes from CLDR + * Tue Aug 18 2020 Mike FABIAN - 0.0.52-1 - Update to 0.0.52 - add list_common_keyboards() to public api by Sundeep ANAND diff --git a/sources b/sources index 3c41acc..4055810 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.52.tar.gz) = a76b9b8263dc0889a78b3c3971af525505a8bcb0702d47ed456db1623b12c33e3a6ee5ab961cb31d251ba084a4c183cdf276552e546e68f3f9992a465ed9fe03 +SHA512 (langtable-0.0.53.tar.gz) = ea15b97e71dbddd376a9c606e7b9742b264d46950c8c5cd3a43ff6b6c9b68229d9c8db79a3a5a497c244acaae97aa4213b8115079bfd74a17a1bf1c42285fb46 From c81bec0a2c81dcfb5669fa8ce487d5ad186f7f83 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 29 Oct 2020 11:34:17 +0100 Subject: [PATCH 40/79] Update to 0.0.54 - add list_common_languages derived from gnome-control-center by Sundeep ANAND --- .gitignore | 1 + langtable.spec | 7 ++++++- sources | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3452ad0..ec1afb8 100644 --- a/.gitignore +++ b/.gitignore @@ -52,3 +52,4 @@ /langtable-0.0.51.tar.gz /langtable-0.0.52.tar.gz /langtable-0.0.53.tar.gz +/langtable-0.0.54.tar.gz diff --git a/langtable.spec b/langtable.spec index a1c47f9..008d64c 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.53 +Version: 0.0.54 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -74,6 +74,11 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Thu Oct 29 2020 Mike FABIAN - 0.0.54-1 +- Update to 0.0.54 +- add list_common_languages derived from gnome-control-center + by Sundeep ANAND + * Tue Sep 15 2020 Mike FABIAN - 0.0.53-1 - Update to 0.0.53 - Capitalize the return values of language_name() and territory_name() diff --git a/sources b/sources index 4055810..d726064 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.53.tar.gz) = ea15b97e71dbddd376a9c606e7b9742b264d46950c8c5cd3a43ff6b6c9b68229d9c8db79a3a5a497c244acaae97aa4213b8115079bfd74a17a1bf1c42285fb46 +SHA512 (langtable-0.0.54.tar.gz) = 9862f6e5747bfdfcdda8f937d4d9435160597df7f83ebb3afa5714fbc1a93e40c49b8a34164eff5c857ef6fb8e21adcfa149045600d4fcd635161892d31cee02 From d7d1a29f90012a1f0388f05bf1feec88b3cafd75 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 16:21:45 +0000 Subject: [PATCH 41/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 008d64c..7a5177c 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.54 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -74,6 +74,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 0.0.54-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Thu Oct 29 2020 Mike FABIAN - 0.0.54-1 - Update to 0.0.54 - add list_common_languages derived from gnome-control-center From 59bc40a0ca965f58635f3ba170c3734bd1163ba4 Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Thu, 6 May 2021 16:10:18 +0200 Subject: [PATCH 42/79] Add BuildRequire on python3-setuptools --- langtable.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/langtable.spec b/langtable.spec index 7a5177c..73a5c6a 100644 --- a/langtable.spec +++ b/langtable.spec @@ -12,6 +12,7 @@ Source0: https://github.com/mike-fabian/langtable/releases/download/%{ver BuildArch: noarch BuildRequires: perl-interpreter BuildRequires: python3-devel +BuildRequires: python3-setuptools %description langtable is used to guess reasonable defaults for locale, keyboard layout, From ae59801cfde3cabc1587a4d676ad7b53892bc088 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 20:08:33 +0200 Subject: [PATCH 43/79] Rebuilt for Python 3.10 --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 73a5c6a..3948539 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.54 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,6 +75,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Fri Jun 04 2021 Python Maint - 0.0.54-3 +- Rebuilt for Python 3.10 + * Tue Jan 26 2021 Fedora Release Engineering - 0.0.54-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 81457de1a92f5ac085fc764dcf8af969e25968a5 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 24 Jun 2021 16:39:55 +0200 Subject: [PATCH 44/79] Convert CI tests to tmt --- .fmf/version | 1 + plans/basic.fmf | 5 +++++ tests/main.fmf | 6 ++++++ tests/runtest.sh | 32 ++++++++++++++++++++++++++++++++ tests/scripts/run_tests.sh | 33 --------------------------------- tests/tests.yml | 9 --------- 6 files changed, 44 insertions(+), 42 deletions(-) create mode 100644 .fmf/version create mode 100644 plans/basic.fmf create mode 100644 tests/main.fmf create mode 100755 tests/runtest.sh delete mode 100644 tests/scripts/run_tests.sh delete mode 100644 tests/tests.yml diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plans/basic.fmf b/plans/basic.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/basic.fmf @@ -0,0 +1,5 @@ +summary: Basic smoke test +discover: + how: fmf +execute: + how: tmt diff --git a/tests/main.fmf b/tests/main.fmf new file mode 100644 index 0000000..1df6422 --- /dev/null +++ b/tests/main.fmf @@ -0,0 +1,6 @@ +test: ./runtest.sh +framework: beakerlib +duration: 10m +require: + - langtable + - python3-langtable diff --git a/tests/runtest.sh b/tests/runtest.sh new file mode 100755 index 0000000..9665ecf --- /dev/null +++ b/tests/runtest.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +# Include Beaker environment +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +PYTHON3_SITELIB=$(/usr/bin/python3 -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib())") + +rlJournalStart + rlPhaseStartSetup + rlAssertRpm langtable + rlAssertRpm python3-langtable + rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory" + rlRun "pushd $tmp" + rlPhaseEnd + + rlPhaseStartTest + for i in keyboards languages territories timezoneidparts timezones + do + rlRun "xmllint --noout --relaxng \ + ${PYTHON3_SITELIB}/langtable/schemas/${i}.rng \ + ${PYTHON3_SITELIB}/langtable/data/${i}.xml.gz \ + " 0 "testing ${i}.xml" + done + rlRun "/usr/bin/python3 /usr/share/doc/langtable/test_cases.py" \ + 0 "Running test cases" + rlPhaseEnd + + rlPhaseStartCleanup + rlRun "popd" + rlRun "rm -r $tmp" 0 "Remove tmp directory" + rlPhaseEnd +rlJournalEnd diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh deleted file mode 100644 index 08970b9..0000000 --- a/tests/scripts/run_tests.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -check_return_value () { - if [ $1 != 0 ] ; then - exit $1 - fi -} - -PYTHON3_SITELIB=$(/usr/bin/python3 -Ic "from distutils.sysconfig import get_python_lib; print(get_python_lib())") - -xmllint --noout --relaxng \ - ${PYTHON3_SITELIB}/langtable/schemas/keyboards.rng \ - ${PYTHON3_SITELIB}/langtable/data/keyboards.xml.gz -check_return_value $? -xmllint --noout --relaxng \ - ${PYTHON3_SITELIB}/langtable/schemas/languages.rng \ - ${PYTHON3_SITELIB}/langtable/data/languages.xml.gz -check_return_value $? -xmllint --noout --relaxng \ - ${PYTHON3_SITELIB}/langtable/schemas/territories.rng \ - ${PYTHON3_SITELIB}/langtable/data/territories.xml.gz -check_return_value $? -xmllint --noout --relaxng \ - ${PYTHON3_SITELIB}/langtable/schemas/timezoneidparts.rng \ - ${PYTHON3_SITELIB}/langtable/data/timezoneidparts.xml.gz -check_return_value $? -xmllint --noout --relaxng \ - ${PYTHON3_SITELIB}/langtable/schemas/timezones.rng \ - ${PYTHON3_SITELIB}/langtable/data/timezones.xml.gz -check_return_value $? - -/usr/bin/python3 /usr/share/doc/langtable/test_cases.py -check_return_value $? diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index aaf3946..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,9 +0,0 @@ -- hosts: localhost - roles: - - role: standard-test-basic - tags: - - classic - tests: - - simple: - dir: scripts/ - run: ./run_tests.sh From 608c818fc897d7549ed28ba75787a9b669b744b6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 10:39:11 +0000 Subject: [PATCH 45/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 3948539..ee10c2f 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.54 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,6 +75,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 0.0.54-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 0.0.54-3 - Rebuilt for Python 3.10 From 4c906565d0d8c8495e69949250a478cdd007fb51 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 11 Aug 2021 17:31:36 +0200 Subject: [PATCH 46/79] Update to 0.0.55 --- .gitignore | 1 + langtable.spec | 12 ++++++++++-- sources | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index ec1afb8..faac0ba 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,4 @@ /langtable-0.0.52.tar.gz /langtable-0.0.53.tar.gz /langtable-0.0.54.tar.gz +/langtable-0.0.55.tar.gz diff --git a/langtable.spec b/langtable.spec index ee10c2f..324442a 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable -Version: 0.0.54 -Release: 4%{?dist} +Version: 0.0.55 +Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,6 +75,14 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Wed Aug 11 2021 Mike FABIAN - 0.0.55-1 +- Update to 0.0.55 +- Get translation changes from CLDR +- Add more translations from CLDR +- Make inscript2 instead of inscript input methods the default + (See: https://fedoraproject.org/wiki/Changes/Enhanced_Inscript_as_default_Indic_IM) +- Make ibus/m17n:vi:telex the default input method for Vietnamese + * Thu Jul 22 2021 Fedora Release Engineering - 0.0.54-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index d726064..5d9be8c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.54.tar.gz) = 9862f6e5747bfdfcdda8f937d4d9435160597df7f83ebb3afa5714fbc1a93e40c49b8a34164eff5c857ef6fb8e21adcfa149045600d4fcd635161892d31cee02 +SHA512 (langtable-0.0.55.tar.gz) = c432e17f3f49b0a841a57512905e5083a2b502f1feb789ace2a3029d5c828f2292fc7f947e1a2a63365592405cda362eaf717f5acf83e7e50fba338f51ec3613 From 0ab8927558701ab5987a229ea85c227c106d5b19 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 16 Aug 2021 11:48:41 +0200 Subject: [PATCH 47/79] Update to 0.0.56 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fallback to translations in “xx” from “xx_Zzzz” only if “Zzzz” is the main script of “xx” (Resolves: https://github.com/mike-fabian/langtable/issues/13) - Get translation changes for mt from CLDR --- .gitignore | 1 + langtable.spec | 9 ++++++++- sources | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index faac0ba..b0b9877 100644 --- a/.gitignore +++ b/.gitignore @@ -54,3 +54,4 @@ /langtable-0.0.53.tar.gz /langtable-0.0.54.tar.gz /langtable-0.0.55.tar.gz +/langtable-0.0.56.tar.gz diff --git a/langtable.spec b/langtable.spec index 324442a..0d33316 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.55 +Version: 0.0.56 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -75,6 +75,13 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Mon Aug 16 2021 Mike FABIAN - 0.0.56-1 +- Update to 0.0.56 +- Fallback to translations in “xx” from “xx_Zzzz” + only if “Zzzz” is the main script of “xx” + (Resolves: https://github.com/mike-fabian/langtable/issues/13) +- Get translation changes for mt from CLDR + * Wed Aug 11 2021 Mike FABIAN - 0.0.55-1 - Update to 0.0.55 - Get translation changes from CLDR diff --git a/sources b/sources index 5d9be8c..79b1d29 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.55.tar.gz) = c432e17f3f49b0a841a57512905e5083a2b502f1feb789ace2a3029d5c828f2292fc7f947e1a2a63365592405cda362eaf717f5acf83e7e50fba338f51ec3613 +SHA512 (langtable-0.0.56.tar.gz) = be15202d2f5bb85a5146055d38031e02563e104a19bc2dd4a6ef15b35b2c72d76a424c6b8ea414f7e10c072cb05806e1326a89b902433812fa99bf75eeebf0dd From d2f28834d94ce9ff7a12b8792e8a40101c40c6c1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 15:26:21 +0000 Subject: [PATCH 48/79] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 0d33316..b17f63a 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.56 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,6 +75,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 0.0.56-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Mon Aug 16 2021 Mike FABIAN - 0.0.56-1 - Update to 0.0.56 - Fallback to translations in “xx” from “xx_Zzzz” From cea652720cddb188b62843dc5fd9a064a05fe81e Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 25 Jan 2022 08:54:06 +0100 Subject: [PATCH 49/79] Update to 0.0.57 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Get translation changes from CLDR - Add more translations from CLDR - Replace “ibus/cangjie” with “ibus/table:cangjie5” - Updates for Sami languages (from Marko Myllynen) - Updates for Finnish keyboard layouts (from Marko Myllynen) --- .gitignore | 1 + langtable.spec | 12 ++++++++++-- sources | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b0b9877..92f7bd1 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,4 @@ /langtable-0.0.54.tar.gz /langtable-0.0.55.tar.gz /langtable-0.0.56.tar.gz +/langtable-0.0.57.tar.gz diff --git a/langtable.spec b/langtable.spec index b17f63a..00aef7c 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable -Version: 0.0.56 -Release: 2%{?dist} +Version: 0.0.57 +Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,6 +75,14 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue Jan 25 2022 Mike FABIAN - 0.0.57-1 +- Update to 0.0.57 +- Get translation changes from CLDR +- Add more translations from CLDR +- Replace “ibus/cangjie” with “ibus/table:cangjie5” +- Updates for Sami languages (from Marko Myllynen) +- Updates for Finnish keyboard layouts (from Marko Myllynen) + * Thu Jan 20 2022 Fedora Release Engineering - 0.0.56-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 79b1d29..72d9417 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.56.tar.gz) = be15202d2f5bb85a5146055d38031e02563e104a19bc2dd4a6ef15b35b2c72d76a424c6b8ea414f7e10c072cb05806e1326a89b902433812fa99bf75eeebf0dd +SHA512 (langtable-0.0.57.tar.gz) = e354728fe392bee239187df2e4aa9e2080aebed7b8bcf6cee0212b0565866c265d9e7d5144cf71e748ca82c2f6126dfb9ad499904cf4f725e187be4ced458977 From a568a74593c39142a503fd937b890919b867eed8 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 21 Apr 2022 11:09:57 +0200 Subject: [PATCH 50/79] Update to 0.0.58 - Add syr locale - Get translation changes from CLDR - Add more translations from CLDR - Fix names for keyboard layouts which have changed - Add ab_GE locale - Add rif language --- .gitignore | 1 + langtable.spec | 11 ++++++++++- sources | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 92f7bd1..62485f2 100644 --- a/.gitignore +++ b/.gitignore @@ -56,3 +56,4 @@ /langtable-0.0.55.tar.gz /langtable-0.0.56.tar.gz /langtable-0.0.57.tar.gz +/langtable-0.0.58.tar.gz diff --git a/langtable.spec b/langtable.spec index 00aef7c..00abf1a 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.57 +Version: 0.0.58 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -75,6 +75,15 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Thu Apr 21 2022 Mike FABIAN - 0.0.58-1 +- Update to 0.0.58 +- Add syr locale +- Get translation changes from CLDR +- Add more translations from CLDR +- Fix names for keyboard layouts which have changed +- Add ab_GE locale +- Add rif language + * Tue Jan 25 2022 Mike FABIAN - 0.0.57-1 - Update to 0.0.57 - Get translation changes from CLDR diff --git a/sources b/sources index 72d9417..7de00c6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.57.tar.gz) = e354728fe392bee239187df2e4aa9e2080aebed7b8bcf6cee0212b0565866c265d9e7d5144cf71e748ca82c2f6126dfb9ad499904cf4f725e187be4ced458977 +SHA512 (langtable-0.0.58.tar.gz) = e7d12ad98754e6ea8e0d5c1b1a425fbca62c0cae78b3fddb9a4b34fc8163c372e08fe5ccee89e880407772181bc9eaf8dbfd499829916055c62c3a0e6f70bc18 From 639fcfe6a1cc54e5266869ddd5e04a91bc6d5ecf Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 15:08:03 +0200 Subject: [PATCH 51/79] Rebuilt for Python 3.11 --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 00abf1a..41c0a10 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.58 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,6 +75,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Mon Jun 13 2022 Python Maint - 0.0.58-2 +- Rebuilt for Python 3.11 + * Thu Apr 21 2022 Mike FABIAN - 0.0.58-1 - Update to 0.0.58 - Add syr locale From daa1c74e5aeb96993a3b05e8a9d44f267218a97e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 16:57:10 +0000 Subject: [PATCH 52/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 41c0a10..cfc0b22 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.58 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,6 +75,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 0.0.58-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 0.0.58-2 - Rebuilt for Python 3.11 From 5fe1c6de0218ae74a9236595a02169f7d6c6e4c9 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 6 Sep 2022 09:19:27 +0200 Subject: [PATCH 53/79] Update to 0.0.59 --- .gitignore | 1 + langtable.spec | 10 ++++++++-- sources | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 62485f2..60390e1 100644 --- a/.gitignore +++ b/.gitignore @@ -57,3 +57,4 @@ /langtable-0.0.56.tar.gz /langtable-0.0.57.tar.gz /langtable-0.0.58.tar.gz +/langtable-0.0.59.tar.gz diff --git a/langtable.spec b/langtable.spec index cfc0b22..49cd05a 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable -Version: 0.0.58 -Release: 3%{?dist} +Version: 0.0.59 +Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,6 +75,12 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue Sep 06 2022 Mike FABIAN - 0.0.59-1 +- Update to 0.0.59 +- Add ibus/m17n:ar:kbd as input method for Arabic and fix iso639-1 code for Arabic +- Get translation changes from CLDR +- Add more translations from CLDR + * Thu Jul 21 2022 Fedora Release Engineering - 0.0.58-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 7de00c6..850f035 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.58.tar.gz) = e7d12ad98754e6ea8e0d5c1b1a425fbca62c0cae78b3fddb9a4b34fc8163c372e08fe5ccee89e880407772181bc9eaf8dbfd499829916055c62c3a0e6f70bc18 +SHA512 (langtable-0.0.59.tar.gz) = 510bba494c4b564e456cc8ffa859d4718c3799c63f7c39ff311c710473350e9a735426479d331309305c0f86b509f6810b4543352051f70cf1373f4e95021980 From 12189d355c51fcad93e31b1aa98b12c6b878d7c0 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 21 Sep 2022 16:57:36 +0200 Subject: [PATCH 54/79] Update to 0.0.60 - Add list_common_locales() function (Resolves: https://github.com/mike-fabian/langtable/issues/15) - For ar_IN locale, langtable should give the 'ara' keyboard layout as the first choice (Resolves: Resolves: https://github.com/mike-fabian/langtable/issues/14) --- .gitignore | 1 + langtable.spec | 9 ++++++++- sources | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 60390e1..b95ab30 100644 --- a/.gitignore +++ b/.gitignore @@ -58,3 +58,4 @@ /langtable-0.0.57.tar.gz /langtable-0.0.58.tar.gz /langtable-0.0.59.tar.gz +/langtable-0.0.60.tar.gz diff --git a/langtable.spec b/langtable.spec index 49cd05a..70c213f 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.59 +Version: 0.0.60 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -75,6 +75,13 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Wed Sep 21 2022 Mike FABIAN - 0.0.60-1 +- Update to 0.0.60 +- Add list_common_locales() function + (Resolves: https://github.com/mike-fabian/langtable/issues/15) +- For ar_IN locale, langtable should give the 'ara' keyboard layout as the first choice + (Resolves: Resolves: https://github.com/mike-fabian/langtable/issues/14) + * Tue Sep 06 2022 Mike FABIAN - 0.0.59-1 - Update to 0.0.59 - Add ibus/m17n:ar:kbd as input method for Arabic and fix iso639-1 code for Arabic diff --git a/sources b/sources index 850f035..76bc8d4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.59.tar.gz) = 510bba494c4b564e456cc8ffa859d4718c3799c63f7c39ff311c710473350e9a735426479d331309305c0f86b509f6810b4543352051f70cf1373f4e95021980 +SHA512 (langtable-0.0.60.tar.gz) = b4cb257f399f3cd731cb0f563b310c8871c5cfe3eef2586e740ebdb5ab7a80cd577d14973cad0d4d15723931ffe005cd26642f45bd6fc15112f3d295aae1e1c4 From 2183dcbbe97ddbf6e30df98909018e9833c484ec Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 24 Nov 2022 23:22:31 +0100 Subject: [PATCH 55/79] Update to 0.0.61 - Add mnw_MM.UTF-8 and ckb_IQ.UTF-8 - Do not run test cases using Python2 anymore - Add bih - Add more translations from CLDR - Migrate license tag to SPDX --- .gitignore | 1 + langtable.spec | 12 ++++++++++-- sources | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b95ab30..9c04aae 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,4 @@ /langtable-0.0.58.tar.gz /langtable-0.0.59.tar.gz /langtable-0.0.60.tar.gz +/langtable-0.0.61.tar.gz diff --git a/langtable.spec b/langtable.spec index 70c213f..5d46472 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,12 +1,12 @@ Name: langtable -Version: 0.0.60 +Version: 0.0.61 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the # short name for this license is "MIT", see: # https://fedoraproject.org/wiki/Licensing:MIT?rd=Licensing/MIT#Modern_Style_without_sublicense_.28Unicode.29 -License: GPLv3+ +License: GPL-3.0-or-later URL: https://github.com/mike-fabian/langtable Source0: https://github.com/mike-fabian/langtable/releases/download/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch @@ -75,6 +75,14 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Thu Nov 24 2022 Mike FABIAN - 0.0.61-1 +- Update to 0.0.61 +- Add mnw_MM.UTF-8 and ckb_IQ.UTF-8 +- Do not run test cases using Python2 anymore +- Add bih +- Add more translations from CLDR +- Migrate license tag to SPDX + * Wed Sep 21 2022 Mike FABIAN - 0.0.60-1 - Update to 0.0.60 - Add list_common_locales() function diff --git a/sources b/sources index 76bc8d4..507aaf1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.60.tar.gz) = b4cb257f399f3cd731cb0f563b310c8871c5cfe3eef2586e740ebdb5ab7a80cd577d14973cad0d4d15723931ffe005cd26642f45bd6fc15112f3d295aae1e1c4 +SHA512 (langtable-0.0.61.tar.gz) = ab014041073ed39e8e4ca4c2bb638c486eb22479a3de167371b8733182896c6c72000668db32d9aca41dc42c4051992da7d7a9d8cbb6ed3fd05d3e52ae6c59f5 From c75d165ce22525372df181303f5c55ddf44969fb Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 28 Nov 2022 08:31:53 +0100 Subject: [PATCH 56/79] Migrate license tag of python3-langtable to SPDX as well --- langtable.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/langtable.spec b/langtable.spec index 5d46472..40c896b 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.61 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -23,7 +23,7 @@ already known. %package -n python3-langtable Summary: Python module to query the langtable-data -License: GPLv3+ +License: GPL-3.0-or-later Requires: %{name} = %{version}-%{release} Obsoletes: %{name}-data < %{version}-%{release} Provides: %{name}-data = %{version}-%{release} @@ -75,6 +75,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Mon Nov 28 2022 Mike FABIAN - 0.0.61-2 +- Migrate license tag of python3-langtable to SPDX as well + * Thu Nov 24 2022 Mike FABIAN - 0.0.61-1 - Update to 0.0.61 - Add mnw_MM.UTF-8 and ckb_IQ.UTF-8 From 5bb1eb5557f2dbddb973488c72bf1665b8987de1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 15:28:31 +0000 Subject: [PATCH 57/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 40c896b..b8d3c5d 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.61 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,6 +75,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 0.0.61-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Mon Nov 28 2022 Mike FABIAN - 0.0.61-2 - Migrate license tag of python3-langtable to SPDX as well From 419964d94132c8e397372761e225db0a13bb72a4 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 2 May 2023 12:58:24 +0200 Subject: [PATCH 58/79] Update to 0.0.62 - Get translation changes from CLDR - Add more translations from CLDR - Add Norwegian keyboard layout to keyboards.xml (Resolves: https://github.com/mike-fabian/langtable/issues/16) - Add Hang script to Southern Aymara --- .gitignore | 1 + langtable.spec | 12 ++++++++++-- sources | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9c04aae..1eedaf5 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,4 @@ /langtable-0.0.59.tar.gz /langtable-0.0.60.tar.gz /langtable-0.0.61.tar.gz +/langtable-0.0.62.tar.gz diff --git a/langtable.spec b/langtable.spec index b8d3c5d..9761fe0 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable -Version: 0.0.61 -Release: 3%{?dist} +Version: 0.0.62 +Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,6 +75,14 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue May 02 2023 Mike FABIAN - 0.0.62-1 +- Update to 0.0.62 +- Get translation changes from CLDR +- Add more translations from CLDR +- Add Norwegian keyboard layout to keyboards.xml + (Resolves: https://github.com/mike-fabian/langtable/issues/16) +- Add Hang script to Southern Aymara + * Thu Jan 19 2023 Fedora Release Engineering - 0.0.61-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index 507aaf1..660c9dc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.61.tar.gz) = ab014041073ed39e8e4ca4c2bb638c486eb22479a3de167371b8733182896c6c72000668db32d9aca41dc42c4051992da7d7a9d8cbb6ed3fd05d3e52ae6c59f5 +SHA512 (langtable-0.0.62.tar.gz) = 39628c99069f00fc2cde9861ebfb69e709730e1f585c1661496b8d69f93c7a78854c6a4744930af6ee1ce03b7647702d28d2c3c2816cfcce3aa55887e3f24ea8 From 7ccb9a1383c9b101da3d01de37c927304e9305d1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 20:42:17 +0200 Subject: [PATCH 59/79] Rebuilt for Python 3.12 --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 9761fe0..3ab0217 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.62 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,6 +75,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue Jun 13 2023 Python Maint - 0.0.62-2 +- Rebuilt for Python 3.12 + * Tue May 02 2023 Mike FABIAN - 0.0.62-1 - Update to 0.0.62 - Get translation changes from CLDR From 9c97430028548516d69dfc858ecfbed2b7ecb85f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 09:54:36 +0000 Subject: [PATCH 60/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 3ab0217..a5fe8bc 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.62 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,6 +75,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 0.0.62-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jun 13 2023 Python Maint - 0.0.62-2 - Rebuilt for Python 3.12 From ed9168e1862cbbe9ab2d44f2735402c41a48d2b4 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 28 Aug 2023 12:29:22 +0200 Subject: [PATCH 61/79] Update to 0.0.63 - Add more translations from CLDR - Get translation changes from CLDR - Japanese: prefer anthy over kkc (Thanks to adam Williamson: https://github.com/mike-fabian/langtable/pull/17) - Use skipTerritory also in list_keyboards(), list_consolefonts(), and list_timezones() (Resolves: https://github.com/mike-fabian/langtable/issues/18) --- .gitignore | 1 + langtable.spec | 13 +++++++++++-- sources | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1eedaf5..ec9f5e5 100644 --- a/.gitignore +++ b/.gitignore @@ -61,3 +61,4 @@ /langtable-0.0.60.tar.gz /langtable-0.0.61.tar.gz /langtable-0.0.62.tar.gz +/langtable-0.0.63.tar.gz diff --git a/langtable.spec b/langtable.spec index a5fe8bc..0dfcdb3 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable -Version: 0.0.62 -Release: 3%{?dist} +Version: 0.0.63 +Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,6 +75,15 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Mon Aug 28 2023 Mike FABIAN - 0.0.63-1 +- Update to 0.0.63 +- Add more translations from CLDR +- Get translation changes from CLDR +- Japanese: prefer anthy over kkc + (Thanks to adam Williamson: https://github.com/mike-fabian/langtable/pull/17) +- Use skipTerritory also in list_keyboards(), list_consolefonts(), and list_timezones() + (Resolves: https://github.com/mike-fabian/langtable/issues/18) + * Thu Jul 20 2023 Fedora Release Engineering - 0.0.62-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 660c9dc..4d67ca1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.62.tar.gz) = 39628c99069f00fc2cde9861ebfb69e709730e1f585c1661496b8d69f93c7a78854c6a4744930af6ee1ce03b7647702d28d2c3c2816cfcce3aa55887e3f24ea8 +SHA512 (langtable-0.0.63.tar.gz) = 4760513bf8abf26fcd23ee0b948cce3aabe969787f43806c4bbb0f29d7330dc2181d2b6e8ed74fea9b735b2c9deeacc580f9737b3a9772b547727a9518ef5713 From 842c6316e92f452661bfd76a5730d4be4cfab005 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 19 Sep 2023 21:52:42 +0200 Subject: [PATCH 62/79] Update to 0.0.64 - Add new public functions list_all_{languages,locales,keyboards,territories,timezones,scripts,input_methods,console_fonts} (See also the discussion at: https://gitlab.gnome.org/GNOME/gnome-desktop/-/merge_requests/159) --- .gitignore | 1 + langtable.spec | 7 ++++++- sources | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ec9f5e5..d704f87 100644 --- a/.gitignore +++ b/.gitignore @@ -62,3 +62,4 @@ /langtable-0.0.61.tar.gz /langtable-0.0.62.tar.gz /langtable-0.0.63.tar.gz +/langtable-0.0.64.tar.gz diff --git a/langtable.spec b/langtable.spec index 0dfcdb3..684a45b 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.63 +Version: 0.0.64 Release: 1%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -75,6 +75,11 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Tue Sep 19 2023 Mike FABIAN - 0.0.64-1 +- Update to 0.0.64 +- Add new public functions list_all_{languages,locales,keyboards,territories,timezones,scripts,input_methods,console_fonts} + (See also the discussion at: https://gitlab.gnome.org/GNOME/gnome-desktop/-/merge_requests/159) + * Mon Aug 28 2023 Mike FABIAN - 0.0.63-1 - Update to 0.0.63 - Add more translations from CLDR diff --git a/sources b/sources index 4d67ca1..d79a36a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.63.tar.gz) = 4760513bf8abf26fcd23ee0b948cce3aabe969787f43806c4bbb0f29d7330dc2181d2b6e8ed74fea9b735b2c9deeacc580f9737b3a9772b547727a9518ef5713 +SHA512 (langtable-0.0.64.tar.gz) = 42ecd828c4341d6586d5bb438a8031d799d3ac61f9a228a6f698c713bcb5d4aff1bb9f0eb655bac38c1dfa42532f6efd9b3ad1b71d7934afd1df90c18e86a846 From d373a482b20bbb2ec6ca4a411917c9972475cca8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 03:14:24 +0000 Subject: [PATCH 63/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 684a45b..7eb8fff 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.64 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,6 +75,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 0.0.64-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Tue Sep 19 2023 Mike FABIAN - 0.0.64-1 - Update to 0.0.64 - Add new public functions list_all_{languages,locales,keyboards,territories,timezones,scripts,input_methods,console_fonts} From 7ba03983112c5f48a5212fef6a71e9a9d8ccc73a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 01:12:17 +0000 Subject: [PATCH 64/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- langtable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langtable.spec b/langtable.spec index 7eb8fff..35c13b9 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.64 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,6 +75,9 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 0.0.64-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 0.0.64-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From e6029adc888fdb89e3add608252fb0ce5369cee8 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 8 Feb 2024 17:45:00 +0100 Subject: [PATCH 65/79] Convert to rpm-autospec --- changelog | 552 ++++++++++++++++++++++++++++++++++++++++++++++++ langtable.spec | 558 +------------------------------------------------ 2 files changed, 554 insertions(+), 556 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..4389129 --- /dev/null +++ b/changelog @@ -0,0 +1,552 @@ +* Thu Jan 25 2024 Fedora Release Engineering - 0.0.64-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 0.0.64-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Sep 19 2023 Mike FABIAN - 0.0.64-1 +- Update to 0.0.64 +- Add new public functions list_all_{languages,locales,keyboards,territories,timezones,scripts,input_methods,console_fonts} + (See also the discussion at: https://gitlab.gnome.org/GNOME/gnome-desktop/-/merge_requests/159) + +* Mon Aug 28 2023 Mike FABIAN - 0.0.63-1 +- Update to 0.0.63 +- Add more translations from CLDR +- Get translation changes from CLDR +- Japanese: prefer anthy over kkc + (Thanks to adam Williamson: https://github.com/mike-fabian/langtable/pull/17) +- Use skipTerritory also in list_keyboards(), list_consolefonts(), and list_timezones() + (Resolves: https://github.com/mike-fabian/langtable/issues/18) + +* Thu Jul 20 2023 Fedora Release Engineering - 0.0.62-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 13 2023 Python Maint - 0.0.62-2 +- Rebuilt for Python 3.12 + +* Tue May 02 2023 Mike FABIAN - 0.0.62-1 +- Update to 0.0.62 +- Get translation changes from CLDR +- Add more translations from CLDR +- Add Norwegian keyboard layout to keyboards.xml + (Resolves: https://github.com/mike-fabian/langtable/issues/16) +- Add Hang script to Southern Aymara + +* Thu Jan 19 2023 Fedora Release Engineering - 0.0.61-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Nov 28 2022 Mike FABIAN - 0.0.61-2 +- Migrate license tag of python3-langtable to SPDX as well + +* Thu Nov 24 2022 Mike FABIAN - 0.0.61-1 +- Update to 0.0.61 +- Add mnw_MM.UTF-8 and ckb_IQ.UTF-8 +- Do not run test cases using Python2 anymore +- Add bih +- Add more translations from CLDR +- Migrate license tag to SPDX + +* Wed Sep 21 2022 Mike FABIAN - 0.0.60-1 +- Update to 0.0.60 +- Add list_common_locales() function + (Resolves: https://github.com/mike-fabian/langtable/issues/15) +- For ar_IN locale, langtable should give the 'ara' keyboard layout as the first choice + (Resolves: Resolves: https://github.com/mike-fabian/langtable/issues/14) + +* Tue Sep 06 2022 Mike FABIAN - 0.0.59-1 +- Update to 0.0.59 +- Add ibus/m17n:ar:kbd as input method for Arabic and fix iso639-1 code for Arabic +- Get translation changes from CLDR +- Add more translations from CLDR + +* Thu Jul 21 2022 Fedora Release Engineering - 0.0.58-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 0.0.58-2 +- Rebuilt for Python 3.11 + +* Thu Apr 21 2022 Mike FABIAN - 0.0.58-1 +- Update to 0.0.58 +- Add syr locale +- Get translation changes from CLDR +- Add more translations from CLDR +- Fix names for keyboard layouts which have changed +- Add ab_GE locale +- Add rif language + +* Tue Jan 25 2022 Mike FABIAN - 0.0.57-1 +- Update to 0.0.57 +- Get translation changes from CLDR +- Add more translations from CLDR +- Replace “ibus/cangjie” with “ibus/table:cangjie5” +- Updates for Sami languages (from Marko Myllynen) +- Updates for Finnish keyboard layouts (from Marko Myllynen) + +* Thu Jan 20 2022 Fedora Release Engineering - 0.0.56-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Aug 16 2021 Mike FABIAN - 0.0.56-1 +- Update to 0.0.56 +- Fallback to translations in “xx” from “xx_Zzzz” + only if “Zzzz” is the main script of “xx” + (Resolves: https://github.com/mike-fabian/langtable/issues/13) +- Get translation changes for mt from CLDR + +* Wed Aug 11 2021 Mike FABIAN - 0.0.55-1 +- Update to 0.0.55 +- Get translation changes from CLDR +- Add more translations from CLDR +- Make inscript2 instead of inscript input methods the default + (See: https://fedoraproject.org/wiki/Changes/Enhanced_Inscript_as_default_Indic_IM) +- Make ibus/m17n:vi:telex the default input method for Vietnamese + +* Thu Jul 22 2021 Fedora Release Engineering - 0.0.54-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 0.0.54-3 +- Rebuilt for Python 3.10 + +* Tue Jan 26 2021 Fedora Release Engineering - 0.0.54-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Oct 29 2020 Mike FABIAN - 0.0.54-1 +- Update to 0.0.54 +- add list_common_languages derived from gnome-control-center + by Sundeep ANAND + +* Tue Sep 15 2020 Mike FABIAN - 0.0.53-1 +- Update to 0.0.53 +- Capitalize the return values of language_name() and territory_name() + (See: https://github.com/rhinstaller/anaconda/pull/2837). +- Add more translations from CLDR +- Get translation changes from CLDR + +* Tue Aug 18 2020 Mike FABIAN - 0.0.52-1 +- Update to 0.0.52 +- add list_common_keyboards() to public api by Sundeep ANAND + +* Tue Jul 28 2020 Fedora Release Engineering - 0.0.51-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 0.0.51-3 +- Rebuilt for Python 3.9 + +* Wed Jan 29 2020 Fedora Release Engineering - 0.0.51-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 14 2020 Mike FABIAN - 0.0.51-1 +- Parse stuff in glibc locale names after @ which is not a script as a variant +- Add ckb_IQ.UTF-8 locale + +* Fri Dec 20 2019 Mike FABIAN - 0.0.50-1 +- Make parse_locale() return something reasonable for + C, POSIX, en_US_POSIX, and C.UTF-8 +- Fix exception in language_name() when called with languageId='' + (noticed by Marco Myllynen, thank you!) + +* Fri Dec 13 2019 Mike FABIAN - 0.0.49-1 +- Add new public function parse_locale() +- Let info() print a bit more stuff + +* Tue Nov 05 2019 Mike FABIAN - 0.0.48-1 +- Fix typo in mo entry +- Add mnw +- Fix translation of IN in te + +* Sun Sep 29 2019 Mike FABIAN - 0.0.47-1 +- Three changed translations into sr_Latn from CLDR +- Add translations of PL in csb and szl (from native speakers) +- Add tools/compare_with_glib_source.py script to compare stuff with glibc +- Add translation of DZ in ber +- Add translation for MA in ber, ber_Tfng, ber_MA +- Add translation of MX in nah and nhn +- Add translation of NP in the +- Add translation for PH in tl +- Fix translation of IN in te +- Add translation of MM in shn +- Add translation of IN in sat +- Add translation of IR in az_Arab, az_IR +- Add translation for NU in niu +- Add translation of PE in ayc (from glibc) +- Add translation of PE in agr (from glibc) +- Fix translation of RU into tt +- Fix translation of ZA in xh +- Add translation of IN in mni (from glibc) +- Add translation of CA in iu (from glibc) +- Add translation of ET in sid (from glibc) +- Add translations of ER and ET in gez (from glibc) +- Add translation of ZA in nr, nso, ss, st, tn, ts, ve (from glibc) +- Add translation of MV in dv (from glibc) +- Add translation of CA in ik (from glibc) +- Add translation of IN in mjw (from glibc) +- Add translations of TW in cmn, hak, nan, nan_Latn (from glibc) +- Fix translation of BY in be_Latn to agree with glibc +- Add translation of NP in bho +- Add translation of IN in bhb, bho, doi, hif, hne, ks_Deva, mag, raj, sa, sd_Deva +- Use "Crimean Tatar" instead of "Crimean Turkish" as English translation for crh +- Use Shuswap instead of "Shuswap langauge" as the English translation of shs +- Correct capitalization of endonym for ss +- Fix translations of sr_Latn and sr_Cyrl into sr_Latn +- Use standard translations of zh and yue from cldr, not the alt='menu' variant +- Fix endonym of uz_Cyrl to agree with glibc and cldr +- Change endonym for tcy to agree with glibc (cldr does not have tcy) +- Change endonym for sid to agree with glibc (cldr does not have sid) +- Change endonym for sgs to agree with glibc (cldr does not have sgs) +- Give Olck higher priority than Deva for sat +- Change endonym for lzh to agree with glibc +- Change endonym for csb to agree with glibc +- Change endonym for cmn_Hans from 官话 to 汉语官话 and for cmn_Hant from 官話 to 漢語官話 +- Add endonym for ber_MA +- Add endonym for az_Arab, az_IR (from az_IR in glibc) +- Add endonym for fy_NL +- Fix endonym for nhn and add English name for nhn +- Fix endonym for pa_Arab (agrees with CLDR now) + +* Wed Sep 04 2019 Mike FABIAN - 0.0.46-1 +- Add some documentation about the parsing of languageId +- Adapt test cases to translation changes from CLDR +- Get translation changes from CLDR +- Add more translations from CLDR +- More test cases +- Add optional boolean parameter “fallback” in language_name() and territory_name() +- Add translation of ES in an +- Add dummy translation of IN in ks_Deva +- Add endonyms for ik, iu, cv, csb, crh, an, ayc, ber, bho +- Add translation of IT in lij +- Add endonym for nan_Latn +- Add endonym for oc and translation of FR in oc +- Add translations of AW and CW in pap +- Add endonyms for sat, sa, quz +- Add translation of IT in sc +- Add dummy translation of IN in sd_Deva +- Add endonyms for sid, the +- Add translations of “Tok Pisin” and “Papua New Guinea” in the Tok Pisin language +- Add translations of “Walloon” and “Belgium” in the Walloon language +- Some comments in Makefile + +* Mon Aug 19 2019 Miro Hrončok - 0.0.45-4 +- Rebuilt for Python 3.8 + +* Tue Jul 30 2019 Mike FABIAN - 0.0.45-3 +- Add “Provides: langtable-data” + +* Thu Jul 25 2019 Fedora Release Engineering - 0.0.45-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Mike FABIAN - 0.0.45-1 +- Add python_provide macro to make the switch from Python 2 to + Python 3 automatic (Resolves: rhbz#1717341) +- Use “us(intl)” keyboard instead of “us” as the default for af and ZA + (Resolves: https://github.com/mike-fabian/langtable/issues/9) +- Add za keyboard layout for nso, tn, ve + (Resolves: https://github.com/mike-fabian/langtable/issues/10) +- “us” is a possible layout for “ZA”, it is used by default for “zu” for example +- Return number of failed tests in test_cases.py doctests. + +* Fri May 31 2019 Mike FABIAN - 0.0.44-2 +- Obsolete langtable-data + +* Fri May 31 2019 Mike FABIAN - 0.0.44-1 +- Use setuptools instead of distutils +- Add a version() function and an info() function. +- Restructure langtable project a bit to be able to upload to PyPi +- Increase the rank of zh_SG.UTF-8 back to 10 again for languageId="zh" +- Remove old provides and obsoletes + +* Fri May 10 2019 Mike FABIAN - 0.0.43-1 +- Get translation changes from CLDR +- Add some new translations from CLDR +- Add dsb_DE.UTF-8 sah_RU.UTF-8 locales +- Fix ranks for "en" and "zh" in "SG", English should be the default for "SG" +- Reduce the rank of cmn_TW.UTF-8 and zh_SG.UTF-8 to 0 for languageId="zh" + (Resolves: https://github.com/mike-fabian/langtable/issues/8) + +* Mon Apr 08 2019 Mike FABIAN - 0.0.42-1 +- Add special support for languageId ca_ES_VALENCIA (Resolves: rhbz#1698984) + +* Fri Mar 08 2019 Mike FABIAN - 0.0.41-3 +- Remove python2-langtable subpackage (Resolves: rhbz#1686395) + +* Fri Feb 01 2019 Fedora Release Engineering - 0.0.41-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 29 2019 Mike FABIAN - 0.0.41-1 +- The territory can be 2 upper case letters *or* 3 digits +- Get translation changes from CLDR +- Add many languages and territories and also add new translations from CLDR + +* Mon Jan 07 2019 Mike FABIAN - 0.0.40-1 +- Add Esperanto locale and test case + (Thanks to Carmen Bianca Bakker ). +- Add sel + +* Thu Nov 08 2018 Mike FABIAN - 0.0.39-2 +- Remove unnecessary LC_CTYPE=en_US.UTF-8 in check section. + +* Mon Oct 15 2018 Mike FABIAN - 0.0.39-1 +- Add the new keyboard layout "au" for Australia (same as "us") +- Add locales missing in languages.xml, territiories.xml or in both. +- Add ibus/libzhuyin and make it the default for TW. +- Add cmn_TW.UTF-8 to the Chinese locales +- Add several missing languages (Resolves: rhbz#1631214): + ab av bin bm bua ch co cu ee fat gn ho hz ie ii io kaa ki kj kr kum + kwm lah lez mh mo na ng nqo nv ota rm rn sco sg sh sma smn sms sn su + syr tw ty tyv vo vot wen yap za + +* Tue Jul 17 2018 Miro Hrončok - 0.0.38-8 +- Update Python macros to new packaging standards + (See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package) + +* Fri Jul 13 2018 Fedora Release Engineering - 0.0.38-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.0.38-6 +- Rebuilt for Python 3.7 + +* Tue Apr 10 2018 Pete Walter - 0.0.38-5 +- Conditionally add back Python 2 subpackage on Fedora +- Rename Python 3 subpackage to python3-langtable to follow guidelines +- Resolves: rhbz#1559099 + +* Wed Apr 04 2018 Mike FABIAN - 0.0.38-4 +- Drop Python 2 subpackage +- Resolves: rhbz#1559099 + +* Wed Feb 07 2018 Fedora Release Engineering - 0.0.38-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Nov 06 2017 Mike FABIAN - 0.0.38-2 +- Make "tw" the default keyboard layout for zh_TW and cmn_TW +- Resolves: rhbz#1387825 + +* Mon Nov 06 2017 Mike FABIAN - 0.0.38-1 +- Add some new translations from CLDR +- Add agr, bi, hif, kab, mfe, miq, mjw, shn, sm, to, tpi_PG, yuw, AS, MU, SC, TO, VU, WS + +* Wed Sep 27 2017 Troy Dawson - 0.0.37-4 +- Cleanup spec file conditionals + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.0.37-3 +- Python 2 binary package renamed to python2-langtable + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Wed Jul 26 2017 Fedora Release Engineering - 0.0.37-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Feb 08 2017 Mike FABIAN - 0.0.37-1 +- Add some new translations from CLDR +- Add sgs +- Add chr +- Add Hung script + +* Mon Dec 12 2016 Charalampos Stratakis - 0.0.36-3 +- Rebuild for Python 3.6 + +* Thu Jul 21 2016 Mike FABIAN - 0.0.36-2 +- add BuildRequires: perl + +* Wed Jul 20 2016 Mike FABIAN - 0.0.36-1 +- Add LI (a de_LI locale has recently been added to glibc) +- Add some translations for LI from CLDR + +* Tue Jul 19 2016 Fedora Release Engineering - 0.0.35-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Fri Jun 24 2016 Mike FABIAN - 0.0.35-1 +- Add some translations from CLDR +- Translation fix for Cyprus in Turkish (Resolves: rhbz#1349245) +- Fix script entries for ID and BA +- Add khb, osa, new, xzh and Bhks and Marc scripts + +* Thu Feb 04 2016 Fedora Release Engineering - 0.0.34-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Feb 3 2016 Orion Poplawski - 0.0.34-3 +- Modernize spec +- Fix python3 package file ownership + +* Tue Nov 03 2015 Robert Kuska - 0.0.34-2 +- Rebuilt for Python3.5 rebuild + +* Wed Jul 01 2015 Mike FABIAN - 0.0.34-1 +- Add a function list_scripts() to list scripts used for a language or in a territory +- Translation fix from CLDR +- Add Sphinx markup to public functions + +* Wed Jun 17 2015 Fedora Release Engineering - 0.0.33-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed May 13 2015 Mike FABIAN - 0.0.33-1 +- Translation fix for Tagalog <-> Filipino +- Resolves: rhbz#1220775 +- Translation fixes from Wikipedia and CLDR +- fix build with Python 3.4.3 (in current rawhide) + +* Tue May 12 2015 Mike FABIAN - 0.0.32-1 +- Add language endonym for tl +- Resolves: rhbz#1220783 + +* Tue Apr 28 2015 Mike FABIAN - 0.0.31-2 +- Do not package the files in /usr/share/langtable/ twice +- Resolves: rhbz#1216913 + +* Thu Mar 05 2015 Mike FABIAN - 0.0.31-1 +- Fix keyboard for sr_ME ('rs', not 'sr'), by David Shea (Resolves: rhbz#1190078) +- Add tcy and bhb +- Add some new translations from CLDR +- Some translation fixes from CLDR + +* Tue Jan 27 2015 Mike FABIAN - 0.0.30-1 +- Make “eurlatgr” the default console font for languages and regions which + do not need Arabic or Cyrillic or Hebrew script. +- add ce, raj + +* Wed Jan 14 2015 Mike FABIAN - 0.0.29-1 +- add CW, cmn, hak, lzh, quz, the + +* Wed Sep 24 2014 Mike FABIAN - 0.0.28-1 +- Do not used translations tagged with 'variant' in CLDR +- Rename Uyghur keyboard cn(uig) → cn(ug) + (for xkeyboard-config >= 2.12, shipped with Fedora 21 Alpha) + +* Wed Aug 27 2014 Mike FABIAN - 0.0.27-1 +- Use Hindi again as the default language for India (Resolves: rhbz#1133188) +- Some translation updates from CLDR. + +* Mon Aug 25 2014 Mike FABIAN - 0.0.26-1 +- Use English as the default language for India (Resolves: rhbz#1133188) + +* Wed Jul 09 2014 Mike FABIAN - 0.0.25-1 +- Add fi(classic) keyboard layout (Resolves: rhbz#1117860) + +* Sat Jun 07 2014 Fedora Release Engineering - 0.0.24-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 28 2014 Kalev Lember - 0.0.24-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + +* Thu May 22 2014 Mike FABIAN - 0.0.24-2 +- Resolves: rhbz#1100230 - Unowned dir /usr/share/langtable + +* Mon Feb 24 2014 Mike FABIAN - 0.0.24-1 +- mark Bengali (bd) and its Probhat variant layout as not ASCII-capable (by Adam Williamson) +- Also validate timezones.xml and timezoneidparts.xml in .spec file +- List list_inputmethods() as public API +- Fall back to returning untranslated timezone id if translation for the requested language does not exist (Resolves: rhbz#1032848) + +* Tue Dec 10 2013 Mike FABIAN - 0.0.23-1 +- Change English translation for or from “Oriya” to “Odia” (Resolves: rhbz#1039496) +- Some new translations and translation fixes from CLDR + +* Wed Dec 04 2013 Mike FABIAN - 0.0.22-1 +- Fix typo in territory and locale for ms (Resolves: rhbz#1038109) +- add ba, chm, kv, sah, syc, udm, xal +- add entries for more keyboard layouts known to be non-ASCII + +* Thu Nov 21 2013 Mike FABIAN - 0.0.21-1 +- Make America/New_York the highest ranked timezone for US and yi (Resolves: rhbz#1031319) + +* Wed Nov 20 2013 Mike FABIAN - 0.0.20-1 +- add entries for several layouts known to be non-ASCII by systemd/s-c-k (patch by Adam Williamson) + +* Mon Nov 11 2013 Mike FABIAN - 0.0.19-1 +- Add SS +- More translations for anp from CLDR +- Add information about default input methods and a query function + +* Mon Nov 04 2013 Mike FABIAN - 0.0.18-1 +- Add anp +- Do not fail if a timezone id part cannot be found in the database (Vratislav Podzimek reported that error) + +* Tue Oct 22 2013 Mike FABIAN - 0.0.17-1 +- Add “be(oss)” as a possible keyboard layout for language nl (Resolves: rhbz#885345) + +* Tue Oct 08 2013 Mike FABIAN - 0.0.16-1 +- Make it work with python3 (and keep it working with python2) (Resolves: rhbz#985317) + +* Mon Sep 16 2013 Mike FABIAN - 0.0.15-1 +- Update to 0.0.15 +- Add keyboards "ara", "ara(azerty)", "iq", and "sy" (Resolves: rhbz#1008389) + +* Sun Sep 15 2013 Mike FABIAN - 0.0.14-1 +- Update to 0.0.14 +- add some more languages: ay, ayc, ayr, niu, szl, nhn +- make languageId() work even if the name of the language or the territory contain spaces (Resolves: rhbz#1006718) +- Add the default script if not specified in queries for Chinese +- Import improved translations from CLDR +- Always return the territory name as well if queried in language_name() +- Add timezones.xml and timezoneidparts.xml to be able to offer translations for timezone ids +- Import translations for timezone cities from CLDR +- Add some more territories and translations +- test cases for timezone id translations + +* Thu Sep 05 2013 Mike FABIAN - 0.0.13-1 +- Update to 0.0.13 +- Serbian keyboards are 'rs' not 'sr' (by Vratislav Podzimek) + +* Wed Aug 28 2013 Mike FABIAN - 0.0.12-1 +- Update to 0.0.12 +- Match case insensitively in languageId() (Resolves: rhbz#1002000 (case insensitive languageId function needed)) + +* Mon Aug 19 2013 Mike FABIAN - 0.0.11-1 +- Update to 0.0.11 +- Add translations for DE and NL territories in nds (reported by Vratislav Podzimek) + +* Tue Aug 13 2013 Mike FABIAN - 0.0.10-1 +- Update to 0.0.10 +- Add translations for Belarusian and Belarus in Latin script (reported by Vratislav Podzimek) + +* Sat Aug 03 2013 Mike FABIAN - 0.0.9-1 +- Update to 0.0.9 +- Add endonyms for pa_Arab (and pa_PK) and translation of country name for Pakistan for pa_Arab +- make languageId() return something even if a language name like "language (territory)" is given (Resolves: rhbz#986659 - some language name to its locale code failed) + +* Tue Jul 30 2013 Mike FABIAN - 0.0.8-1 +- Update to 0.0.8 +- Add endonym for Maithili +- Return True by default from supports_ascii (by Vratislav Podzimek) +- Add grc, eo, ak, GH, cop, dsb, fj, FJ, haw, hil, la, VA, ln, kg, CD, CG, AO, mos, BF, ny, MW, smj, tet, TL, tpi, PG (Resolves: rhbz#985332 - some language codes are missing) +- Import more translations from CLDR +- Give pa_IN.UTF-8 higher weight than pa_PK.UTF-8 (Resolves: rhbz#986658, rhbz#986155) + +* Thu Jul 04 2013 Mike FABIAN - 0.0.7-1 +- Update to 0.0.7 +- Add examples for list_consolefonts() +- Add a list_timezones() function +- Add functions languageId() and territoryId() +- Fix some translations of language names to get unique results returned by languageId() + +* Wed Jun 12 2013 Mike FABIAN - 0.0.6-1 +- Update to 0.0.6 +- Add RelaxNG schemas for the XML files (Vratislav Podzimek ) +- Use SAX instead of the ElementTree (Vratislav Podzimek ) +- Use 'trName' instead of 'name' for translated names (Vratislav Podzimek ) + +* Fri Jun 07 2013 Mike FABIAN - 0.0.5-1 +- Update to 0.0.5 +- Accept script names as used by glibc locales as well +- Support reading gzipped xml files +- Set ASCII support to “True” for cz and sk keyboard layouts + +* Mon May 27 2013 Mike FABIAN - 0.0.4-1 +- Update to 0.0.4 +- Remove backwards compatibility init() function +- Add ia (Interlingua), see https://bugzilla.redhat.com/show_bug.cgi?id=872423 + +* Thu May 16 2013 Mike FABIAN - 0.0.3-1 +- Update to 0.0.3 +- Move the examples from the README to the source code +- Some tweaks for the translation of Serbian +- Prefix all global functions and global variables which are internal with “_” +- Rename country → territory, countries → territories in keyboards.xml +- Add keyboard “in(eng)” and make it the default for all Indian languages +- Add a comment stating which functions should be considered public API +- Add a supports_ascii() function +- Run Python’s doctest also on langtable.py, not only the extra test_cases.txt + +* Fri May 10 2013 Mike FABIAN - 0.0.2-1 +- update to 0.0.2 +- Prefer values for language, script, and territory found in languageId over those found in the other parameters + +* Tue May 07 2013 Mike FABIAN - 0.0.1-1 +- initial package diff --git a/langtable.spec b/langtable.spec index 35c13b9..e2a42f8 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,6 +1,6 @@ Name: langtable Version: 0.0.64 -Release: 3%{?dist} +Release: %autorelease Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) # imported from CLDR and are thus under the Unicode license, the @@ -75,558 +75,4 @@ xmllint --noout --relaxng \ %{python3_sitelib}/langtable-*.egg-info/* %changelog -* Thu Jan 25 2024 Fedora Release Engineering - 0.0.64-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sun Jan 21 2024 Fedora Release Engineering - 0.0.64-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Tue Sep 19 2023 Mike FABIAN - 0.0.64-1 -- Update to 0.0.64 -- Add new public functions list_all_{languages,locales,keyboards,territories,timezones,scripts,input_methods,console_fonts} - (See also the discussion at: https://gitlab.gnome.org/GNOME/gnome-desktop/-/merge_requests/159) - -* Mon Aug 28 2023 Mike FABIAN - 0.0.63-1 -- Update to 0.0.63 -- Add more translations from CLDR -- Get translation changes from CLDR -- Japanese: prefer anthy over kkc - (Thanks to adam Williamson: https://github.com/mike-fabian/langtable/pull/17) -- Use skipTerritory also in list_keyboards(), list_consolefonts(), and list_timezones() - (Resolves: https://github.com/mike-fabian/langtable/issues/18) - -* Thu Jul 20 2023 Fedora Release Engineering - 0.0.62-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Tue Jun 13 2023 Python Maint - 0.0.62-2 -- Rebuilt for Python 3.12 - -* Tue May 02 2023 Mike FABIAN - 0.0.62-1 -- Update to 0.0.62 -- Get translation changes from CLDR -- Add more translations from CLDR -- Add Norwegian keyboard layout to keyboards.xml - (Resolves: https://github.com/mike-fabian/langtable/issues/16) -- Add Hang script to Southern Aymara - -* Thu Jan 19 2023 Fedora Release Engineering - 0.0.61-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Mon Nov 28 2022 Mike FABIAN - 0.0.61-2 -- Migrate license tag of python3-langtable to SPDX as well - -* Thu Nov 24 2022 Mike FABIAN - 0.0.61-1 -- Update to 0.0.61 -- Add mnw_MM.UTF-8 and ckb_IQ.UTF-8 -- Do not run test cases using Python2 anymore -- Add bih -- Add more translations from CLDR -- Migrate license tag to SPDX - -* Wed Sep 21 2022 Mike FABIAN - 0.0.60-1 -- Update to 0.0.60 -- Add list_common_locales() function - (Resolves: https://github.com/mike-fabian/langtable/issues/15) -- For ar_IN locale, langtable should give the 'ara' keyboard layout as the first choice - (Resolves: Resolves: https://github.com/mike-fabian/langtable/issues/14) - -* Tue Sep 06 2022 Mike FABIAN - 0.0.59-1 -- Update to 0.0.59 -- Add ibus/m17n:ar:kbd as input method for Arabic and fix iso639-1 code for Arabic -- Get translation changes from CLDR -- Add more translations from CLDR - -* Thu Jul 21 2022 Fedora Release Engineering - 0.0.58-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Mon Jun 13 2022 Python Maint - 0.0.58-2 -- Rebuilt for Python 3.11 - -* Thu Apr 21 2022 Mike FABIAN - 0.0.58-1 -- Update to 0.0.58 -- Add syr locale -- Get translation changes from CLDR -- Add more translations from CLDR -- Fix names for keyboard layouts which have changed -- Add ab_GE locale -- Add rif language - -* Tue Jan 25 2022 Mike FABIAN - 0.0.57-1 -- Update to 0.0.57 -- Get translation changes from CLDR -- Add more translations from CLDR -- Replace “ibus/cangjie” with “ibus/table:cangjie5” -- Updates for Sami languages (from Marko Myllynen) -- Updates for Finnish keyboard layouts (from Marko Myllynen) - -* Thu Jan 20 2022 Fedora Release Engineering - 0.0.56-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Mon Aug 16 2021 Mike FABIAN - 0.0.56-1 -- Update to 0.0.56 -- Fallback to translations in “xx” from “xx_Zzzz” - only if “Zzzz” is the main script of “xx” - (Resolves: https://github.com/mike-fabian/langtable/issues/13) -- Get translation changes for mt from CLDR - -* Wed Aug 11 2021 Mike FABIAN - 0.0.55-1 -- Update to 0.0.55 -- Get translation changes from CLDR -- Add more translations from CLDR -- Make inscript2 instead of inscript input methods the default - (See: https://fedoraproject.org/wiki/Changes/Enhanced_Inscript_as_default_Indic_IM) -- Make ibus/m17n:vi:telex the default input method for Vietnamese - -* Thu Jul 22 2021 Fedora Release Engineering - 0.0.54-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Fri Jun 04 2021 Python Maint - 0.0.54-3 -- Rebuilt for Python 3.10 - -* Tue Jan 26 2021 Fedora Release Engineering - 0.0.54-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Thu Oct 29 2020 Mike FABIAN - 0.0.54-1 -- Update to 0.0.54 -- add list_common_languages derived from gnome-control-center - by Sundeep ANAND - -* Tue Sep 15 2020 Mike FABIAN - 0.0.53-1 -- Update to 0.0.53 -- Capitalize the return values of language_name() and territory_name() - (See: https://github.com/rhinstaller/anaconda/pull/2837). -- Add more translations from CLDR -- Get translation changes from CLDR - -* Tue Aug 18 2020 Mike FABIAN - 0.0.52-1 -- Update to 0.0.52 -- add list_common_keyboards() to public api by Sundeep ANAND - -* Tue Jul 28 2020 Fedora Release Engineering - 0.0.51-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue May 26 2020 Miro Hrončok - 0.0.51-3 -- Rebuilt for Python 3.9 - -* Wed Jan 29 2020 Fedora Release Engineering - 0.0.51-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Tue Jan 14 2020 Mike FABIAN - 0.0.51-1 -- Parse stuff in glibc locale names after @ which is not a script as a variant -- Add ckb_IQ.UTF-8 locale - -* Fri Dec 20 2019 Mike FABIAN - 0.0.50-1 -- Make parse_locale() return something reasonable for - C, POSIX, en_US_POSIX, and C.UTF-8 -- Fix exception in language_name() when called with languageId='' - (noticed by Marco Myllynen, thank you!) - -* Fri Dec 13 2019 Mike FABIAN - 0.0.49-1 -- Add new public function parse_locale() -- Let info() print a bit more stuff - -* Tue Nov 05 2019 Mike FABIAN - 0.0.48-1 -- Fix typo in mo entry -- Add mnw -- Fix translation of IN in te - -* Sun Sep 29 2019 Mike FABIAN - 0.0.47-1 -- Three changed translations into sr_Latn from CLDR -- Add translations of PL in csb and szl (from native speakers) -- Add tools/compare_with_glib_source.py script to compare stuff with glibc -- Add translation of DZ in ber -- Add translation for MA in ber, ber_Tfng, ber_MA -- Add translation of MX in nah and nhn -- Add translation of NP in the -- Add translation for PH in tl -- Fix translation of IN in te -- Add translation of MM in shn -- Add translation of IN in sat -- Add translation of IR in az_Arab, az_IR -- Add translation for NU in niu -- Add translation of PE in ayc (from glibc) -- Add translation of PE in agr (from glibc) -- Fix translation of RU into tt -- Fix translation of ZA in xh -- Add translation of IN in mni (from glibc) -- Add translation of CA in iu (from glibc) -- Add translation of ET in sid (from glibc) -- Add translations of ER and ET in gez (from glibc) -- Add translation of ZA in nr, nso, ss, st, tn, ts, ve (from glibc) -- Add translation of MV in dv (from glibc) -- Add translation of CA in ik (from glibc) -- Add translation of IN in mjw (from glibc) -- Add translations of TW in cmn, hak, nan, nan_Latn (from glibc) -- Fix translation of BY in be_Latn to agree with glibc -- Add translation of NP in bho -- Add translation of IN in bhb, bho, doi, hif, hne, ks_Deva, mag, raj, sa, sd_Deva -- Use "Crimean Tatar" instead of "Crimean Turkish" as English translation for crh -- Use Shuswap instead of "Shuswap langauge" as the English translation of shs -- Correct capitalization of endonym for ss -- Fix translations of sr_Latn and sr_Cyrl into sr_Latn -- Use standard translations of zh and yue from cldr, not the alt='menu' variant -- Fix endonym of uz_Cyrl to agree with glibc and cldr -- Change endonym for tcy to agree with glibc (cldr does not have tcy) -- Change endonym for sid to agree with glibc (cldr does not have sid) -- Change endonym for sgs to agree with glibc (cldr does not have sgs) -- Give Olck higher priority than Deva for sat -- Change endonym for lzh to agree with glibc -- Change endonym for csb to agree with glibc -- Change endonym for cmn_Hans from 官话 to 汉语官话 and for cmn_Hant from 官話 to 漢語官話 -- Add endonym for ber_MA -- Add endonym for az_Arab, az_IR (from az_IR in glibc) -- Add endonym for fy_NL -- Fix endonym for nhn and add English name for nhn -- Fix endonym for pa_Arab (agrees with CLDR now) - -* Wed Sep 04 2019 Mike FABIAN - 0.0.46-1 -- Add some documentation about the parsing of languageId -- Adapt test cases to translation changes from CLDR -- Get translation changes from CLDR -- Add more translations from CLDR -- More test cases -- Add optional boolean parameter “fallback” in language_name() and territory_name() -- Add translation of ES in an -- Add dummy translation of IN in ks_Deva -- Add endonyms for ik, iu, cv, csb, crh, an, ayc, ber, bho -- Add translation of IT in lij -- Add endonym for nan_Latn -- Add endonym for oc and translation of FR in oc -- Add translations of AW and CW in pap -- Add endonyms for sat, sa, quz -- Add translation of IT in sc -- Add dummy translation of IN in sd_Deva -- Add endonyms for sid, the -- Add translations of “Tok Pisin” and “Papua New Guinea” in the Tok Pisin language -- Add translations of “Walloon” and “Belgium” in the Walloon language -- Some comments in Makefile - -* Mon Aug 19 2019 Miro Hrončok - 0.0.45-4 -- Rebuilt for Python 3.8 - -* Tue Jul 30 2019 Mike FABIAN - 0.0.45-3 -- Add “Provides: langtable-data” - -* Thu Jul 25 2019 Fedora Release Engineering - 0.0.45-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri May 31 2019 Mike FABIAN - 0.0.45-1 -- Add python_provide macro to make the switch from Python 2 to - Python 3 automatic (Resolves: rhbz#1717341) -- Use “us(intl)” keyboard instead of “us” as the default for af and ZA - (Resolves: https://github.com/mike-fabian/langtable/issues/9) -- Add za keyboard layout for nso, tn, ve - (Resolves: https://github.com/mike-fabian/langtable/issues/10) -- “us” is a possible layout for “ZA”, it is used by default for “zu” for example -- Return number of failed tests in test_cases.py doctests. - -* Fri May 31 2019 Mike FABIAN - 0.0.44-2 -- Obsolete langtable-data - -* Fri May 31 2019 Mike FABIAN - 0.0.44-1 -- Use setuptools instead of distutils -- Add a version() function and an info() function. -- Restructure langtable project a bit to be able to upload to PyPi -- Increase the rank of zh_SG.UTF-8 back to 10 again for languageId="zh" -- Remove old provides and obsoletes - -* Fri May 10 2019 Mike FABIAN - 0.0.43-1 -- Get translation changes from CLDR -- Add some new translations from CLDR -- Add dsb_DE.UTF-8 sah_RU.UTF-8 locales -- Fix ranks for "en" and "zh" in "SG", English should be the default for "SG" -- Reduce the rank of cmn_TW.UTF-8 and zh_SG.UTF-8 to 0 for languageId="zh" - (Resolves: https://github.com/mike-fabian/langtable/issues/8) - -* Mon Apr 08 2019 Mike FABIAN - 0.0.42-1 -- Add special support for languageId ca_ES_VALENCIA (Resolves: rhbz#1698984) - -* Fri Mar 08 2019 Mike FABIAN - 0.0.41-3 -- Remove python2-langtable subpackage (Resolves: rhbz#1686395) - -* Fri Feb 01 2019 Fedora Release Engineering - 0.0.41-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Tue Jan 29 2019 Mike FABIAN - 0.0.41-1 -- The territory can be 2 upper case letters *or* 3 digits -- Get translation changes from CLDR -- Add many languages and territories and also add new translations from CLDR - -* Mon Jan 07 2019 Mike FABIAN - 0.0.40-1 -- Add Esperanto locale and test case - (Thanks to Carmen Bianca Bakker ). -- Add sel - -* Thu Nov 08 2018 Mike FABIAN - 0.0.39-2 -- Remove unnecessary LC_CTYPE=en_US.UTF-8 in check section. - -* Mon Oct 15 2018 Mike FABIAN - 0.0.39-1 -- Add the new keyboard layout "au" for Australia (same as "us") -- Add locales missing in languages.xml, territiories.xml or in both. -- Add ibus/libzhuyin and make it the default for TW. -- Add cmn_TW.UTF-8 to the Chinese locales -- Add several missing languages (Resolves: rhbz#1631214): - ab av bin bm bua ch co cu ee fat gn ho hz ie ii io kaa ki kj kr kum - kwm lah lez mh mo na ng nqo nv ota rm rn sco sg sh sma smn sms sn su - syr tw ty tyv vo vot wen yap za - -* Tue Jul 17 2018 Miro Hrončok - 0.0.38-8 -- Update Python macros to new packaging standards - (See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package) - -* Fri Jul 13 2018 Fedora Release Engineering - 0.0.38-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 19 2018 Miro Hrončok - 0.0.38-6 -- Rebuilt for Python 3.7 - -* Tue Apr 10 2018 Pete Walter - 0.0.38-5 -- Conditionally add back Python 2 subpackage on Fedora -- Rename Python 3 subpackage to python3-langtable to follow guidelines -- Resolves: rhbz#1559099 - -* Wed Apr 04 2018 Mike FABIAN - 0.0.38-4 -- Drop Python 2 subpackage -- Resolves: rhbz#1559099 - -* Wed Feb 07 2018 Fedora Release Engineering - 0.0.38-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Mon Nov 06 2017 Mike FABIAN - 0.0.38-2 -- Make "tw" the default keyboard layout for zh_TW and cmn_TW -- Resolves: rhbz#1387825 - -* Mon Nov 06 2017 Mike FABIAN - 0.0.38-1 -- Add some new translations from CLDR -- Add agr, bi, hif, kab, mfe, miq, mjw, shn, sm, to, tpi_PG, yuw, AS, MU, SC, TO, VU, WS - -* Wed Sep 27 2017 Troy Dawson - 0.0.37-4 -- Cleanup spec file conditionals - -* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.0.37-3 -- Python 2 binary package renamed to python2-langtable - See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 - -* Wed Jul 26 2017 Fedora Release Engineering - 0.0.37-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed Feb 08 2017 Mike FABIAN - 0.0.37-1 -- Add some new translations from CLDR -- Add sgs -- Add chr -- Add Hung script - -* Mon Dec 12 2016 Charalampos Stratakis - 0.0.36-3 -- Rebuild for Python 3.6 - -* Thu Jul 21 2016 Mike FABIAN - 0.0.36-2 -- add BuildRequires: perl - -* Wed Jul 20 2016 Mike FABIAN - 0.0.36-1 -- Add LI (a de_LI locale has recently been added to glibc) -- Add some translations for LI from CLDR - -* Tue Jul 19 2016 Fedora Release Engineering - 0.0.35-2 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Fri Jun 24 2016 Mike FABIAN - 0.0.35-1 -- Add some translations from CLDR -- Translation fix for Cyprus in Turkish (Resolves: rhbz#1349245) -- Fix script entries for ID and BA -- Add khb, osa, new, xzh and Bhks and Marc scripts - -* Thu Feb 04 2016 Fedora Release Engineering - 0.0.34-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Feb 3 2016 Orion Poplawski - 0.0.34-3 -- Modernize spec -- Fix python3 package file ownership - -* Tue Nov 03 2015 Robert Kuska - 0.0.34-2 -- Rebuilt for Python3.5 rebuild - -* Wed Jul 01 2015 Mike FABIAN - 0.0.34-1 -- Add a function list_scripts() to list scripts used for a language or in a territory -- Translation fix from CLDR -- Add Sphinx markup to public functions - -* Wed Jun 17 2015 Fedora Release Engineering - 0.0.33-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Wed May 13 2015 Mike FABIAN - 0.0.33-1 -- Translation fix for Tagalog <-> Filipino -- Resolves: rhbz#1220775 -- Translation fixes from Wikipedia and CLDR -- fix build with Python 3.4.3 (in current rawhide) - -* Tue May 12 2015 Mike FABIAN - 0.0.32-1 -- Add language endonym for tl -- Resolves: rhbz#1220783 - -* Tue Apr 28 2015 Mike FABIAN - 0.0.31-2 -- Do not package the files in /usr/share/langtable/ twice -- Resolves: rhbz#1216913 - -* Thu Mar 05 2015 Mike FABIAN - 0.0.31-1 -- Fix keyboard for sr_ME ('rs', not 'sr'), by David Shea (Resolves: rhbz#1190078) -- Add tcy and bhb -- Add some new translations from CLDR -- Some translation fixes from CLDR - -* Tue Jan 27 2015 Mike FABIAN - 0.0.30-1 -- Make “eurlatgr” the default console font for languages and regions which - do not need Arabic or Cyrillic or Hebrew script. -- add ce, raj - -* Wed Jan 14 2015 Mike FABIAN - 0.0.29-1 -- add CW, cmn, hak, lzh, quz, the - -* Wed Sep 24 2014 Mike FABIAN - 0.0.28-1 -- Do not used translations tagged with 'variant' in CLDR -- Rename Uyghur keyboard cn(uig) → cn(ug) - (for xkeyboard-config >= 2.12, shipped with Fedora 21 Alpha) - -* Wed Aug 27 2014 Mike FABIAN - 0.0.27-1 -- Use Hindi again as the default language for India (Resolves: rhbz#1133188) -- Some translation updates from CLDR. - -* Mon Aug 25 2014 Mike FABIAN - 0.0.26-1 -- Use English as the default language for India (Resolves: rhbz#1133188) - -* Wed Jul 09 2014 Mike FABIAN - 0.0.25-1 -- Add fi(classic) keyboard layout (Resolves: rhbz#1117860) - -* Sat Jun 07 2014 Fedora Release Engineering - 0.0.24-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Wed May 28 2014 Kalev Lember - 0.0.24-3 -- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 - -* Thu May 22 2014 Mike FABIAN - 0.0.24-2 -- Resolves: rhbz#1100230 - Unowned dir /usr/share/langtable - -* Mon Feb 24 2014 Mike FABIAN - 0.0.24-1 -- mark Bengali (bd) and its Probhat variant layout as not ASCII-capable (by Adam Williamson) -- Also validate timezones.xml and timezoneidparts.xml in .spec file -- List list_inputmethods() as public API -- Fall back to returning untranslated timezone id if translation for the requested language does not exist (Resolves: rhbz#1032848) - -* Tue Dec 10 2013 Mike FABIAN - 0.0.23-1 -- Change English translation for or from “Oriya” to “Odia” (Resolves: rhbz#1039496) -- Some new translations and translation fixes from CLDR - -* Wed Dec 04 2013 Mike FABIAN - 0.0.22-1 -- Fix typo in territory and locale for ms (Resolves: rhbz#1038109) -- add ba, chm, kv, sah, syc, udm, xal -- add entries for more keyboard layouts known to be non-ASCII - -* Thu Nov 21 2013 Mike FABIAN - 0.0.21-1 -- Make America/New_York the highest ranked timezone for US and yi (Resolves: rhbz#1031319) - -* Wed Nov 20 2013 Mike FABIAN - 0.0.20-1 -- add entries for several layouts known to be non-ASCII by systemd/s-c-k (patch by Adam Williamson) - -* Mon Nov 11 2013 Mike FABIAN - 0.0.19-1 -- Add SS -- More translations for anp from CLDR -- Add information about default input methods and a query function - -* Mon Nov 04 2013 Mike FABIAN - 0.0.18-1 -- Add anp -- Do not fail if a timezone id part cannot be found in the database (Vratislav Podzimek reported that error) - -* Tue Oct 22 2013 Mike FABIAN - 0.0.17-1 -- Add “be(oss)” as a possible keyboard layout for language nl (Resolves: rhbz#885345) - -* Tue Oct 08 2013 Mike FABIAN - 0.0.16-1 -- Make it work with python3 (and keep it working with python2) (Resolves: rhbz#985317) - -* Mon Sep 16 2013 Mike FABIAN - 0.0.15-1 -- Update to 0.0.15 -- Add keyboards "ara", "ara(azerty)", "iq", and "sy" (Resolves: rhbz#1008389) - -* Sun Sep 15 2013 Mike FABIAN - 0.0.14-1 -- Update to 0.0.14 -- add some more languages: ay, ayc, ayr, niu, szl, nhn -- make languageId() work even if the name of the language or the territory contain spaces (Resolves: rhbz#1006718) -- Add the default script if not specified in queries for Chinese -- Import improved translations from CLDR -- Always return the territory name as well if queried in language_name() -- Add timezones.xml and timezoneidparts.xml to be able to offer translations for timezone ids -- Import translations for timezone cities from CLDR -- Add some more territories and translations -- test cases for timezone id translations - -* Thu Sep 05 2013 Mike FABIAN - 0.0.13-1 -- Update to 0.0.13 -- Serbian keyboards are 'rs' not 'sr' (by Vratislav Podzimek) - -* Wed Aug 28 2013 Mike FABIAN - 0.0.12-1 -- Update to 0.0.12 -- Match case insensitively in languageId() (Resolves: rhbz#1002000 (case insensitive languageId function needed)) - -* Mon Aug 19 2013 Mike FABIAN - 0.0.11-1 -- Update to 0.0.11 -- Add translations for DE and NL territories in nds (reported by Vratislav Podzimek) - -* Tue Aug 13 2013 Mike FABIAN - 0.0.10-1 -- Update to 0.0.10 -- Add translations for Belarusian and Belarus in Latin script (reported by Vratislav Podzimek) - -* Sat Aug 03 2013 Mike FABIAN - 0.0.9-1 -- Update to 0.0.9 -- Add endonyms for pa_Arab (and pa_PK) and translation of country name for Pakistan for pa_Arab -- make languageId() return something even if a language name like "language (territory)" is given (Resolves: rhbz#986659 - some language name to its locale code failed) - -* Tue Jul 30 2013 Mike FABIAN - 0.0.8-1 -- Update to 0.0.8 -- Add endonym for Maithili -- Return True by default from supports_ascii (by Vratislav Podzimek) -- Add grc, eo, ak, GH, cop, dsb, fj, FJ, haw, hil, la, VA, ln, kg, CD, CG, AO, mos, BF, ny, MW, smj, tet, TL, tpi, PG (Resolves: rhbz#985332 - some language codes are missing) -- Import more translations from CLDR -- Give pa_IN.UTF-8 higher weight than pa_PK.UTF-8 (Resolves: rhbz#986658, rhbz#986155) - -* Thu Jul 04 2013 Mike FABIAN - 0.0.7-1 -- Update to 0.0.7 -- Add examples for list_consolefonts() -- Add a list_timezones() function -- Add functions languageId() and territoryId() -- Fix some translations of language names to get unique results returned by languageId() - -* Wed Jun 12 2013 Mike FABIAN - 0.0.6-1 -- Update to 0.0.6 -- Add RelaxNG schemas for the XML files (Vratislav Podzimek ) -- Use SAX instead of the ElementTree (Vratislav Podzimek ) -- Use 'trName' instead of 'name' for translated names (Vratislav Podzimek ) - -* Fri Jun 07 2013 Mike FABIAN - 0.0.5-1 -- Update to 0.0.5 -- Accept script names as used by glibc locales as well -- Support reading gzipped xml files -- Set ASCII support to “True” for cz and sk keyboard layouts - -* Mon May 27 2013 Mike FABIAN - 0.0.4-1 -- Update to 0.0.4 -- Remove backwards compatibility init() function -- Add ia (Interlingua), see https://bugzilla.redhat.com/show_bug.cgi?id=872423 - -* Thu May 16 2013 Mike FABIAN - 0.0.3-1 -- Update to 0.0.3 -- Move the examples from the README to the source code -- Some tweaks for the translation of Serbian -- Prefix all global functions and global variables which are internal with “_” -- Rename country → territory, countries → territories in keyboards.xml -- Add keyboard “in(eng)” and make it the default for all Indian languages -- Add a comment stating which functions should be considered public API -- Add a supports_ascii() function -- Run Python’s doctest also on langtable.py, not only the extra test_cases.txt - -* Fri May 10 2013 Mike FABIAN - 0.0.2-1 -- update to 0.0.2 -- Prefer values for language, script, and territory found in languageId over those found in the other parameters - -* Tue May 07 2013 Mike FABIAN - 0.0.1-1 -- initial package - - - +%autochangelog From 2a22846c43f91abecb1961ba89cc4e2c02c77ef8 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 8 Feb 2024 17:59:30 +0100 Subject: [PATCH 66/79] Update to 0.0.65 - Add wuu, tok, glk, gbm, ssy - Remove aa_ER.UTF-8@saaho - Add kv_RU.UTF-8, chr_RU.UTF-8 - Add EU, EZ - Improve README and Makefile (Resolves: https://github.com/mike-fabian/langtable/issues/19) - Add more translations from CLDR - Get translation changes from CLDR --- .gitignore | 1 + langtable.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d704f87..a63145d 100644 --- a/.gitignore +++ b/.gitignore @@ -63,3 +63,4 @@ /langtable-0.0.62.tar.gz /langtable-0.0.63.tar.gz /langtable-0.0.64.tar.gz +/langtable-0.0.65.tar.gz diff --git a/langtable.spec b/langtable.spec index e2a42f8..2cb7342 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.64 +Version: 0.0.65 Release: %autorelease Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) diff --git a/sources b/sources index d79a36a..ac77014 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.64.tar.gz) = 42ecd828c4341d6586d5bb438a8031d799d3ac61f9a228a6f698c713bcb5d4aff1bb9f0eb655bac38c1dfa42532f6efd9b3ad1b71d7934afd1df90c18e86a846 +SHA512 (langtable-0.0.65.tar.gz) = d8ac34d327b6a636e2e3513a2ce783f53adfa4205c53d1efb53f3b2c7afe5594b16c205c1dedaed473f76e62d7fb02f98dab78b09fb7fbc809167a674c1404cd From 99e2927d85b8226958d86d6b185d2e26142d5fa3 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 7 May 2024 17:46:39 +0200 Subject: [PATCH 67/79] Update to 0.0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix syntax error in a keyboard layout name for th (Resolves: https://github.com/mike-fabian/langtable/issues/21xs) - Add mdf - Use “in(eng)” keyboard layout instead of “us” for BD to get AltGr enabled - Get translation changes from CLDR - Add option to include changed translations as well to the script getting translations from CLDR - Add reference to the the PyPI package to the README.md. And add a README.html and README generated from the README.md. - Make test outputs somewhat more verbose, even when all tests pass (Resolves: https://github.com/mike-fabian/langtable/pull/20). Thanks to Sebastian for the pull request. - Fix Makefile twine-upload target for new authentification --- .gitignore | 1 + langtable.spec | 4 ++-- sources | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index a63145d..377940c 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,4 @@ /langtable-0.0.63.tar.gz /langtable-0.0.64.tar.gz /langtable-0.0.65.tar.gz +/langtable-0.0.66.tar.gz diff --git a/langtable.spec b/langtable.spec index 2cb7342..208493d 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.65 +Version: 0.0.66 Release: %autorelease Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -66,7 +66,7 @@ xmllint --noout --relaxng \ %files %license COPYING unicode-license.txt -%doc README ChangeLog test_cases.py langtable/schemas/*.rng +%doc README* ChangeLog test_cases.py langtable/schemas/*.rng %files -n python3-langtable %dir %{python3_sitelib}/langtable diff --git a/sources b/sources index ac77014..b2b3721 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.65.tar.gz) = d8ac34d327b6a636e2e3513a2ce783f53adfa4205c53d1efb53f3b2c7afe5594b16c205c1dedaed473f76e62d7fb02f98dab78b09fb7fbc809167a674c1404cd +SHA512 (langtable-0.0.66.tar.gz) = 30ba9ed5b2ea8c981c5c5c3112ba4f52fd91a5754de893f130ec11649fcb7eda5ff16b627c85da84aeb3ac6d6ebfecd9dd8d8f52ad58df42a5c2e86541816491 From 51088e1551139ebadba2734e0a8ad75c4455fc18 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 08:50:42 +0200 Subject: [PATCH 68/79] Rebuilt for Python 3.13 From d81bc68bb04431c7b2d521e84046a4782291ebdc Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 11 Jun 2024 11:40:44 +0200 Subject: [PATCH 69/79] Update to 0.0.67 - Add tool to check which languages, scripts, and territories available in CLDR are missing in langtable - Add all missing scripts and languages: yrl, xnr, wbp, vmw, vec, trw, trv, skr, sdh, quc, pis, pcm, myv, mus, moh, mic, mhn, ltg, lmo, lld, kxv, kpe, kgp, ken, kcg, kaj, jbo, gaa, cic, cho, ceb, cch, cad, bss, blt, Tavt blo, bgn, bgc, rhg, Rohg hnj, Hmnp Shaw, Dsrt bew, bal, arn, apc, ann, scn - Drop Python < 3 support (using pyupgrade --py3-plus langtable.py) - Fix some ruff and pylint warnings --- .gitignore | 1 + langtable.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 377940c..1bedbe8 100644 --- a/.gitignore +++ b/.gitignore @@ -65,3 +65,4 @@ /langtable-0.0.64.tar.gz /langtable-0.0.65.tar.gz /langtable-0.0.66.tar.gz +/langtable-0.0.67.tar.gz diff --git a/langtable.spec b/langtable.spec index 208493d..5443aa8 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.66 +Version: 0.0.67 Release: %autorelease Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) diff --git a/sources b/sources index b2b3721..30794c9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.66.tar.gz) = 30ba9ed5b2ea8c981c5c5c3112ba4f52fd91a5754de893f130ec11649fcb7eda5ff16b627c85da84aeb3ac6d6ebfecd9dd8d8f52ad58df42a5c2e86541816491 +SHA512 (langtable-0.0.67.tar.gz) = 7961979ba18c68cc0dfe2732780087abb824ba2c70d54a22de62fb68a2f9bce776fccf25344d3ae84bf0890382cb026b522ebbe0e1615dcb617d393551ad85f2 From 47443a7f56df7b952eee71fe3378644300665cdf Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 11 Jun 2024 19:01:41 +0200 Subject: [PATCH 70/79] Rebuilt for Python 3.13 From 79db90a878ebb7d4905008bef297b17bc3f0ef05 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 17 Jul 2024 15:34:27 +0200 Subject: [PATCH 71/79] Update to 0.0.68 - Reorder ibus/chewing as the default inputmethod for TW or Hant. Resolves: https://github.com/mike-fabian/langtable/pull/22 See: https://fedoraproject.org/wiki/Changes/IBusChewingForZhTW - Add ltg_LV.UTF-8 --- .gitignore | 1 + langtable.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1bedbe8..fc67dd6 100644 --- a/.gitignore +++ b/.gitignore @@ -66,3 +66,4 @@ /langtable-0.0.65.tar.gz /langtable-0.0.66.tar.gz /langtable-0.0.67.tar.gz +/langtable-0.0.68.tar.gz diff --git a/langtable.spec b/langtable.spec index 5443aa8..938eb4c 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.67 +Version: 0.0.68 Release: %autorelease Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) diff --git a/sources b/sources index 30794c9..90d030a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.67.tar.gz) = 7961979ba18c68cc0dfe2732780087abb824ba2c70d54a22de62fb68a2f9bce776fccf25344d3ae84bf0890382cb026b522ebbe0e1615dcb617d393551ad85f2 +SHA512 (langtable-0.0.68.tar.gz) = fdb06a141b1ad3f62e8f6f6e7445c88059dd03d5c053e2dcbffaec79d38f688ffb39ef9270c720084ec13135fffca601afff6a14b4ff2ceb004b9bb39b892e2b From 4dff3eff67d1225126602d5c2fba920ca0301d72 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 12:58:20 +0000 Subject: [PATCH 72/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From f32e3b391e14506d521d229213c0a40f34bda862 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 10:10:57 +0000 Subject: [PATCH 73/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 5c386220f1c933075d9a3172a5a2f690dedb062f Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 27 Jan 2025 13:45:01 -0800 Subject: [PATCH 74/79] Backport PR #24 for Georgian console font support Signed-off-by: Adam Williamson --- ...-Georgian-add-georgian-console-fonts.patch | 46 +++++++++++++++++++ langtable.spec | 7 +++ 2 files changed, 53 insertions(+) create mode 100644 0001-Georgian-add-georgian-console-fonts.patch diff --git a/0001-Georgian-add-georgian-console-fonts.patch b/0001-Georgian-add-georgian-console-fonts.patch new file mode 100644 index 0000000..da093e5 --- /dev/null +++ b/0001-Georgian-add-georgian-console-fonts.patch @@ -0,0 +1,46 @@ +From 4ae3ebae62eecb1574fac122828c64c550900e5b Mon Sep 17 00:00:00 2001 +From: Adam Williamson +Date: Fri, 10 Jan 2025 11:22:39 -0800 +Subject: [PATCH] Georgian: add georgian console fonts + +LatCyrHebKa-16_GIA is newly created in +https://bugzilla.redhat.com/show_bug.cgi?id=2336875#c36 and +contributed to kbd in https://github.com/legionus/kbd/pull/127 +georgian16 is from console-setup. + +Signed-off-by: Adam Williamson +--- + langtable/data/languages.xml | 3 ++- + test_cases.py | 2 +- + 2 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/langtable/data/languages.xml b/langtable/data/languages.xml +index 2d2ed5f..a5c1076 100644 +--- a/langtable/data/languages.xml ++++ b/langtable/data/languages.xml +@@ -24556,7 +24556,8 @@ + + + +- latarcyrheb-sun161000 ++ LatCyrHebKa-16_GIA1000 ++ georgian16900 + + + Asia/Tbilisi1000 +diff --git a/test_cases.py b/test_cases.py +index fe69a5c..f1d1328 100644 +--- a/test_cases.py ++++ b/test_cases.py +@@ -2169,7 +2169,7 @@ def dummy(): + >>> print(list_all_input_methods()) # doctest: +NORMALIZE_WHITESPACE + ['ibus/anthy', 'ibus/chewing', 'ibus/hangul', 'ibus/kkc', 'ibus/libpinyin', 'ibus/libzhuyin', 'ibus/m17n:ar:kbd', 'ibus/m17n:as:inscript2', 'ibus/m17n:bn:inscript2', 'ibus/m17n:brx:inscript2-deva', 'ibus/m17n:doi:inscript2-deva', 'ibus/m17n:gu:inscript2', 'ibus/m17n:hi:inscript2', 'ibus/m17n:kn:inscript2', 'ibus/m17n:kok:inscript2-deva', 'ibus/m17n:ks:inscript2-deva', 'ibus/m17n:ks:kbd', 'ibus/m17n:mai:inscript2', 'ibus/m17n:ml:inscript2', 'ibus/m17n:mni:inscript2-beng', 'ibus/m17n:mr:inscript2', 'ibus/m17n:ne:inscript2-deva', 'ibus/m17n:or:inscript2', 'ibus/m17n:pa:inscript2-guru', 'ibus/m17n:sa:inscript2', 'ibus/m17n:sat:inscript2-deva', 'ibus/m17n:sd:inscript2-deva', 'ibus/m17n:ta:inscript2', 'ibus/m17n:te:inscript2', 'ibus/m17n:ur:phonetic', 'ibus/m17n:vi:telex', 'ibus/table:cangjie5'] + >>> print(list_all_console_fonts()) # doctest: +NORMALIZE_WHITESPACE +- ['LatGrkCyr-8x16', 'eurlatgr', 'iso07u-16', 'latarcyrheb-sun16'] ++ ['LatCyrHebKa-16_GIA', 'LatGrkCyr-8x16', 'eurlatgr', 'georgian16', 'iso07u-16', 'latarcyrheb-sun16'] + ''' + + +-- +2.47.1 + diff --git a/langtable.spec b/langtable.spec index 938eb4c..9bd4051 100644 --- a/langtable.spec +++ b/langtable.spec @@ -9,6 +9,10 @@ Summary: Guessing reasonable defaults for locale, keyboard layout, territ License: GPL-3.0-or-later URL: https://github.com/mike-fabian/langtable Source0: https://github.com/mike-fabian/langtable/releases/download/%{version}/%{name}-%{version}.tar.gz +# https://github.com/mike-fabian/langtable/pull/24 +# https://bugzilla.redhat.com/show_bug.cgi?id=2336875 +# Prefer Georgian-capable console fonts for Georgian +Patch: 0001-Georgian-add-georgian-console-fonts.patch BuildArch: noarch BuildRequires: perl-interpreter BuildRequires: python3-devel @@ -35,6 +39,9 @@ from langtable-data. %prep %setup -q +gunzip langtable/data/languages.xml.gz +%patch 0 -p1 +gzip langtable/data/languages.xml %build perl -pi -e "s,_DATADIR = '(.*)',_DATADIR = '%{_datadir}/langtable'," langtable/langtable.py From b7b17f58a8cb7e46266e9e8d819e5e1454087362 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 20:25:09 +0200 Subject: [PATCH 75/79] Rebuilt for Python 3.14 From 1e630924df9faba3e240d1bd31db4bd367583a68 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 17 Jul 2025 12:39:34 +0200 Subject: [PATCH 76/79] Update to 0.0.69 - Add Georgian console fonts - Add Adlm script to SN - Add dra, Tutg, ath, cmc, Cham, tai -Remove License classifier (license tag with SPDX license expression is already there) - Remove 0001-Georgian-add-georgian-console-fonts.patch (included upstream) - Stop using deprecated %py3_build/%py3_install macros Resolves: rhbz#2377304 --- .gitignore | 1 + ...-Georgian-add-georgian-console-fonts.patch | 46 ------------------- langtable.spec | 27 ++++------- sources | 2 +- 4 files changed, 12 insertions(+), 64 deletions(-) delete mode 100644 0001-Georgian-add-georgian-console-fonts.patch diff --git a/.gitignore b/.gitignore index fc67dd6..85b84d3 100644 --- a/.gitignore +++ b/.gitignore @@ -67,3 +67,4 @@ /langtable-0.0.66.tar.gz /langtable-0.0.67.tar.gz /langtable-0.0.68.tar.gz +/langtable-0.0.69.tar.gz diff --git a/0001-Georgian-add-georgian-console-fonts.patch b/0001-Georgian-add-georgian-console-fonts.patch deleted file mode 100644 index da093e5..0000000 --- a/0001-Georgian-add-georgian-console-fonts.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 4ae3ebae62eecb1574fac122828c64c550900e5b Mon Sep 17 00:00:00 2001 -From: Adam Williamson -Date: Fri, 10 Jan 2025 11:22:39 -0800 -Subject: [PATCH] Georgian: add georgian console fonts - -LatCyrHebKa-16_GIA is newly created in -https://bugzilla.redhat.com/show_bug.cgi?id=2336875#c36 and -contributed to kbd in https://github.com/legionus/kbd/pull/127 -georgian16 is from console-setup. - -Signed-off-by: Adam Williamson ---- - langtable/data/languages.xml | 3 ++- - test_cases.py | 2 +- - 2 files changed, 3 insertions(+), 2 deletions(-) - -diff --git a/langtable/data/languages.xml b/langtable/data/languages.xml -index 2d2ed5f..a5c1076 100644 ---- a/langtable/data/languages.xml -+++ b/langtable/data/languages.xml -@@ -24556,7 +24556,8 @@ - - - -- latarcyrheb-sun161000 -+ LatCyrHebKa-16_GIA1000 -+ georgian16900 - - - Asia/Tbilisi1000 -diff --git a/test_cases.py b/test_cases.py -index fe69a5c..f1d1328 100644 ---- a/test_cases.py -+++ b/test_cases.py -@@ -2169,7 +2169,7 @@ def dummy(): - >>> print(list_all_input_methods()) # doctest: +NORMALIZE_WHITESPACE - ['ibus/anthy', 'ibus/chewing', 'ibus/hangul', 'ibus/kkc', 'ibus/libpinyin', 'ibus/libzhuyin', 'ibus/m17n:ar:kbd', 'ibus/m17n:as:inscript2', 'ibus/m17n:bn:inscript2', 'ibus/m17n:brx:inscript2-deva', 'ibus/m17n:doi:inscript2-deva', 'ibus/m17n:gu:inscript2', 'ibus/m17n:hi:inscript2', 'ibus/m17n:kn:inscript2', 'ibus/m17n:kok:inscript2-deva', 'ibus/m17n:ks:inscript2-deva', 'ibus/m17n:ks:kbd', 'ibus/m17n:mai:inscript2', 'ibus/m17n:ml:inscript2', 'ibus/m17n:mni:inscript2-beng', 'ibus/m17n:mr:inscript2', 'ibus/m17n:ne:inscript2-deva', 'ibus/m17n:or:inscript2', 'ibus/m17n:pa:inscript2-guru', 'ibus/m17n:sa:inscript2', 'ibus/m17n:sat:inscript2-deva', 'ibus/m17n:sd:inscript2-deva', 'ibus/m17n:ta:inscript2', 'ibus/m17n:te:inscript2', 'ibus/m17n:ur:phonetic', 'ibus/m17n:vi:telex', 'ibus/table:cangjie5'] - >>> print(list_all_console_fonts()) # doctest: +NORMALIZE_WHITESPACE -- ['LatGrkCyr-8x16', 'eurlatgr', 'iso07u-16', 'latarcyrheb-sun16'] -+ ['LatCyrHebKa-16_GIA', 'LatGrkCyr-8x16', 'eurlatgr', 'georgian16', 'iso07u-16', 'latarcyrheb-sun16'] - ''' - - --- -2.47.1 - diff --git a/langtable.spec b/langtable.spec index 9bd4051..69e0b7c 100644 --- a/langtable.spec +++ b/langtable.spec @@ -1,5 +1,5 @@ Name: langtable -Version: 0.0.68 +Version: 0.0.69 Release: %autorelease Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language. # the translations in languages.xml and territories.xml are (mostly) @@ -9,14 +9,9 @@ Summary: Guessing reasonable defaults for locale, keyboard layout, territ License: GPL-3.0-or-later URL: https://github.com/mike-fabian/langtable Source0: https://github.com/mike-fabian/langtable/releases/download/%{version}/%{name}-%{version}.tar.gz -# https://github.com/mike-fabian/langtable/pull/24 -# https://bugzilla.redhat.com/show_bug.cgi?id=2336875 -# Prefer Georgian-capable console fonts for Georgian -Patch: 0001-Georgian-add-georgian-console-fonts.patch BuildArch: noarch BuildRequires: perl-interpreter BuildRequires: python3-devel -BuildRequires: python3-setuptools %description langtable is used to guess reasonable defaults for locale, keyboard layout, @@ -31,7 +26,6 @@ License: GPL-3.0-or-later Requires: %{name} = %{version}-%{release} Obsoletes: %{name}-data < %{version}-%{release} Provides: %{name}-data = %{version}-%{release} -%{?python_provide:%python_provide python3-%{name}} %description -n python3-langtable This package contains a Python module to query the data @@ -39,20 +33,23 @@ from langtable-data. %prep %setup -q -gunzip langtable/data/languages.xml.gz -%patch 0 -p1 -gzip langtable/data/languages.xml + +%generate_buildrequires +%pyproject_buildrequires %build perl -pi -e "s,_DATADIR = '(.*)',_DATADIR = '%{_datadir}/langtable'," langtable/langtable.py -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files langtable %check +%pyproject_check_import + (cd $RPM_BUILD_DIR/%{name}-%{version}/langtable; %{__python3} langtable.py) (cd $RPM_BUILD_DIR/%{name}-%{version}; %{__python3} test_cases.py) xmllint --noout --relaxng \ @@ -75,11 +72,7 @@ xmllint --noout --relaxng \ %license COPYING unicode-license.txt %doc README* ChangeLog test_cases.py langtable/schemas/*.rng -%files -n python3-langtable -%dir %{python3_sitelib}/langtable -%{python3_sitelib}/langtable/* -%dir %{python3_sitelib}/langtable-*.egg-info -%{python3_sitelib}/langtable-*.egg-info/* +%files -n python3-langtable -f %{pyproject_files} %changelog %autochangelog diff --git a/sources b/sources index 90d030a..37b6ebe 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (langtable-0.0.68.tar.gz) = fdb06a141b1ad3f62e8f6f6e7445c88059dd03d5c053e2dcbffaec79d38f688ffb39ef9270c720084ec13135fffca601afff6a14b4ff2ceb004b9bb39b892e2b +SHA512 (langtable-0.0.69.tar.gz) = c52669c52e2fbc2c857b358fc43a65e4a7e6f5f9adfed9f6340471992226574da94d2f1198105f946123451ece7ad55bc217bcc69fa16d3b528d838cd7990e69 From 1ce7123c2d1a263067d267f2b68dba1b70867add Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 19:08:46 +0000 Subject: [PATCH 77/79] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 0cdc0be46c943e8c68ffa56fcc71990cf941e95e Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 12:54:45 +0200 Subject: [PATCH 78/79] Rebuilt for Python 3.14.0rc2 bytecode From f68d77ec7ebf2068178a6b97e5e7963c48508409 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 12:25:09 +0200 Subject: [PATCH 79/79] Rebuilt for Python 3.14.0rc3 bytecode