14
0

Accepting request 1198928 from home:glaubitz:branches:devel:languages:python

- Initial build
  * Version 2024.4.27

OBS-URL: https://build.opensuse.org/request/show/1198928
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-iso639?expand=0&rev=1
This commit is contained in:
2024-09-06 23:09:03 +00:00
committed by Git OBS Bridge
commit 7b43210f0e
5 changed files with 95 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.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
*.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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Thu Sep 5 09:41:00 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Initial build
* Version 2024.4.27

63
python-python-iso639.spec Normal file
View File

@@ -0,0 +1,63 @@
#
# spec file for package python-python-iso639
#
# Copyright (c) 2024 SUSE LLC
#
# 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/
#
Name: python-python-iso639
Version: 2024.4.27
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-rpm-macros
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
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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ec7116f2df5e8b87cc5f1585d54ea4a77906df1da4d8419b52c6f25b24ba779
size 282795