[Python-modules-commits] [python-hbmqtt] 01/05: Initial Debian packaging

Stein Magnus Jodal jodal at moszumanska.debian.org
Wed Jul 26 13:19:08 UTC 2017


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

jodal pushed a commit to branch master
in repository python-hbmqtt.

commit d09e0c62fd4089f734d6e7920a6d73ead569bda5
Author: Stein Magnus Jodal <jodal at debian.org>
Date:   Wed Jul 26 13:23:46 2017 +0200

    Initial Debian packaging
---
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 39 +++++++++++++++++++++++++++++++++++++++
 debian/copyright | 31 +++++++++++++++++++++++++++++++
 debian/rules     | 14 ++++++++++++++
 debian/watch     |  3 +++
 6 files changed, 93 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a429298
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-hbmqtt (0.9-1) unstable; urgency=medium
+
+  * Initial release (closes: 869776)
+
+ -- Stein Magnus Jodal <jodal at debian.org>  Wed, 26 Jul 2017 10:48:08 +0200
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..941fd4e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,39 @@
+Source: python-hbmqtt
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Stein Magnus Jodal <jodal at debian.org>,
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               python3-all,
+               python3-docopt,
+               python3-nose,
+               python3-passlib,
+               python3-setuptools,
+               python3-transitions,
+               python3-websockets,
+               python3-yaml,
+Standards-Version: 4.0.0
+Homepage: https://hbmqtt.readthedocs.io/
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-hbmqtt.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-hbmqtt.git
+X-Python3-Version: >= 3.4
+
+Package: python3-hbmqtt
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends},
+Description: MQTT client/broker for asyncio
+ HBMQTT is a MQTT client and broker implementation built on top of asyncio.
+ .
+ HBMQTT implements the full set of MQTT 3.1.1 protocol specifications and
+ provides the following features:
+ .
+  * Support QoS 0, QoS 1 and QoS 2 messages flow
+  * Client auto-reconnection on network lost
+  * Authentication through password file
+    (more methods can be added through a plugin system)
+  * Basic $SYS topics
+  * TCP and websocket support
+  * SSL support over TCP and websocket
+  * Plugin system
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..880fa55
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: hbmqtt
+Upstream-Contact: Nicolas Jouanin <nico at beerfactory.org>
+Source: https://hbmqtt.readthedocs.io/
+
+Files: *
+Copyright: 2015 Nicolas Jouanin
+License: Expat
+
+Files: debian/*
+Copyright: 2017 Stein Magnus Jodal <jodal at debian.org>
+License: Expat
+
+License: Expat
+ 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..da0cd62
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=hbmqtt
+export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}
+export PYBUILD_TEST_NOSE=1
+
+%:
+	dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_installchangelogs:
+	dh_installchangelogs docs/changelog.rst
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..845c3f9
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/hbmqtt/hbmqtt-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Python-modules-commits mailing list