[Python-modules-commits] [gtts-token] 01/01: Update control file with tests, homepage, and description

Ethan Ward ethanward-guest at moszumanska.debian.org
Fri Jul 28 15:01:05 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-token.

commit 4015d377a2eea981d1cdff839a8e10e007721f2a
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date:   Fri Jul 28 10:00:23 2017 -0500

    Update control file with tests, homepage, and description
---
 debian/control       | 22 ++++++++++++++--------
 debian/tests/control |  6 ++++++
 2 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/debian/control b/debian/control
index 19d9042..e05d081 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,8 @@ Build-Depends: debhelper (>= 10),
                python3-requests,
                python3-setuptools
 Standards-Version: 4.0.0
+Testsuite: autopkgtest
+Homepage: https://pypi.python.org/pypi/gTTS-token
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/gtts-token.git
 Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/gtts-token.git
 
@@ -19,15 +21,19 @@ Package: python-gtts-token
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}
 XB-Python-Version: ${python:Versions}
-Description: Calculates a token to run the Google Translate text to speech for Python 2
- This package contains the module for Python 2.x. A Python implementation
- of the token validation of Google Translate. This can be used to authenticate
- with their TTS engine and then use it (as in python-gtts).
+Description: Calculates a token to run the Google Translate text to speech (Python 2)
+ A Python implementation of the token validation of Google Translate.
+ This can be used to authenticate with their TTS engine and then use it 
+ (as in python-gtts).
+ .
+ This package contains the module for Python 2 
 
 Package: python3-gtts-token
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends}
-Description: Calculates a token to run the Google Translate text to speeech for Python 3
- This package contains the module for Python 3.x. A Python implementation
- of the token validation of Google Translate. This can be used to authenticate
- with their TTS engine and then use it (as in python3-gtts).
+Description: Calculates a token to run the Google Translate text to speeech (Python 3)
+ A Python implementation of the token validation of Google Translate.
+ This can be used to authenticate with their TTS engine and then use it 
+ (as in python-gtts).
+ .
+ This package contains the module for Python 3 
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..ffaf7b6
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,6 @@
+Test-Command: set -e ; for py in $(pyversions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import gtts_token; print gtts_token" ; done
+Depends: python-all, python-gtts-token
+
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$ADTTMP" ; echo "Testing with $py:" ; $py -c "import gtts_token; print(gtts_token)" ; done
+Depends: python3-all, python3-gtts-token
+

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



More information about the Python-modules-commits mailing list