[Python-modules-commits] [speechrecognition] 03/07: Initial Debian packaging (closes: #869108)

Ethan Ward ethanward-guest at moszumanska.debian.org
Wed Jul 26 18:32:59 UTC 2017


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

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

commit fd186bb33d507d447a0529f2f63aa9fc5791bc8a
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date:   Wed Jul 26 12:54:16 2017 -0500

    Initial Debian packaging (closes: #869108)
---
 debian/.git-dpm       |   3 ++
 debian/changelog      |   5 +++
 debian/compat         |   1 +
 debian/control        |  46 +++++++++++++++++++++
 debian/copyright      | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules          |   7 ++++
 debian/source/options |   0
 debian/watch          |   3 ++
 8 files changed, 175 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 783153a..e016bd3 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 speechrecognition_3.7.1.orig.tar.gz
 07309e6d9dd6b3f760af09dd1c366b847de34917
 125418704
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f139ea0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+speechrecognition (3.7.1-1) UNRELEASED; urgency=medium
+
+  * Initial Debian packaging (closes: #869108)
+
+ -- Mycroft Devs <devops at mycroft.ai>  Mon, 17 Jul 2017 12: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..bc042c0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: speechrecognition
+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,
+               libc6,
+               python-all,
+               python3-all,
+               python-setuptools,
+               python-vcversioner,
+               python3-vcversioner,
+               python3-setuptools
+Standards-Version: 4.0.0
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/speechrecognition.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/speechrecognition.git
+
+Package: python-speechrecognition
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Description: Library for performing speech recognition.
+ This package contains the module for Python 2.x. It has
+ support for several engines and APIs, online and offline. This includes:
+ CMU Sphinx
+ Google Speech Recognition
+ Google Cloud SPeech API
+ Wit.ai
+ Microsoft Bing Voice Recognition
+ Houndify API
+ IBM Speech to Text
+
+Package: python3-speechrecognition
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Library for performing speech recognition.
+ This package contains the module for Python 2.x. It has
+ support for several engines and APIs, online and offline. This includes:
+ CMU Sphinx
+ Google Speech Recognition
+ Google Cloud SPeech API
+ Wit.ai
+ Microsoft Bing Voice Recognition
+ Houndify API
+ IBM Speech to Text
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c68c931
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,110 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: speechrecognition
+Source: https://pypi.python.org/pypi/speechrecognition
+
+Files: *
+Copyright: (c) 2017 Anthony Zhang (Uberi)
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: (c) 2017, Ethan Ward <ethan.ward at mycroft.ai>
+License: MIT-style
+
+Files: speech_recognition/flac*
+Copyright: (c) 2004-2009 Josh Coalson, 2011-2014 Xiph.Org Foundation
+License: GPL-2.0
+
+Files: third-party/PyAudio*
+Copyright: (c) 2006 Hubert Pham
+License: MIT-style
+
+Files: third-party/pocketsphinx*
+Copyright: (c) 1999-2015 Carnegie Mellon University
+License: BSD-2-Clause
+
+Files: speech_recognition/pocketsphinx-data/*
+Copyright: (c) 1999-2015 Carnegie Mellon University
+License: BSD-2-Clause
+
+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.
+
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without 
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice, 
+ this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the 
+ documentation and/or other materials provided with the distribution.
+ .
+ 3. Neither the name of the copyright holder nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+
+License: GPL-2.0
+ This program is free software; you can redistribute it and/or modify it 
+ under the terms of the GNU General Public License as published by the
+ Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, 
+ Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+License: BSD-2-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2e2250d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+export PYBUILD_NAME=speechrecognition
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..e69de29
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e30335d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/speech_recognition-$1\.tar\.gz/ \
+  https://github.com/Uberi/speech_recognition/tags .*/v?(\d\S+)\.tar\.gz

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



More information about the Python-modules-commits mailing list