[Python-modules-commits] [gtts] 03/07: Initial Debian packaging (closes: #869102)
Ethan Ward
ethanward-guest at moszumanska.debian.org
Tue Jul 25 17:07:38 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 b48633e1c382a3146b85aadfc2cf0f9418979e86
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date: Tue Jul 25 11:37:48 2017 -0500
Initial Debian packaging (closes: #869102)
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 35 +++++++++++++++++++++++++++++++++++
debian/copyright | 30 ++++++++++++++++++++++++++++++
debian/rules | 7 +++++++
debian/source/options | 1 +
debian/watch | 2 ++
7 files changed, 81 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..aeffd5d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+gtts (1.2.0-1) UNRELEASED; urgency=medium
+
+ * Initial Debian packaging (closes: #869102)
+
+ -- Mycroft Devs <devops at mycroft.ai> Mon, 17 Jul 2017 09:53:40 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0b0cec5
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: gtts
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Mycroft Devs <devops at mycroft.ai>
+Build-Depends: debhelper (>= 10),
+ dh-python,
+ python-all,
+ python3-all,
+ python-setuptools,
+ python-gtts-token,
+ python3-gtts-token,
+ python3-setuptools
+Standards-Version: 4.0.0
+
+Package: python-gtts
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Description: Create an mp3 file from spoken text via the Google TTS (Text-to-Speech) API
+ This package contains the module for Python 2.x. 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.
+
+Package: python3-gtts
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Create an mp3 file from spoken text via the Google TTS (Text-to-Speech) API
+ This package contains the module for Python 3.x. 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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3c253d8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: gtts
+Source: https://pypi.python.org/pypi/gtts
+
+Files: *
+Copyright: (c) 2017 Pierre Nicolas Durette
+License: MIT-style
+
+Files: debian/*
+Copyright: (c) 2017, Ethan Ward <ethan.ward at mycroft.ai>
+License: MIT-style
+
+License: MIT-style
+ 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.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..178c787
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+export PYBUILD_NAME=gtts
+
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..cb61fa5
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..bad1716
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://pypi.python.org/packages/source/g/gTTS/gTTS-(.*).tar.gz
--
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