[Python-modules-commits] [python-sdnotify] 03/05: Init packaging

Orestis Ioannou oorestisime-guest at moszumanska.debian.org
Sat Jul 16 20:55:39 UTC 2016


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

oorestisime-guest pushed a commit to branch master
in repository python-sdnotify.

commit 12ed3351d36198d7335026cb856ed5ba5f64dd53
Author: Orestis Ioannou <orestis at oioannou.com>
Date:   Sat Jul 16 22:52:13 2016 +0200

    Init packaging
---
 debian/.git-dpm  |  3 +++
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 45 +++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright | 29 +++++++++++++++++++++++++++++
 debian/rules     |  6 ++++++
 debian/watch     |  3 +++
 7 files changed, 92 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 5b85bac..fc2e416 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@ cac674e7fd5bb16737bbe24030d9f5ab237149d0
 python-sdnotify_0.3.1.orig.tar.gz
 8600af62286ba2b1635015e82a00b50454666af9
 2513
+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..ad22ef5
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-sdnotify (0.3.1-1) unstable; urgency=low
+
+  * Initial release. (Closes: #831515)
+
+ -- Orestis Ioannou <orestis at oioannou.com>  Sat, 16 Jul 2016 22:17:10 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..fad0f85
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,45 @@
+Source: python-sdnotify
+Section: python
+Priority: optional
+Maintainer: Orestis Ioannou <orestis at oioannou.com>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python3-all,
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
+Standards-Version: 3.9.8
+Homepage: https://github.com/bb4242/sdnotify
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-sdnotify.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/python-sdnotify.git
+
+Package: python3-sdnotify
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends},
+Description: Python3 implementation of systemd's service notification protocol
+ This is a pure Python implementation of the systemd sd_notify protocol.
+ This protocol can be used to inform systemd about service start-up completion,
+ watchdog events, and other service status changes.
+ .
+ Thus, this package can be used to write system services in Python that play
+ nicely with systemd.
+ .
+ This is the Python 3 package.
+
+Package: python-sdnotify
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+Description: Python2 implementation of systemd's service notification protocol
+ This is a pure Python implementation of the systemd sd_notify protocol.
+ This protocol can be used to inform systemd about service start-up completion,
+ watchdog events, and other service status changes.
+ .
+ Thus, this package can be used to write system services in Python that play
+ nicely with systemd.
+ .
+ This is the Python 2 package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..60ed031
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: sdnotify
+Source: https://github.com/bb4242/sdnotify
+
+Files: *
+Copyright: Copyright (c) 2016 Brett Bethke
+License: MIT
+
+Files: debian/*
+Copyright: 2016 Orestis Ioannou <orestis at oioannou.com>
+License: MIT
+
+License: MIT
+ 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..5419253
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=sdnotify
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..298cdfb
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/sdnotify/sdnotify-(.+)\.(?: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-sdnotify.git



More information about the Python-modules-commits mailing list