update to 0.0.46

- 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
This commit is contained in:
Mike FABIAN 2019-09-04 16:06:47 +02:00
parent 2dd30cbfe2
commit 9c27013ed0
4 changed files with 26 additions and 37 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -1,34 +0,0 @@
From 485cf06b8518d651ab5dbf69fb849a909a3a76b8 Mon Sep 17 00:00:00 2001
From: Mike FABIAN <mfabian@redhat.com>
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

View File

@ -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 <mfabian@redhat.com> - 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 <mhroncok@redhat.com> - 0.0.45-4
- Rebuilt for Python 3.8

View File

@ -1 +1 @@
SHA512 (langtable-0.0.45.tar.gz) = 0efc08adf3001ebe31f95682a03da791241769794ffd1a0954bfb712adb220d3078952fb259df62d4ab085456d062540e500e2509660e6e84383dd591be57dc9
SHA512 (langtable-0.0.46.tar.gz) = b64c5894edfe6e220339dcd4116feb419835f8d445df3a4a8a864dd22e6b9a777263a096d5e2afbe25c4d88f223217ad449bdd899ce1e7b19253460e89d55f6e