[Python-apps-commits] r10872 - in packages/debomatic/trunk/debian (changelog control rules)

dktrkranz at users.alioth.debian.org dktrkranz at users.alioth.debian.org
Wed May 21 08:57:08 UTC 2014


    Date: Wednesday, May 21, 2014 @ 08:57:08
  Author: dktrkranz
Revision: 10872

Support systemd service file

Modified:
  packages/debomatic/trunk/debian/changelog
  packages/debomatic/trunk/debian/control
  packages/debomatic/trunk/debian/rules

Modified: packages/debomatic/trunk/debian/changelog
===================================================================
--- packages/debomatic/trunk/debian/changelog	2014-05-21 08:55:06 UTC (rev 10871)
+++ packages/debomatic/trunk/debian/changelog	2014-05-21 08:57:08 UTC (rev 10872)
@@ -6,11 +6,13 @@
   * debian/control:
     - Build-depends on python3 and python3-sphinx.
     - Build-depends on dh-python for Pybuild support.
+    - Build-depends on dh-systemd for systemd support.
     - No longer depends on python-daemon and python-lockfile.
     - Recommends python3-pyinotify.
   * debian/rules:
     - Port to Pybuild.
     - Use python3 sequencer.
+    - Support systemd service file.
 
  -- Luca Falavigna <dktrkranz at debian.org>  Wed, 21 May 2014 10:44:18 +0200
 

Modified: packages/debomatic/trunk/debian/control
===================================================================
--- packages/debomatic/trunk/debian/control	2014-05-21 08:55:06 UTC (rev 10871)
+++ packages/debomatic/trunk/debian/control	2014-05-21 08:57:08 UTC (rev 10872)
@@ -6,6 +6,7 @@
 Build-Depends: debhelper (>= 9),
                python3 (>= 3.2~),
                dh-python,
+               dh-systemd,
                python3-sphinx,
                texlive-latex-base,
                texlive-latex-recommended,

Modified: packages/debomatic/trunk/debian/rules
===================================================================
--- packages/debomatic/trunk/debian/rules	2014-05-21 08:55:06 UTC (rev 10871)
+++ packages/debomatic/trunk/debian/rules	2014-05-21 08:57:08 UTC (rev 10872)
@@ -5,7 +5,7 @@
 					--install-scripts=/usr/share/debomatic
 
 %:
-	dh $@  --buildsystem=pybuild --with python3
+	dh $@  --buildsystem=pybuild --with python3,systemd
 
 override_dh_clean:
 	dh_clean $@
@@ -19,7 +19,10 @@
 override_dh_installinit:
 	ln -s $(CURDIR)/etc/init.d/debomatic debian/init
 	ln -s $(CURDIR)/etc/default/debomatic debian/default
-	dh_installinit -- defaults 20
+	dh_installinit --no-start -- defaults 20
 
 override_dh_installchangelogs:
 	dh_installchangelogs ChangeLog
+
+override_dh_systemd_enable:
+	dh_systemd_enable --no-enable




More information about the Python-apps-commits mailing list