Merge lp:~ahayzen/ubuntu-calculator-app/autopilot-move-py3 into lp:~ubuntu-calculator-dev/ubuntu-calculator-app/old_trunk

Proposed by Andrew Hayzen
Status: Merged
Approved by: Nicholas Skaggs
Approved revision: 326
Merged at revision: 328
Proposed branch: lp:~ahayzen/ubuntu-calculator-app/autopilot-move-py3
Merge into: lp:~ubuntu-calculator-dev/ubuntu-calculator-app/old_trunk
Diff against target: 46 lines (+4/-4)
4 files modified
debian/control (+1/-1)
debian/rules (+1/-1)
images/generate.py (+1/-1)
tests/autopilot/CMakeLists.txt (+1/-1)
To merge this branch: bzr merge lp:~ahayzen/ubuntu-calculator-app/autopilot-move-py3
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Nicholas Skaggs (community) Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Needs Fixing
Review via email: mp+233799@code.launchpad.net

Commit message

* Use python3 for autopilot in all cases

Description of the change

* Use python3 for autopilot in all cases

This allows jenkins to use python 3 as well as devices.

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
324. By Andrew Hayzen

* Fix for missing py3 conversions

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
325. By Andrew Hayzen

* Fix for tabbing issue

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :
326. By Andrew Hayzen

* Merge of trunk

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :
Revision history for this message
Nicholas Skaggs (nskaggs) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2014-05-16 20:21:54 +0000
3+++ debian/control 2014-09-09 13:34:01 +0000
4@@ -5,7 +5,7 @@
5 cmake,
6 gettext,
7 intltool,
8- python:any (>= 2.7),
9+ python3:any,
10 Standards-Version: 3.9.5
11 Section: misc
12 Homepage: https://launchpad.net/ubuntu-calculator-app
13
14=== modified file 'debian/rules'
15--- debian/rules 2014-09-08 10:12:57 +0000
16+++ debian/rules 2014-09-09 13:34:01 +0000
17@@ -7,7 +7,7 @@
18 export DPKG_GENSYMBOLS_CHECK_LEVEL=4
19
20 %:
21- dh $@ --parallel --fail-missing --with python2
22+ dh $@ --parallel --fail-missing --with python3
23
24 override_dh_auto_configure:
25 dh_auto_configure -- -DCLICK_MODE=OFF
26
27=== modified file 'images/generate.py'
28--- images/generate.py 2013-08-09 18:37:04 +0000
29+++ images/generate.py 2014-09-09 13:34:01 +0000
30@@ -1,4 +1,4 @@
31-#!/usr/bin/env python
32+#!/usr/bin/env python3
33
34 import subprocess
35 import os
36
37=== modified file 'tests/autopilot/CMakeLists.txt'
38--- tests/autopilot/CMakeLists.txt 2014-01-17 20:50:29 +0000
39+++ tests/autopilot/CMakeLists.txt 2014-09-09 13:34:01 +0000
40@@ -1,5 +1,5 @@
41 if(INSTALL_TESTS)
42-execute_process(COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"
43+execute_process(COMMAND python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
44 OUTPUT_VARIABLE PYTHON_PACKAGE_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)
45
46 install(DIRECTORY ${AUTOPILOT_DIR}

Subscribers

People subscribed via source and target branches