From 20c0ee505624d0acdec4e2a8b863474206dbdad7f7839edb01431aa37b60b7df Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 20 Feb 2021 18:18:27 +0000 Subject: [PATCH] Accepting request 871230 from home:buschmann23:branches:devel:languages:python required by Weblate, update to version 2020.11, forgot to add updated source tarball in previous request OBS-URL: https://build.opensuse.org/request/show/871230 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weblate-language-data?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + python-weblate-language-data.changes | 11 ++++++ python-weblate-language-data.spec | 56 ++++++++++++++++++++++++++++ weblate-language-data-2020.11.tar.gz | 3 ++ 5 files changed, 94 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-weblate-language-data.changes create mode 100644 python-weblate-language-data.spec create mode 100644 weblate-language-data-2020.11.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-weblate-language-data.changes b/python-weblate-language-data.changes new file mode 100644 index 0000000..06d2309 --- /dev/null +++ b/python-weblate-language-data.changes @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Thu Feb 11 14:22:49 UTC 2021 - Matthias Fehring + +- update to version 2020.11 + * no changelog available + +------------------------------------------------------------------- +Thu Feb 11 13:39:56 UTC 2021 - Matthias Fehring + +- initial package version 2020.10 + diff --git a/python-weblate-language-data.spec b/python-weblate-language-data.spec new file mode 100644 index 0000000..82ef799 --- /dev/null +++ b/python-weblate-language-data.spec @@ -0,0 +1,56 @@ +# +# spec file for package python-weblate-language-data +# +# Copyright (c) 2020 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define modname weblate-language-data +%define skip_python2 1 +Name: python-weblate-language-data +Version: 2020.11 +Release: 0 +Summary: Language Data for Weblate +License: MIT +URL: https://github.com/WeblateOrg/language-data +Source0: https://files.pythonhosted.org/packages/source/w/%{modname}/%{modname}-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module translate-toolkit} +BuildRequires: python-rpm-macros +BuildRequires: fdupes +BuildArch: noarch +%python_subpackages + +%description +Contains several modules containing language definitions and Gettext +translations for them (in a way that they would be discovered by Django +when used as an Django application). + +%prep +%setup -q -n %{modname}-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib}/weblate_language_data + +%files %{python_files} +%license LICENSE +%doc README.rst +%{python_sitelib}/* + +%changelog diff --git a/weblate-language-data-2020.11.tar.gz b/weblate-language-data-2020.11.tar.gz new file mode 100644 index 0000000..b311e25 --- /dev/null +++ b/weblate-language-data-2020.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26f1c41641d51c90e58d1dd642947a34442ccbfb7730776ed71dd3e61655b02b +size 1165638