1
0

Compare commits

8 Commits

Author SHA256 Message Date
9bf203ea17 Accepting request 1308645 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1308645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-translation-finder?expand=0&rev=18
2025-10-02 17:22:33 +00:00
ac1047f970 - update to 2.23
* Added support for Markdown files.
  * Ignore some metadata dirs.
  * Added --hint to the command line interface.
  * Fixed false matches for appstore metadata with hint.
  * Automatically detect FormatJS files.
  * Improved detection of Android strings.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-translation-finder?expand=0&rev=38
2025-10-02 13:37:50 +00:00
28e9afc1d2 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
d3b98fde83 - 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
9024525d57 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
90b5176901 - 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
3c019a660c 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
1bc877dd83 - 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/package/show/devel:languages:python/python-translation-finder?expand=0&rev=32
2024-11-14 14:05:59 +00:00
4 changed files with 48 additions and 12 deletions

View File

@@ -1,3 +1,37 @@
-------------------------------------------------------------------
Thu Oct 2 06:40:43 UTC 2025 - Markéta Machová <mmachova@suse.com>
- update to 2.23
* Added support for Markdown files.
* Ignore some metadata dirs.
* Added --hint to the command line interface.
* Fixed false matches for appstore metadata with hint.
* Automatically detect FormatJS files.
* Improved detection of Android strings.
-------------------------------------------------------------------
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 and contributors
# 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.23
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:c7063750bd10912d1eeed3ba422ec4576d1c56647e9dc690869945323226831d
size 96034