From 41a0f22fe83c754813ffc0fbc7d7588b2e999559 Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Thu, 28 Jul 2016 17:00:41 -0400 Subject: [PATCH] Add a 'requirements:' field to homebrew doc (#2630) homebrew.py and homebrew_cask.py make use of python 2.5 and 2.6 features like string .format() method. --- packaging/os/homebrew.py | 2 ++ packaging/os/homebrew_cask.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packaging/os/homebrew.py b/packaging/os/homebrew.py index 077fd46dcc6..a91a8ab8fe3 100755 --- a/packaging/os/homebrew.py +++ b/packaging/os/homebrew.py @@ -27,6 +27,8 @@ author: - "Indrajit Raychaudhuri (@indrajitr)" - "Daniel Jaouen (@danieljaouen)" - "Andrew Dunham (@andrew-d)" +requirements: + - "python >= 2.6" short_description: Package manager for Homebrew description: - Manages Homebrew packages diff --git a/packaging/os/homebrew_cask.py b/packaging/os/homebrew_cask.py index 7b16b71f187..8353c1cece2 100755 --- a/packaging/os/homebrew_cask.py +++ b/packaging/os/homebrew_cask.py @@ -24,6 +24,8 @@ author: - "Indrajit Raychaudhuri (@indrajitr)" - "Daniel Jaouen (@danieljaouen)" - "Enric Lluelles (@enriclluelles)" +requirements: + - "python >= 2.6" short_description: Install/uninstall homebrew casks. description: - Manages Homebrew casks.