Compare commits

...
Sign in to create a new pull request.

12 commits

Author SHA1 Message Date
Python Maint
f68d77ec7e Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:25:09 +02:00
Python Maint
0cdc0be46c Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 12:54:45 +02:00
Fedora Release Engineering
1ce7123c2d Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 19:08:46 +00:00
Mike FABIAN
1e630924df 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
2025-07-17 14:49:28 +02:00
Python Maint
b7b17f58a8 Rebuilt for Python 3.14 2025-06-02 20:25:09 +02:00
Adam Williamson
5c386220f1 Backport PR #24 for Georgian console font support
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2025-01-27 13:45:01 -08:00
Fedora Release Engineering
f32e3b391e Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 10:10:57 +00:00
Fedora Release Engineering
4dff3eff67 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 12:58:20 +00:00
Mike FABIAN
79db90a878 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
2024-07-17 15:55:59 +02:00
Python Maint
47443a7f56 Rebuilt for Python 3.13 2024-06-11 19:01:41 +02:00
Mike FABIAN
d81bc68bb0 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
2024-06-11 11:40:44 +02:00
Python Maint
51088e1551 Rebuilt for Python 3.13 2024-06-07 08:50:42 +02:00
3 changed files with 14 additions and 11 deletions

3
.gitignore vendored
View file

@ -65,3 +65,6 @@
/langtable-0.0.64.tar.gz
/langtable-0.0.65.tar.gz
/langtable-0.0.66.tar.gz
/langtable-0.0.67.tar.gz
/langtable-0.0.68.tar.gz
/langtable-0.0.69.tar.gz

View file

@ -1,5 +1,5 @@
Name: langtable
Version: 0.0.66
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)
@ -12,7 +12,6 @@ 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,
@ -27,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
@ -36,16 +34,22 @@ from langtable-data.
%prep
%setup -q
%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 \
@ -68,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

View file

@ -1 +1 @@
SHA512 (langtable-0.0.66.tar.gz) = 30ba9ed5b2ea8c981c5c5c3112ba4f52fd91a5754de893f130ec11649fcb7eda5ff16b627c85da84aeb3ac6d6ebfecd9dd8d8f52ad58df42a5c2e86541816491
SHA512 (langtable-0.0.69.tar.gz) = c52669c52e2fbc2c857b358fc43a65e4a7e6f5f9adfed9f6340471992226574da94d2f1198105f946123451ece7ad55bc217bcc69fa16d3b528d838cd7990e69