14
0

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
This commit is contained in:
Tomáš Chvátal
2018-11-04 09:34:24 +00:00
committed by Git OBS Bridge
parent b1b9c6e7b8
commit a873f2e5e0
5 changed files with 22 additions and 38 deletions

View File

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