[X2go-Commits] pyhoca-cli.git - master (branch) updated: 0.2.0.4-5-g49aa9fe

X2Go dev team git-admin at x2go.org
Thu Sep 27 16:53:27 CEST 2012


The branch, master has been updated
       via  49aa9fef7e76a274a62bdbc801244ba875565532 (commit)
      from  84999ab5f157d234b1854aa8b7f3ca13bdbcd9cb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

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

    /debian/rules: Allow package build on systems with missing dh_python2.

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog |    2 ++
 debian/rules     |    4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 089eb78..eea9c9e 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-dev at 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.gabriel at das-netzwerkteam.de>  Fri, 17 Aug 2012 16:38:54 +0200
 
diff --git a/debian/rules b/debian/rules
index 8f217cb..c8ce66b 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.gabriel at 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/


hooks/post-receive
-- 
pyhoca-cli.git (Python X2Go Client (command line client))

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "pyhoca-cli.git" (Python X2Go Client (command line client)).




More information about the x2go-commits mailing list