ilovezfs 23a38e0ff6 virtualenv_install_with_resources: select correct python
`virtualenv_install_with_resources` will now attempt to guess the
desired Python based on the active build options and based on the
dependencies and requirements. When the situation is ambiguous (e.g.,
`depends_on :python3` and `build.with? "python"` is true) raise
`FormulaAmbiguousPythonError` unless `:using => "python"` or
`:using => "python3"` has been passed to resolve the ambiguity.

In most cases, this will allow

```
    virtualenv_create(libexec, "python3")
    virtualenv_install_with_resources
```

to be changed to just

```
    virtualenv_install_with_resources
```
2016-10-02 18:08:56 -07:00
..
2016-10-01 20:00:49 +02:00
2016-10-02 17:30:08 +01:00
2016-09-25 00:16:31 +02:00
2016-10-02 17:30:08 +01:00
2016-10-01 20:00:49 +02:00
2016-10-01 12:13:09 +01:00
2016-09-25 19:55:34 +02:00
2016-10-01 20:00:49 +02:00
2016-09-23 18:19:53 +02:00
2016-09-23 15:30:07 +02:00
2016-09-23 15:30:07 +02:00
2016-09-23 18:19:53 +02:00
2016-09-23 15:30:07 +02:00
2016-09-25 19:55:34 +02:00
2016-09-25 00:22:53 +02:00
2016-09-17 15:00:46 +01:00
2016-09-23 15:30:06 +02:00
2016-10-01 20:00:49 +02:00
2016-09-23 18:19:53 +02:00
2016-09-24 12:24:35 +02:00
2016-09-23 18:19:53 +02:00
2016-10-01 20:00:49 +02:00
2016-10-02 17:30:08 +01:00
2016-09-23 18:19:53 +02:00
2016-10-01 20:00:49 +02:00
2016-09-24 19:28:26 +02:00
2016-09-24 19:28:26 +02:00
2016-09-23 18:19:53 +02:00
2016-09-23 18:19:53 +02:00
2016-09-24 12:24:35 +02:00
2016-10-01 20:00:49 +02:00
2016-09-24 18:55:03 +01:00
2016-09-23 18:19:53 +02:00
2016-09-18 10:28:23 -04:00
2016-09-24 12:24:35 +02:00
2016-09-23 18:19:53 +02:00
2016-09-21 11:45:47 -05:00
2016-09-20 10:41:42 +01:00
2016-10-01 20:00:49 +02:00
2016-09-23 18:19:53 +02:00
2016-09-23 18:19:53 +02:00
2016-09-23 15:30:07 +02:00
2016-09-24 12:24:35 +02:00
2016-10-01 20:00:49 +02:00

Homebrew's Formula API

This is the (partially) documented public API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!