14
0
2025-08-14 11:15:31 +00:00
committed by Git OBS Bridge
commit d7fb8fefb0
5 changed files with 133 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
gTTS-token-1.1.4.tar.gz Normal file
View File

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

41
python-gTTS-token.changes Normal file
View File

@@ -0,0 +1,41 @@
-------------------------------------------------------------------
Mon Dec 11 15:05:07 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Wed Sep 28 19:49:55 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 1.1.4 - 2020-11-09
* Switch to latest python
* Fix regex deprecation
* Allow custom country code (Thanks @onsunl)
* Add retry mechanism (Thanks @w2sv)
-------------------------------------------------------------------
Sat Dec 1 14:20:32 UTC 2018 - Adrian Schröter <adrian@suse.de>
-- update to version 1.1.3
* updating tkk extraction due to new Google Translate UI
-------------------------------------------------------------------
Sun Nov 4 23:50:46 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Use noun phrase for summary.
-------------------------------------------------------------------
Thu Nov 1 18:42:08 UTC 2018 - alarrosa@suse.com
- Update to gTTS-token 1.1.2
* Include License in PyPi tarball
* Fix issues with the RegEx failing
-------------------------------------------------------------------
Sun Mar 4 20:06:16 UTC 2018 - alarrosa@suse.com
- Fix LICENSE url
-------------------------------------------------------------------
Mon Sep 4 16:54:51 UTC 2017 - alarrosa@suse.com
- Initial release of python-gTTS-token 1.1.1

65
python-gTTS-token.spec Normal file
View File

@@ -0,0 +1,65 @@
#
# spec file for package python-gTTS-token
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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/
#
%{?sle15_python_module_pythons}
Name: python-gTTS-token
Version: 1.1.4
Release: 0
Summary: Python module for calculating a token to run the Google text-to-speech engine
License: MIT
Group: Development/Languages/Python
URL: https://github.com/boudewijn26/gTTS-token
Source: https://files.pythonhosted.org/packages/source/g/gTTS-token/gTTS-token-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-requests
BuildArch: noarch
%python_subpackages
%description
gTTS-token (Google Text to Speech token) is a Python implementation
of the token validation required by Google Translate when making
a request to its API.
%prep
%autosetup -p1 -n gTTS-token-%{version}
dos2unix README.md
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%files %{python_files}
%defattr(-,root,root,-)
%doc README.md
%license LICENSE
%{python_sitelib}/gtts_token-%{version}.dist-info
%{python_sitelib}/gtts_token
%changelog