15
0
forked from pool/python-gTTS

Accepting request 870415 from system:homeautomation:home-assistant

- update to 2.2.2
  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)

OBS-URL: https://build.opensuse.org/request/show/870415
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS?expand=0&rev=14
This commit is contained in:
2021-02-09 15:14:36 +00:00
committed by Git OBS Bridge
parent bdec915465
commit dd2c1ee622
5 changed files with 27 additions and 20 deletions

View File

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

3
gTTS-2.2.2.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Feb 9 07:00:03 UTC 2021 - Adrian Schröter <adrian@suse.de>
- update to 2.2.2
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)
-------------------------------------------------------------------
Tue May 26 06:34:32 UTC 2020 - Petr Gajdos <pgajdos@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-gTTS
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-gTTS
Version: 2.1.1
Version: 2.2.2
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
Patch0: remove-pip-requirement.patch
BuildRequires: %{python_module beautifulsoup4}
BuildRequires: %{python_module click}
BuildRequires: %{python_module gTTS-token >= 1.1.3}
@@ -44,7 +43,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
@@ -56,7 +55,6 @@ sentences where the speech would naturally pause.
%prep
%setup -q -n gTTS-%{version}
%patch0 -p1
%build
%python_build

View File

@@ -1,12 +0,0 @@
Index: gTTS-2.1.1/setup.cfg
===================================================================
--- 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
- twine >= 1.11
include_package_data = True
packages = find:
install_requires =