Accepting request 646388 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/646388
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gTTS-token?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2018-11-06 13:38:46 +00:00 committed by Git OBS Bridge
commit 636e5af904
5 changed files with 29 additions and 40 deletions

21
LICENSE
View File

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

View File

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

3
gTTS-token-1.1.2.tar.gz Normal file
View File

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

View File

@ -1,9 +1,21 @@
-------------------------------------------------------------------
Sun Nov 4 23:50:46 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Use noun phrase for summary.
-------------------------------------------------------------------
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

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,39 +12,37 @@
# 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
Summary: Python module for calculating a token to run the Google text-to-speech engine
License: MIT
Summary: Calculates a token to run the Google Translate text to speech
Url: https://github.com/boudewijn26/gTTS-token
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
%python_subpackages
%description
gTTS-token (Google Text to Speech token) is a python implementation
gTTS-token (Google Text to Speech token) is a Python implementation
of the token validation required by Google Translate when making
a request to its translate API.
a request to its API.
%prep
%setup -q -n gTTS-token-%{version}
dos2unix README.md
cp %{SOURCE99} .
%build
%python_build