From fa1b0312eb35102f672f44adf389fba9e5419841 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. --- lib/ansible/modules/extras/packaging/os/homebrew.py | 2 ++ lib/ansible/modules/extras/packaging/os/homebrew_cask.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/ansible/modules/extras/packaging/os/homebrew.py b/lib/ansible/modules/extras/packaging/os/homebrew.py index 79b3ccec1bb..0ef9f994af9 100755 --- a/lib/ansible/modules/extras/packaging/os/homebrew.py +++ b/lib/ansible/modules/extras/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/lib/ansible/modules/extras/packaging/os/homebrew_cask.py b/lib/ansible/modules/extras/packaging/os/homebrew_cask.py index 7b16b71f187..8353c1cece2 100755 --- a/lib/ansible/modules/extras/packaging/os/homebrew_cask.py +++ b/lib/ansible/modules/extras/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.