[game-data-packager] 01/02: PPA: pull dh-systemd in compat level 9

Alexandre Detiste detiste-guest at moszumanska.debian.org
Sun Mar 12 19:28:13 UTC 2017


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

detiste-guest pushed a commit to branch master
in repository game-data-packager.

commit 1975c0ea35845600de0ef65694d133476a6dcb2d
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Sun Mar 12 20:13:48 2017 +0100

    PPA: pull dh-systemd in compat level 9
---
 tools/ppa.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tools/ppa.py b/tools/ppa.py
index 90a74a5..24be79e 100755
--- a/tools/ppa.py
+++ b/tools/ppa.py
@@ -62,8 +62,11 @@ for release in sorted(releases):
     if BACKPORT:
         with open('debian/compat', 'w') as compat:
             compat.write('%d\n' % supported_debhelper)
+        build_dep = 'debhelper  (>= %d~)' %  supported_debhelper
+        if supported_debhelper == 9:
+            build_dep = build_dep + ',' + 'dh-systemd'
         subprocess.check_call(['sed', '-i',
-                               's/\ *debhelper.*/ debhelper (>= %d~),/' % supported_debhelper,
+                               's/\ *debhelper.*/ ' + build_dep + ',/',
                                'debian/control'],
                               cwd = GDP)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list