[X2Go-Commits] [pyhoca-gui] 02/02: debian/control: Bump DH compat level to version 9. + Rework packaging, use pybuild.
git-admin at x2go.org
git-admin at x2go.org
Mon Dec 2 22:07:23 CET 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository pyhoca-gui.
commit 58528959f807ecfb673c4a536680c8187b7284cc
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Dec 2 22:06:43 2019 +0100
debian/control: Bump DH compat level to version 9. + Rework packaging, use pybuild.
---
debian/changelog | 2 ++
debian/compat | 2 +-
debian/control | 10 +++++-----
debian/rules | 5 +++--
4 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 92f32e7..2a9f20a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,8 @@ pyhoca-gui (0.6.0.0-0x2go1) UNRELEASED; urgency=medium
- __future__ imports need to be at the very top of a .py file.
* debian/control:
+ Switch from Py2 to Py3 (B-Ds and Ds).
+ + Bump DH compat level to version 9.
+ + Rework packaging, use pybuild.
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Mon, 02 Dec 2019 17:10:19 +0100
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index 97922ff..dbf4b23 100644
--- a/debian/control
+++ b/debian/control
@@ -7,13 +7,13 @@ Uploaders:
Oleksandr Shneyder <oleksandr.shneyder at obviously-nice.de>,
Mihai Moldovan <ionic at ionic.de>,
Build-Depends:
- debhelper (>= 7.0.50~),
+ debhelper (>= 9~),
man2html-base | man2html,
- python3 (>=3.6~),
+ gnome-colors-common,
+ python3-all (>= 3.4),
python3-setuptools,
- python3-support | dh-python,
python3-distutils-extra,
- gnome-colors-common,
+ dh-python,
Standards-Version: 3.9.6
Homepage: https://code.x2go.org/releases/source/pyhoca-gui
Vcs-Git: git://code.x2go.org/pyhoca-gui.git
@@ -24,7 +24,7 @@ Package: pyhoca-gui
Architecture: all
Depends:
${misc:Depends},
- python3,
+ ${python3:Depends},
python3-x2go (>=0.6.1.2-0~),
python3-argparse,
python3-gi,
diff --git a/debian/rules b/debian/rules
index 9f70949..a19c743 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,10 +3,11 @@
# Based on sample debian/rules file - for GNU Hello (1.3).
# Copyright 2010-2019 by Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
-WITH_PYTHON2 = $(shell test -f /usr/bin/dh_python2 && echo "--with python2")
+export PYVER=$(shell py3versions -d)
+export PYBUILD_NAME=pyhoca-gui
%:
- dh ${@} ${WITH_PYTHON2}
+ dh ${@} --with python3 --buildsystem pybuild
override_dh_auto_build:
cp po/PyHoca-GUI.pot po/PyHoca-GUI.pot.bak
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git
More information about the x2go-commits
mailing list