forked from pool/python-translation-finder
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 9bf203ea17 | |||
| ac1047f970 | |||
| 28e9afc1d2 | |||
| d3b98fde83 | |||
| 9024525d57 | |||
| 90b5176901 | |||
| 3c019a660c | |||
| 1bc877dd83 |
@@ -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>
|
Fri Dec 29 10:10:49 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-translation-finder
|
# 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>
|
# Copyright (c) 2019-2021 Matthias Fehring <buschmann23@opensuse.org>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -17,26 +17,27 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define modname translation-finder
|
%define modname translation-finder
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-translation-finder
|
Name: python-translation-finder
|
||||||
Version: 2.16
|
Version: 2.23
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Translation Files Finder
|
Summary: Translation Files Finder
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
URL: https://github.com/WeblateOrg/translation-finder
|
URL: https://github.com/WeblateOrg/translation-finder
|
||||||
# test_data/linked has to be symlink, hance using github tar ball
|
# 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
|
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 pytest}
|
||||||
BuildRequires: %{python_module ruamel.yaml}
|
BuildRequires: %{python_module ruamel.yaml}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module twine}
|
BuildRequires: %{python_module twine}
|
||||||
BuildRequires: %{python_module weblate-language-data >= 2021.2}
|
BuildRequires: %{python_module weblate-language-data >= 2021.2}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-charset-normalizer
|
||||||
Requires: python-ruamel.yaml
|
Requires: python-ruamel.yaml
|
||||||
Requires: python-setuptools
|
|
||||||
Requires: python-weblate-language-data >= 2021.2
|
Requires: python-weblate-language-data >= 2021.2
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
@@ -51,10 +52,10 @@ A translation file finder for Weblate, translation tool with tight version contr
|
|||||||
sed -i -e '/pytest-runner/d' setup.py
|
sed -i -e '/pytest-runner/d' setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/weblate-discover
|
%python_clone -a %{buildroot}%{_bindir}/weblate-discover
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
# remove test data
|
# remove test data
|
||||||
@@ -73,6 +74,7 @@ sed -i -e '/pytest-runner/d' setup.py
|
|||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%python_alternative %{_bindir}/weblate-discover
|
%python_alternative %{_bindir}/weblate-discover
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/translation_finder
|
||||||
|
%{python_sitelib}/translation_finder-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:97c04dab95a66e4cce83fa52f1226d79537b93051c77ed6bf57d394889062075
|
|
||||||
size 91997
|
|
||||||
3
translation-finder-2.23.tar.gz
Normal file
3
translation-finder-2.23.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c7063750bd10912d1eeed3ba422ec4576d1c56647e9dc690869945323226831d
|
||||||
|
size 96034
|
||||||
Reference in New Issue
Block a user