[X2Go-Commits] [x2goclient] 11/74: /debian/rules: Allow package build on systems with missing dh_python2.
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 15 21:05:32 CET 2023
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.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.
---
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-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 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.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/
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list