From a873f2e5e03384ac46118d1b058c0231a6f1847e3e428857a3bd1e0c6b6f3fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 4 Nov 2018 09:34:24 +0000 Subject: [PATCH] Accepting request 646097 from home:alarrosa:branches:multimedia:voice-assistant - Update to gTTS-token 1.1.2 * Include License in PyPi tarball * Fix issues with the RegEx failing - Fix LICENSE url - Initial release of python-gTTS-token 1.1.1 OBS-URL: https://build.opensuse.org/request/show/646097 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gTTS-token?expand=0&rev=4 --- LICENSE | 21 --------------------- gTTS-token-1.1.1.zip | 3 --- gTTS-token-1.1.2.tar.gz | 3 +++ python-gTTS-token.changes | 11 +++++++++-- python-gTTS-token.spec | 22 ++++++++++------------ 5 files changed, 22 insertions(+), 38 deletions(-) delete mode 100644 LICENSE delete mode 100644 gTTS-token-1.1.1.zip create mode 100644 gTTS-token-1.1.2.tar.gz diff --git a/LICENSE b/LICENSE deleted file mode 100644 index ba76963..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016 Boudewijn van Groos - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/gTTS-token-1.1.1.zip b/gTTS-token-1.1.1.zip deleted file mode 100644 index b3c0277..0000000 --- a/gTTS-token-1.1.1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:74badf3ba37773d8ba4a462a09b64de76a0ebd4015d667a6fdb041c2219283ef -size 5400 diff --git a/gTTS-token-1.1.2.tar.gz b/gTTS-token-1.1.2.tar.gz new file mode 100644 index 0000000..fa17473 --- /dev/null +++ b/gTTS-token-1.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a45d62dc3a4c5ea71ee1fc3349661394cf84cc801197748f408402b2041d6f32 +size 3403 diff --git a/python-gTTS-token.changes b/python-gTTS-token.changes index f754872..3059663 100644 --- a/python-gTTS-token.changes +++ b/python-gTTS-token.changes @@ -1,9 +1,16 @@ +------------------------------------------------------------------- +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 +- Fix LICENSE url ------------------------------------------------------------------- Mon Sep 4 16:54:51 UTC 2017 - alarrosa@suse.com -- Initial release of python-gTTS-token 1.1.1 +- Initial release of python-gTTS-token 1.1.1 diff --git a/python-gTTS-token.spec b/python-gTTS-token.spec index 3d7232f..7eac4dd 100644 --- a/python-gTTS-token.spec +++ b/python-gTTS-token.spec @@ -1,7 +1,7 @@ # # spec file for package python-gTTS-token # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,24 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-gTTS-token -Version: 1.1.1 +Version: 1.1.2 Release: 0 -License: MIT Summary: Calculates a token to run the Google Translate text to speech -Url: https://github.com/boudewijn26/gTTS-token +License: MIT Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/g/gTTS-token/gTTS-token-%{version}.zip -source99: https://raw.githubusercontent.com/Boudewijn26/gTTS-token/master/LICENSE -BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} +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 setuptools} -BuildRequires: unzip -BuildRequires: fdupes BuildRequires: dos2unix +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: unzip Requires: python-requests BuildArch: noarch @@ -44,7 +43,6 @@ a request to its translate API. %prep %setup -q -n gTTS-token-%{version} dos2unix README.md -cp %{SOURCE99} . %build %python_build