Bug 1231989 - Install watchman via Homebrew and MacPorts; r=ahal

This is needed to support hgwatchman.

--HG--
extra : commitid : 8D2A8YPNimB
extra : rebase_source : 7d5932aa049dfb352b93a87c2c8087dd7b324aab
extra : histedit_source : 9863189f265eca9e0b9363e13c59a7d55f5c633d
This commit is contained in:
Gregory Szorc 2015-12-11 12:40:41 -05:00
Родитель 325a9a014a
Коммит aa64dfaae7
1 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -307,6 +307,7 @@ class OSXBootstrapper(BaseBootstrapper):
('git', 'git'),
('autoconf213', HOMEBREW_AUTOCONF213),
('gnu-tar', 'gnu-tar'),
('watchman', 'watchman',)
]
self._ensure_homebrew_packages(packages)
@ -385,10 +386,13 @@ class OSXBootstrapper(BaseBootstrapper):
self.run_as_root([self.port, '-v', 'install'] + missing)
def ensure_macports_system_packages(self):
packages = ['python27',
'mercurial',
'autoconf213',
'gnutar']
packages = [
'python27',
'mercurial',
'autoconf213',
'gnutar',
'watchman',
]
self._ensure_macports_packages(packages)
self.run_as_root([self.port, 'select', '--set', 'python', 'python27'])