From 0478cee45e4295d5224f6e368566cfc3fa9bc8e30e52b8f795755c006f6c9909 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 21 Mar 2022 14:26:10 +0000 Subject: [PATCH] Accepting request 963703 from home:pgajdos:python - version update to 2.2.4 2.2.4 (2022-03-14) ------------------ Features ~~~~~~~ - Added Malay language support (`#316 `_) - Added Hebrew language support (`#324 `_) - Added new ``gTTS.stream()`` method to stream bytes (`#319 `_) Misc ~~~ - `#334 `_ 2.2.3 (2021-06-17) ------------------ Features ~~~~~~~ - Added Bulgarian language support (`#302 `_) 2.2.2 (2021-02-03) ------------------ Features ~~~~~~~ - Adds a language fallback feature for deprecated languages to maintain compatiblity (e.g. ``en-us`` becomes ``en``). Fallback can be disabled with ``lang_check=False`` or ``--nocheck`` for the cli (`#267 `_) Bugfixes ~~~~~~~ - Fix Python 2.7 compatiblity (!). Python 2 is long gone, but the cut wasn't clearly communicated for gTTS, so it was restored. Python 2 support will be completely removed in the next major release. (`#255 `_) - Language code case sensitivity is maintained throughout (`#267 `_) Deprecations and Removals OBS-URL: https://build.opensuse.org/request/show/963703 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=18 --- gTTS-2.2.2.tar.gz | 3 --- gTTS-2.2.4.tar.gz | 3 +++ python-gTTS.changes | 42 ++++++++++++++++++++++++++++++++++++++++++ python-gTTS.spec | 10 +++++----- 4 files changed, 50 insertions(+), 8 deletions(-) delete mode 100644 gTTS-2.2.2.tar.gz create mode 100644 gTTS-2.2.4.tar.gz diff --git a/gTTS-2.2.2.tar.gz b/gTTS-2.2.2.tar.gz deleted file mode 100644 index ad8c63a..0000000 --- a/gTTS-2.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f -size 28191 diff --git a/gTTS-2.2.4.tar.gz b/gTTS-2.2.4.tar.gz new file mode 100644 index 0000000..d5f541d --- /dev/null +++ b/gTTS-2.2.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0b688ff777928afe280c3cf4d36bc7b794e93e86851b680d54ba2fb68e88456 +size 37695 diff --git a/python-gTTS.changes b/python-gTTS.changes index 31614f2..b2bc0dd 100644 --- a/python-gTTS.changes +++ b/python-gTTS.changes @@ -1,3 +1,45 @@ +------------------------------------------------------------------- +Mon Mar 21 13:27:59 UTC 2022 - pgajdos@suse.com + +- version update to 2.2.4 + 2.2.4 (2022-03-14) + ------------------ + Features + ~~~~~~~ + - Added Malay language support (`#316 `_) + - Added Hebrew language support (`#324 `_) + - Added new ``gTTS.stream()`` method to stream bytes (`#319 `_) + Misc + ~~~ + - `#334 `_ + 2.2.3 (2021-06-17) + ------------------ + Features + ~~~~~~~ + - Added Bulgarian language support (`#302 `_) + 2.2.2 (2021-02-03) + ------------------ + Features + ~~~~~~~ + - Adds a language fallback feature for deprecated languages to maintain compatiblity + (e.g. ``en-us`` becomes ``en``). Fallback can be disabled with ``lang_check=False`` + or ``--nocheck`` for the cli (`#267 `_) + Bugfixes + ~~~~~~~ + - Fix Python 2.7 compatiblity (!). Python 2 is long gone, but the cut wasn't clearly communicated + for gTTS, so it was restored. Python 2 support will be completely removed in the next major release. + (`#255 `_) + - Language code case sensitivity is maintained throughout (`#267 `_) + Deprecations and Removals + ~~~~~~~~~~~~~~~~~~~~~~~~ + - The following list of 'hyphenated' language codes no longer work and have been removed: ``en-us``, ``en-ca``, + ``en-uk``, ``en-gb``, ``en-au``, ``en-gh``, ``en-in``, ``en-ie``, ``en-nz``, ``en-ng``, ``en-ph``, ``en-za``, + ``en-tz``, ``fr-ca``, ``fr-fr``, ``pt-br``, ``pt-pt``, ``es-es``, ``es-us``, ``zh-cn``, ``zh-tw`` + (`#267 `_) + - Removed the ``gtts.get_url()`` method (outdated since ``2.1.0``) + (`#270 `_) +- do not require python-mock for build, testsuite is not run + ------------------------------------------------------------------- Tue Feb 9 07:00:03 UTC 2021 - Adrian Schröter diff --git a/python-gTTS.spec b/python-gTTS.spec index 2469866..cc92c0a 100644 --- a/python-gTTS.spec +++ b/python-gTTS.spec @@ -1,7 +1,7 @@ # # spec file for package python-gTTS # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,17 +18,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-gTTS -Version: 2.2.2 +Version: 2.2.4 Release: 0 Summary: Python module to create MP3 files from spoken text via the Google TTS API License: MIT Group: Development/Languages/Python URL: https://github.com/pndurette/gTTS -Source: https://files.pythonhosted.org/packages/source/g/gTTS/gTTS-%{version}.tar.gz +Source: https://github.com/pndurette/gTTS/archive/refs/tags/v%{version}.tar.gz#/gTTS-%{version}.tar.gz BuildRequires: %{python_module beautifulsoup4} BuildRequires: %{python_module click} BuildRequires: %{python_module gTTS-token >= 1.1.3} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest >= 3.9} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools >= 38.6} @@ -43,7 +42,7 @@ Requires: python-requests Requires: python-setuptools Requires: python-six Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %python_subpackages @@ -66,6 +65,7 @@ sentences where the speech would naturally pause. %check # tests are sadly mostly online +# https://github.com/pndurette/gTTS/issues/343 #%%pytest %post