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

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


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

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

commit de7dcf1b2bf2d90c28e0a9e40fdca0d862f80994
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date:   Wed Jul 26 11:20:25 2017 -0500

    Initial Debian packaging (closes: #869107)
---
 debian/.git-dpm       |  3 +++
 debian/changelog      |  5 +++++
 debian/compat         |  1 +
 debian/control        | 31 ++++++++++++++++++++++++++++
 debian/copyright      | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules          |  7 +++++++
 debian/source/options |  0
 debian/watch          |  2 ++
 8 files changed, 106 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 38c41c8..ec772c3 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 pyjokes_0.5.0.orig.tar.gz
 c6257c237545294b8daf39b522a5ff9486c7387e
 10097
+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..a1c4186
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pyjokes (0.5.0-1) UNRELEASED; urgency=medium
+
+  * Initial Debian packaging (closes: #869107)
+
+ -- Mycroft Devs <devops at mycroft.ai>  Mon, 17 Jul 2017 12:33:17 -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..548af0a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: pyjokes
+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-pytest,
+               python3-pytest,
+               python-setuptools,
+               python-vcversioner,
+               python3-vcversioner,
+               python3-setuptools
+Standards-Version: 4.0.0
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pyjokes.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/pyjokes.git
+
+Package: python-pyjokes
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Description: One line jokes for programmers (jokes as a service)
+ This package contains the module for Python 2.x.
+
+Package: python3-pyjokes
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: One line jokes for programmers (jokes as a service)
+ This package contains the module for Python 3.x.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..403385c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,57 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pyjokes
+Source: https://pypi.python.org/pypi/pyjokes
+
+Files: *
+Copyright: (c) 2015 Pyjokes Society
+License: BSD-3-Clause
+
+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.
+
+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.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ba2981b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+export PYBUILD_NAME=pyjokes
+
+%:
+	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..92bb15c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://pypi.python.org/packages/source/p/pyjokes/pyjokes-(.*).tar.gz

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



More information about the Python-modules-commits mailing list