diff --git a/gTTS-2.0.4.tar.gz b/gTTS-2.0.4.tar.gz deleted file mode 100644 index 05544e1..0000000 --- a/gTTS-2.0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:79300af5a61936fd525a0805d5fa85ae77db7301932af251e52fcefddb14de60 -size 24225 diff --git a/gTTS-2.1.1.tar.gz b/gTTS-2.1.1.tar.gz new file mode 100644 index 0000000..d717b24 --- /dev/null +++ b/gTTS-2.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ca2e880b560767d4ec74281d996ffdeda9012abc99968595b615e309a90cffe +size 27218 diff --git a/python-gTTS.changes b/python-gTTS.changes index e5abf4b..e7d94ed 100644 --- a/python-gTTS.changes +++ b/python-gTTS.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Apr 6 09:24:58 UTC 2020 - Marketa Calabkova + +- update to 2.1.1 + * Debug mode now uses a copy of locals() to prevent RuntimeError (`#213 `_) + * Added the ability to customize the Google Translate URL hostname. + This is useful when ``google.com`` might be blocked within a network but + a local or different Google host (e.g. ``google.cn``) is not + * Pre-generated TTS API request URLs can now be obtained instead of + writing an ``mp3`` file to disk (for example to be used in an + external program) + * New ``--tld`` option to match the new ``gtts`` customizable hostname + * Added Python 3.8 support + ------------------------------------------------------------------- Thu Sep 12 11:46:16 UTC 2019 - Tomáš Chvátal diff --git a/python-gTTS.spec b/python-gTTS.spec index 2bdff41..ad48f1f 100644 --- a/python-gTTS.spec +++ b/python-gTTS.spec @@ -1,7 +1,7 @@ # # spec file for package python-gTTS # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-gTTS -Version: 2.0.4 +Version: 2.1.1 Release: 0 Summary: Python module to create MP3 files from spoken text via the Google TTS API License: MIT @@ -29,6 +29,7 @@ Patch0: remove-pip-requirement.patch BuildRequires: %{python_module beautifulsoup4} BuildRequires: %{python_module click} BuildRequires: %{python_module gTTS-token >= 1.1.3} +BuildRequires: %{python_module logging} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest >= 3.9} BuildRequires: %{python_module requests} @@ -40,6 +41,7 @@ BuildRequires: python-rpm-macros Requires: python-beautifulsoup4 Requires: python-click Requires: python-gTTS-token >= 1.1.3 +Requires: python-logging Requires: python-requests Requires: python-setuptools Requires: python-six diff --git a/remove-pip-requirement.patch b/remove-pip-requirement.patch index 18bd54c..af95056 100644 --- a/remove-pip-requirement.patch +++ b/remove-pip-requirement.patch @@ -1,12 +1,11 @@ -Index: gTTS-2.0.4/setup.cfg +Index: gTTS-2.1.1/setup.cfg =================================================================== ---- gTTS-2.0.4.orig/setup.cfg -+++ gTTS-2.0.4/setup.cfg -@@ -33,8 +33,6 @@ long_description_content_type = text/mar +--- gTTS-2.1.1.orig/setup.cfg ++++ gTTS-2.1.1/setup.cfg +@@ -34,7 +34,6 @@ long_description_content_type = text/mar python_requires = >= 2.7 setup_requires = setuptools >= 38.6 -- pip >= 10 - twine >= 1.11 include_package_data = True packages = find: