[Python-modules-commits] [gtts] 03/05: Update patch

Ethan Ward ethanward-guest at moszumanska.debian.org
Fri Aug 4 21:21:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

ethanward-guest pushed a commit to branch master
in repository gtts.

commit 9e140c74e2968b9cbdb9fbbba48a7a2ad7d19493
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date:   Fri Aug 4 14:09:07 2017 -0500

    Update patch
---
 .../patches/0001-Change-binary-to-be-pure-python.patch  | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/debian/patches/0001-Change-binary-to-be-pure-python.patch b/debian/patches/0001-Change-binary-to-be-pure-python.patch
index c222f1f..33cd583 100644
--- a/debian/patches/0001-Change-binary-to-be-pure-python.patch
+++ b/debian/patches/0001-Change-binary-to-be-pure-python.patch
@@ -2,10 +2,12 @@ From: Ethan Ward <ethan.ward at mycroft.ai>
 Date: Fri, 4 Aug 2017 14:05:48 -0500
 Subject: Change binary to be pure python
 
+Remove .py file from scripts
 ---
  bin/gtts-cli    | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++----
  bin/gtts-cli.py | 52 ----------------------------------------------------
- 2 files changed, 52 insertions(+), 56 deletions(-)
+ setup.py        |  2 +-
+ 3 files changed, 53 insertions(+), 57 deletions(-)
  delete mode 100755 bin/gtts-cli.py
 
 diff --git a/bin/gtts-cli b/bin/gtts-cli
@@ -127,3 +129,16 @@ index f3657d0..0000000
 -    else:
 -        print("ERROR: ", e, file=sys.stderr)
 -        
+diff --git a/setup.py b/setup.py
+index 533fdbb..e85fac7 100644
+--- a/setup.py
++++ b/setup.py
+@@ -12,7 +12,7 @@ setup(
+     author_email='pndurette at gmail.com',
+     url='https://github.com/pndurette/gTTS',
+     packages=['gtts'],
+-    scripts=['bin/gtts-cli', 'bin/gtts-cli.py'],
++    scripts=['bin/gtts-cli'],
+     license='MIT',
+     description='Create an mp3 file from spoken text via the Google TTS (Text-to-Speech) API',
+     long_description=open('README.md').read(),

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/gtts.git



More information about the Python-modules-commits mailing list