From 7b43210f0edd17ad05ee39d4b6a5696b8b9e56f55536559acc8311b9b2d60b18 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 6 Sep 2024 23:09:03 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + python-python-iso639.changes | 5 +++ python-python-iso639.spec | 63 ++++++++++++++++++++++++++++++++++ python_iso639-2024.4.27.tar.gz | 3 ++ 5 files changed, 95 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-python-iso639.changes create mode 100644 python-python-iso639.spec create mode 100644 python_iso639-2024.4.27.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-python-iso639.changes b/python-python-iso639.changes new file mode 100644 index 0000000..e27d3ed --- /dev/null +++ b/python-python-iso639.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Sep 5 09:41:00 UTC 2024 - John Paul Adrian Glaubitz + +- Initial build + * Version 2024.4.27 diff --git a/python-python-iso639.spec b/python-python-iso639.spec new file mode 100644 index 0000000..d62f77d --- /dev/null +++ b/python-python-iso639.spec @@ -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 diff --git a/python_iso639-2024.4.27.tar.gz b/python_iso639-2024.4.27.tar.gz new file mode 100644 index 0000000..e306886 --- /dev/null +++ b/python_iso639-2024.4.27.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ec7116f2df5e8b87cc5f1585d54ea4a77906df1da4d8419b52c6f25b24ba779 +size 282795