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.
This commit is contained in:
Mike FABIAN 2019-06-18 12:09:39 +02:00
parent ec4ea81f26
commit 9b7e98210e
3 changed files with 15 additions and 5 deletions

1
.gitignore vendored
View File

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

View File

@ -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 <mfabian@redhat.com> - 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 <mfabian@redhat.com> - 0.0.44-2
- Obsolete langtable-data

View File

@ -1 +1 @@
SHA512 (langtable-0.0.44.tar.gz) = bc5da991a786e2014693bc74716f6b6b7593efeddcfe6c3b86b55b3f2a9194ff45ada3ed20e9d88c3dc352f0aa57703aa0f8656fb68616daa7be6ec6b24ca2dd
SHA512 (langtable-0.0.45.tar.gz) = 0efc08adf3001ebe31f95682a03da791241769794ffd1a0954bfb712adb220d3078952fb259df62d4ab085456d062540e500e2509660e6e84383dd591be57dc9