Here's an updated version of the first patch. This will ensure that chrome-gnome-shell builds for python3 even if python2 is installed in the build environment. (Unfortunately, a clean Ubuntu chroot includes python2. See https://bugs.debian.org/851478 for more details.)
Thanks, Jeremy Bicha
From 38a446995be40cd31f81aab38aaeec435fff8c05 Mon Sep 17 00:00:00 2001 From: Jeremy Bicha <[email protected]> Date: Sun, 15 Jan 2017 08:00:44 -0500 Subject: [PATCH 1/2] Use python3 instead of python --- debian/control | 4 ++-- debian/control.in | 4 ++-- debian/rules | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/control b/debian/control index 848e0a5..0d334e3 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Section: gnome Priority: optional Maintainer: Debian GNOME Maintainers <[email protected]> Uploaders: Ritesh Raj Sarraf <[email protected]>, -Build-Depends: debhelper (>= 9.0.0), cmake, python (>= 2.7), gnome-pkg-tools +Build-Depends: debhelper (>= 9.0.0), cmake, python3, gnome-pkg-tools Standards-Version: 3.9.8 Homepage: https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome Vcs-Git: https://anonscm.debian.org/git/pkg-gnome/chrome-gnome-shell.git @@ -15,7 +15,7 @@ Vcs-Browser: https://anonscm.debian.org/git/pkg-gnome/chrome-gnome-shell.git Package: chrome-gnome-shell Architecture: all -Depends: ${misc:Depends}, gnome-shell, python (>= 2.7), python-gi +Depends: ${misc:Depends}, gnome-shell, python3, python3-gi, python3-requests Suggests: chromium Description: GNOME Shell integration for Chromium browser Provides integration with GNOME Shell extensions repository for diff --git a/debian/control.in b/debian/control.in index 1a58c36..49ea182 100644 --- a/debian/control.in +++ b/debian/control.in @@ -3,7 +3,7 @@ Section: gnome Priority: optional Maintainer: Debian GNOME Maintainers <[email protected]> Uploaders: Ritesh Raj Sarraf <[email protected]>, @GNOME_TEAM@ -Build-Depends: debhelper (>= 9.0.0), cmake, python (>= 2.7), gnome-pkg-tools, jq +Build-Depends: debhelper (>= 9.0.0), cmake, python3, gnome-pkg-tools, jq Standards-Version: 3.9.8 Homepage: https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome Vcs-Git: https://anonscm.debian.org/git/pkg-gnome/chrome-gnome-shell.git @@ -11,7 +11,7 @@ Vcs-Browser: https://anonscm.debian.org/git/pkg-gnome/chrome-gnome-shell.git Package: chrome-gnome-shell Architecture: all -Depends: ${misc:Depends}, gnome-shell, python (>= 2.7), python-gi, python-requests (>= 2.0) +Depends: ${misc:Depends}, gnome-shell, python3, python3-gi, python3-requests Suggests: chromium Description: GNOME Shell integration for Chromium browser Provides integration with GNOME Shell extensions repository for diff --git a/debian/rules b/debian/rules index 4d53c00..0a17a61 100755 --- a/debian/rules +++ b/debian/rules @@ -8,4 +8,4 @@ dh $@ --with gnome override_dh_auto_configure: - dh_auto_configure -- -DBUILD_EXTENSION=OFF -DUSE_DEBIAN_LAYOUT=ON + dh_auto_configure -- -DBUILD_EXTENSION=OFF -DUSE_DEBIAN_LAYOUT=ON -DPython_ADDITIONAL_VERSIONS=3 -- 2.10.2

