17
0

Compare commits

6 Commits

Author SHA256 Message Date
2d547e0b51 Accepting request 1276691 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1276691
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-translation-finder?expand=0&rev=17
2025-05-12 14:50:45 +00:00
c73079e2e4 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-translation-finder?expand=0&rev=36
2025-05-12 05:58:25 +00:00
4c97b5f5c0 Accepting request 1225384 from devel:languages:python
- update to 2.19:
  * Fixed crasn on corrupt YAML files.

OBS-URL: https://build.opensuse.org/request/show/1225384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-translation-finder?expand=0&rev=16
2024-11-21 14:14:28 +00:00
fb78c89421 - update to 2.19:
* Fixed crasn on corrupt YAML files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-translation-finder?expand=0&rev=34
2024-11-20 17:49:16 +00:00
1d1a740d79 Accepting request 1224218 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1224218
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-translation-finder?expand=0&rev=15
2024-11-15 14:41:55 +00:00
453e603923 Accepting request 1224195 from home:mcalabkova:branches:devel:languages:python
- update to 2.18
  * Added support for Format.JS files.
  * Offer bilingual configuration for CSV.
  * Fixed crash on corrupted Transifex configuration.
  * Improved app store metadata detection.
  * Improved template detection for text files.
  * Improved detection of iOS translation files.
  * Added type annotations.

OBS-URL: https://build.opensuse.org/request/show/1224195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-translation-finder?expand=0&rev=32
2024-11-14 14:05:59 +00:00
4 changed files with 37 additions and 12 deletions

View File

@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon May 12 05:57:57 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Wed Nov 20 17:49:09 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.19:
* Fixed crasn on corrupt YAML files.
-------------------------------------------------------------------
Thu Nov 14 12:50:55 UTC 2024 - Markéta Machová <mmachova@suse.com>
- update to 2.18
* Added support for Format.JS files.
* Offer bilingual configuration for CSV.
* Fixed crash on corrupted Transifex configuration.
* Improved app store metadata detection.
* Improved template detection for text files.
* Improved detection of iOS translation files.
* Added type annotations.
-------------------------------------------------------------------
Fri Dec 29 10:10:49 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-translation-finder
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2019-2021 Matthias Fehring <buschmann23@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@@ -17,29 +17,30 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname translation-finder
%define skip_python2 1
Name: python-translation-finder
Version: 2.16
Version: 2.19
Release: 0
Summary: Translation Files Finder
License: GPL-3.0-or-later
URL: https://github.com/WeblateOrg/translation-finder
# test_data/linked has to be symlink, hance using github tar ball
Source: https://github.com/WeblateOrg/translation-finder/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module charset-normalizer}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module ruamel.yaml}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module twine}
BuildRequires: %{python_module weblate-language-data >= 2021.2}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-charset-normalizer
Requires: python-ruamel.yaml
Requires: python-setuptools
Requires: python-weblate-language-data >= 2021.2
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -51,10 +52,10 @@ A translation file finder for Weblate, translation tool with tight version contr
sed -i -e '/pytest-runner/d' setup.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/weblate-discover
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# remove test data
@@ -73,6 +74,7 @@ sed -i -e '/pytest-runner/d' setup.py
%doc CHANGES.rst README.rst
%license LICENSE
%python_alternative %{_bindir}/weblate-discover
%{python_sitelib}/*
%{python_sitelib}/translation_finder
%{python_sitelib}/translation_finder-%{version}.dist-info
%changelog

View File

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

View File

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