- update to 2026.1.31:
* Updated the ISO 639 data from SIL to the latest 2026-01-15
release.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-iso639?expand=0&rev=9
This commit is contained in:
24
.gitattributes
vendored
Normal file
24
.gitattributes
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
*.changes merge=merge-changes
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
*.obscpio
|
||||
*.osc
|
||||
_build.*
|
||||
.pbuild
|
||||
46
python-python-iso639.changes
Normal file
46
python-python-iso639.changes
Normal file
@@ -0,0 +1,46 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 3 19:07:40 UTC 2026 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2026.1.31:
|
||||
* Updated the ISO 639 data from SIL to the latest 2026-01-15
|
||||
release.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 28 21:03:19 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2025.11.16:
|
||||
* Added support for Python 3.14.
|
||||
* Updated the ISO 639 data from SIL to the latest 2025-10-15
|
||||
release.
|
||||
* Case-insensitive matching for `Language.match` is now opt-in.
|
||||
* The keyword argument has been renamed `strict_case` (from
|
||||
`exact` before), defaulting to `True`.
|
||||
* In `Language.match`, removed the keyword argument `exact`
|
||||
* (replaced by `strict_case`, defaulting to `True`).
|
||||
* Dropped support for Python 3.9.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 28 14:06:43 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2025.2.18:
|
||||
* `Language.match` now supports case-insensitive matching
|
||||
and ignores leading/trailing whitespace by default.
|
||||
* Explicitly indicated that the library is type-annotated.
|
||||
* Sped up the retrieval of `Language` objects during runtime.
|
||||
* Updated the ISO 639 data from SIL to the latest 2025-01-15
|
||||
release.
|
||||
* Fixed `Language.from_part3` so that it now also works for a
|
||||
retired ISO 639-3 code.
|
||||
* Added support for Python 3.13.
|
||||
* Dropped support for Python 3.8.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 26 21:53:50 UTC 2024 - Guang Yee <gyee@suse.com>
|
||||
|
||||
- Enable sle15_python_module_pythons.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 5 09:41:00 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Initial build
|
||||
* Version 2024.4.27
|
||||
64
python-python-iso639.spec
Normal file
64
python-python-iso639.spec
Normal file
@@ -0,0 +1,64 @@
|
||||
#
|
||||
# spec file for package python-python-iso639
|
||||
#
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-python-iso639
|
||||
Version: 2026.1.31
|
||||
Release: 0
|
||||
Summary: ISO 639 language codes, names, and other associated information
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/jacksonllee/iso639
|
||||
Source: %{url}/archive/v%{version}.tar.gz#/python_iso639-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools >= 65.3.0}
|
||||
BuildRequires: %{python_module sqlite3}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
python-iso639 is a Python package for ISO 639 language codes, names, and other
|
||||
associated information.
|
||||
|
||||
Current features:
|
||||
|
||||
* A representation of languages mapped across ISO 639-1, 639-2, and 639-3.
|
||||
* Functionality to "guess" what a language is for a given unknown language
|
||||
code or name.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n iso639-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/iso639
|
||||
%{python_sitelib}/python_iso639-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
3
python_iso639-2025.11.16.tar.gz
Normal file
3
python_iso639-2025.11.16.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7e47d13955143d87e0ce976632dbbb8466dfc7c218bfab1d670705bd20f23fbf
|
||||
size 173556
|
||||
3
python_iso639-2026.1.31.tar.gz
Normal file
3
python_iso639-2026.1.31.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b8bff8df30d221200c95b0a2087214abcac2e45be4aac4359fce6f9b8df7f400
|
||||
size 173959
|
||||
Reference in New Issue
Block a user