Fixes Homebrew/homebrew#11966.
Fixes Homebrew/homebrew#11587. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Some times the module to import is different than the module to install when dealing with external dependencies. This change allows an optional import name to be specififed when it is different from the module name. Closes Homebrew/homebrew#11078.