[Python-modules-commits] [gtts] 04/05: Add binary gtts-cli to python3 package

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 9d006b29bdd5e5df4140fb901016646eda0731d6
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date:   Fri Aug 4 16:01:02 2017 -0500

    Add binary gtts-cli to python3 package
---
 debian/control | 7 ++++---
 debian/rules   | 5 +++--
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index e08484c..187fa13 100644
--- a/debian/control
+++ b/debian/control
@@ -24,7 +24,7 @@ Package: python-gtts
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}
 XB-Python-Version: ${python:Versions}
-Description: Wrapper and CLI utility for the Google TTS (Text-to-Speech) API (Python 2)
+Description: Wrapper for the Google TTS (Text-to-Speech) API (Python 2)
  A Python interface for Google's Text to Speech API. Create an mp3
  file with the gTTS module. It allows unlimited lengths to be spoken by
  tokenizing long sentences where the speech would naturally pause.
@@ -36,7 +36,8 @@ Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends}
 Description: Wrapper and CLI utility for the Google TTS (Text-to-Speech) API (Python 3)
  A Python interface for Google's Text to Speech API. Create an mp3
- file with the gTTS module. It allows unlimited lengths to be spoken by
- tokenizing long sentences where the speech would naturally pause.
+ file with the gTTS module or the gtts-cli tool. It allows unlimited
+ lengths to be spoken by tokenizing long sentences where the speech
+ would naturally pause.
  .
  This package contains the module for Python 3.
diff --git a/debian/rules b/debian/rules
index f0fe222..f5165be 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,8 @@ export PYBUILD_NAME=gtts
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_python3:
-	dh_pythno3 --shebang=/usr/bin/python3
+	dh_python3 --shebang=/usr/bin/python3
 
 override_dh_auto_install:
-	mv debian/python3-gtts/usr/bin/gtts-cli debian/python3-gtts/usr/bin/gtts-cli3
+	dh_auto_install
+	rm debian/python-gtts/usr/bin/gtts-cli

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