[Python-modules-commits] [python-stomp] 02/02: Initial release (Closes: #879763)

Sophie Brun sbrun-guest at moszumanska.debian.org
Thu Oct 26 08:50:41 UTC 2017


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

sbrun-guest pushed a commit to branch debian/master
in repository python-stomp.

commit d3007d3da4af2f913eef565c57ae03271bb0d1fe
Author: Sophie Brun <sophie at freexian.com>
Date:   Thu Oct 26 10:09:26 2017 +0200

    Initial release (Closes: #879763)
---
 debian/changelog                      |  5 ++++
 debian/compat                         |  1 +
 debian/control                        | 46 ++++++++++++++++++++++++++++++
 debian/copyright                      | 28 ++++++++++++++++++
 debian/gbp.conf                       |  2 ++
 debian/python-stomp-doc.doc-base      | 10 +++++++
 debian/python-stomp-doc.docs          |  1 +
 debian/python-stomp.lintian-overrides |  3 ++
 debian/python3-stomp.manpages         |  1 +
 debian/rules                          | 18 ++++++++++++
 debian/source/format                  |  1 +
 debian/source/options                 |  1 +
 debian/stomp.1                        | 53 +++++++++++++++++++++++++++++++++++
 debian/watch                          |  2 ++
 14 files changed, 172 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b88c517
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-stomp (4.1.19-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #879763)
+
+ -- Sophie Brun <sophie at freexian.com>  Wed, 25 Oct 2017 16:32:57 +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..ec8b0ae
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,46 @@
+Source: python-stomp
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Sophie Brun <sophie at freexian.com>
+Build-Depends: debhelper (>= 10), dh-python, python-all, python-setuptools, python3-all, python3-setuptools, python3-sphinx
+Standards-Version: 4.1.1
+Homepage: https://github.com/jasonrbriggs/stomp.py
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-stomp.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-stomp.git/
+Testsuite: autopkgtest-pkg-python
+
+Package: python-stomp
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-stomp-doc
+Description: STOMP client library (Python 2)
+ This package contains stomp.py, a Python client library for accessing messaging
+ servers (such as Apollo or RabbitMQ) using the STOMP protocol (versions 1.0,
+ 1.1 and 1.2).
+ .
+ This package installs the library for Python 2.
+
+Package: python3-stomp
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Suggests: python-stomp-doc
+Description: STOMP client library (Python 3)
+ This package contains stomp.py, a Python client library for accessing messaging
+ servers (such as Apollo or RabbitMQ) using the STOMP protocol (versions 1.0,
+ 1.1 and 1.2). It can also be run as a standalone, command-line client for
+ testing.
+ .
+ This package installs the library for Python 3.
+
+Package: python-stomp-doc
+Architecture: all
+Section: doc
+Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Description: STOMP client library (common documentation)
+ This package contains stomp.py, a Python client library for accessing messaging
+ servers (such as Apollo or RabbitMQ) using the STOMP protocol (versions 1.0,
+ 1.1 and 1.2). It can also be run as a standalone, command-line client for
+ testing.
+ .
+ This is the common documentation package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4c82f4d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: stomp.py
+Upstream-Contact: Jason R Briggs <jasonrbriggs at gmail.com>
+Source: https://github.com/jasonrbriggs/stomp.py
+
+Files: *
+Copyright: 2009-2016 Jason R Briggs <jasonrbriggs at gmail.com>
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2017 Sophie Brun <sophie at freexian.com>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+       http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache License version 2.0 can be
+ found in "/usr/share/common-licenses/Apache-2.0".
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..7783304
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[import-orig]
+filter = debian/*
diff --git a/debian/python-stomp-doc.doc-base b/debian/python-stomp-doc.doc-base
new file mode 100644
index 0000000..86fa007
--- /dev/null
+++ b/debian/python-stomp-doc.doc-base
@@ -0,0 +1,10 @@
+Document: python-stomp
+Title: Debian python-stomp Manual
+Author: Jason R Briggs
+Abstract: This manual describes what python-stomp is
+ and how it can be used.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-stomp-doc/html/index.html
+Files: /usr/share/doc/python-stomp-doc/html/*.html
diff --git a/debian/python-stomp-doc.docs b/debian/python-stomp-doc.docs
new file mode 100644
index 0000000..6d28621
--- /dev/null
+++ b/debian/python-stomp-doc.docs
@@ -0,0 +1 @@
+build/html
diff --git a/debian/python-stomp.lintian-overrides b/debian/python-stomp.lintian-overrides
new file mode 100644
index 0000000..197fb29
--- /dev/null
+++ b/debian/python-stomp.lintian-overrides
@@ -0,0 +1,3 @@
+# we package python2 module as it's for elastalert using
+# Python 2.7 only
+python-stomp: new-package-should-not-package-python2-module
diff --git a/debian/python3-stomp.manpages b/debian/python3-stomp.manpages
new file mode 100644
index 0000000..52ae5a7
--- /dev/null
+++ b/debian/python3-stomp.manpages
@@ -0,0 +1 @@
+debian/stomp.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e890fdb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=stomp
+#export PYBUILD_TEST_ARGS_python2=-s "stomp/test" -p "*_test.py"
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/source build/html # HTML generator
+
+override_dh_auto_install:
+	dh_auto_install
+	# don't install the script in python2 package, only in python3 to
+	# avoid conflict between packages
+	rm debian/python-stomp/usr/bin/stomp
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
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/stomp.1 b/debian/stomp.1
new file mode 100644
index 0000000..1efd990
--- /dev/null
+++ b/debian/stomp.1
@@ -0,0 +1,53 @@
+.TH STOMP 1 "2017-10-26" "0.1" ""
+.SH NAME
+stomp \- STOMP command-line client
+.SH SYNOPSIS
+.B stomp [options]
+.SH DESCRIPTION
+.PP
+\fBstomp\fP is a command-line client for accessing messaging servers using
+the STOMP protocol (versions 1.0, 1.1 and 1.2).
+.PP
+It uses the Python module stomp.py.
+.SH OPTIONS
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-\-version
+Show version of program.
+.TP
+.B \-H <host>, \-\-host=<port>
+Hostname or IP address to connect to. [default: localhost]
+.TP
+.B \-P <port>, \-\-port=<port>
+Port providing stomp protocol connections. [default: 61613]
+.TP
+.B \-U <user>, \-\-user=<user>
+Username for the connection
+.TP
+.B \-W <password>, \-\-password=<password>
+Password for the connection
+.TP
+.B \-F <filename>, \-\-file=<filename>
+File containing commands to be executed, instead of prompting from the command prompt.
+.TP
+.B \-S <protocol version>, \-\-protocol=<protocol version>
+Set the STOMP protocol version (1.0, 1.1, 1.2) [default: 1.1]
+.TP
+.B \-L <queue>, \-\-listen=<queue>
+Listen for messages on a queue/destination
+.TP
+.B \-V, \-\-verbose
+Verbose logging "on" or "off" (if on, full headers from stomp server responses are printed)
+.TP
+.B \-\-ssl
+Enable SSL connection
+.TP
+.B \-\-heartbeats=<heartbeats> 
+Heartbeats to request when connecting with protocol >= 1.1 (two comma separated integers required) [default: 0,0]
+.SH SEE ALSO
+.PP \(bu 2
+Python module documentation in package python-stomp-doc:
+.PP \(bu 2
+/usr/share/doc/python-stomp.py-doc/html
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..35f6db5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://pypi.debian.net/stomp.py/stomp.py-(.+)\.(?: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-stomp.git



More information about the Python-modules-commits mailing list