[X2go-Commits] python-x2go.git - master (branch) updated: 0.2.0.10-8-gfeac4d0

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


The branch, master has been updated
       via  feac4d0816d71ffe3fb3bf46c5dd0b9b919917ea (commit)
      from  b08887f153ce00d3501b0992ba4e37a332d8af72 (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 feac4d0816d71ffe3fb3bf46c5dd0b9b919917ea
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Sep 27 16:40:07 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, 5 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 8e2d929..dd87a28 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ python-x2go (0.2.0.11-0~x2go1) UNRELEASED; urgency=low
     - Prepare for staying compatible with new SSH proxy feature
       in X2Go Client.
     - Add sshproxy_port option to session (SSH proxy) options.
+  * /debian/rules:
+    + Allow package build on systems with missing dh_python2.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Wed, 26 Sep 2012 20:49:44 +0200
 
diff --git a/debian/rules b/debian/rules
index d0a0f1d..214d87b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,8 +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>
 
+WITH_PYTHON2 = $(shell test -f /usr/bin/dh_python2 && echo "--with python2")
+
 %:
-	dh ${@} --with python2
+	dh ${@} ${WITH_PYTHON2}
 
 override_dh_auto_build:
 	mkdir -p .epydoc/html


hooks/post-receive
-- 
python-x2go.git (Python X2Go Client API)

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 "python-x2go.git" (Python X2Go Client API).




More information about the x2go-commits mailing list