[Python-modules-commits] [wifi] 03/11: Initial Debian packaging (closes: #869109)

Ethan Ward ethanward-guest at moszumanska.debian.org
Tue Jul 25 19:08:23 UTC 2017


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

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

commit 096488fa500b605d674959ccaadbe6570b4b6ab7
Author: Ethan Ward <ethan.ward at mycroft.ai>
Date:   Tue Jul 25 13:04:18 2017 -0500

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

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 2ad2a61..c254927 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 wifi_0.3.8.orig.tar.gz
 d894a40f66f06c64a4d87119474c7515bb3a78ae
 11964
+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..a9eabec
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+wifi (0.3.8-1) UNRELEASED; urgency=medium
+
+  * Initial Debian packaging (closes: #869109)
+
+ -- Mycroft Devs <devops at mycroft.ai>  Mon, 17 Jul 2017 14: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..ad03227
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,41 @@
+Source: wifi
+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-pytest-runner,
+               python3-pytest-runner,
+               python-vcversioner,
+               python3-vcversioner,
+               python3-setuptools
+Standards-Version: 4.0.0
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/inflection.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/inflection.git
+
+Package: python-wifi
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Description: Command line tool and library wrappers around iwlist and /etc/network/interfaces.
+ This package contains the module for Python 2.x. Wifi
+ provides a command line wrapper for iwlist and
+ /etc/network/interfaces that makes it easier
+ to connect the WiFi networks from the command line.
+ The wifi command is also implemented as a library that
+ can be used from python.
+
+Package: python3-wifi
+Architecture: any
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Command line tool and library wrappers around iwlist and /etc/network/interfaces.
+ This package contains the module for Python 3.x. Wifi
+ provides a command line wrapper for iwlist and
+ /etc/network/interfaces that makes it easier
+ to connect the WiFi networks from the command line.
+ The wifi command is also implemented as a library that
+ can be used from python.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..51cfe78
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,53 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: wifi
+Source: https://pypi.python.org/pypi/wifi
+
+Files: *
+Copyright: (c) 2016, Rocky Meza, Gavin Wahl
+License: BSD-2-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-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..3aef1ca
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+export PYBUILD_NAME=wifi
+
+%:
+	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..750385d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://pypi.python.org/packages/source/w/wifi/wifi-(.*).tar.gz

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



More information about the Python-modules-commits mailing list