Bug 1232580 - Install py27-readline on MacPorts; r=Yoric
authorGregory Szorc <gregory.szorc@gmail.com>
Tue, 12 Jan 2016 12:25:52 -0800
changeset 279827 3070ae8f0e26310a6786890a7c1f28fcd0ff71ab
parent 279826 ac21baf87df2fb794c39e1f28c70a715dae1edc4
child 279828 164acbd4bafc77b9c7b8ea5c198a251b4bbf8424
push id70234
push usergszorc@mozilla.com
push dateWed, 13 Jan 2016 23:13:42 +0000
treeherdermozilla-inbound@3070ae8f0e26 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersYoric
bugs1232580, 48807
milestone46.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1232580 - Install py27-readline on MacPorts; r=Yoric See https://trac.macports.org/ticket/48807. Without it, reading input can break terminals.
python/mozboot/mozboot/osx.py
--- a/python/mozboot/mozboot/osx.py
+++ b/python/mozboot/mozboot/osx.py
@@ -383,16 +383,17 @@ class OSXBootstrapper(BaseBootstrapper):
         missing = [package for package in packages if package not in installed]
         if missing:
             print(PACKAGE_MANAGER_PACKAGES % ('MacPorts',))
             self.run_as_root([self.port, '-v', 'install'] + missing)
 
     def ensure_macports_system_packages(self):
         packages = [
             'python27',
+            'py27-readline',
             'mercurial',
             'autoconf213',
             'gnutar',
             'watchman',
         ]
 
         self._ensure_macports_packages(packages)
         self.run_as_root([self.port, 'select', '--set', 'python', 'python27'])