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

x2go pushed a commit to annotated tag 0.5.0.1
in repository x2goclient.

commit 49aa9fef7e76a274a62bdbc801244ba875565532
Author: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
Date:   Thu Sep 27 16:53:15 2012 +0200

    /debian/rules: Allow package build on systems with missing dh_python2.
---
 debian/changelog | 2 ++
 debian/rules     | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 089eb782..eea9c9ec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ pyhoca-cli (0.2.0.5-0~x2go1) UNRELEASED; urgency=low
   * /debian/control:
     + Maintainer change in package: X2Go Developers 
<x2go-...@lists.berlios.de>.
     + Reduce python version in Build-Depends to allow build on Ubuntu 10.04.
+  * /debian/rules:
+    + Allow package build on systems with missing dh_python2.
 
  -- Mike Gabriel <mike.gabr...@das-netzwerkteam.de>  Fri, 17 Aug 2012 16:38:54 
+0200
 
diff --git a/debian/rules b/debian/rules
index 8f217cbe..c8ce66bd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,10 +3,10 @@
 # Based on sample debian/rules file - for GNU Hello (1.3).
 # Copyright 2010-2012 by Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
 
-PYVERS=$(shell pyversions -vr)
+WITH_PYTHON2 = $(shell test -f /usr/bin/dh_python2 && echo "--with python2")
 
 %:
-       dh ${@} --with python2
+       dh ${@} ${WITH_PYTHON2}
 
 override_dh_auto_clean:
        rm -Rf PyHoca_CLI.egg-info/

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/x2goclient.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to