From 9c27013ed02e8855b02c4b900cbed06aaec756de Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 4 Sep 2019 16:06:47 +0200 Subject: [PATCH] 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