mxcl/homebrew — pull request #9735 by mistydemeo (2012-01-23 04:43:10+00:00)
Title: Add `devel` to the DSL

re: #8724

Finally got around to adding `devel` to the DSL, and wanted to get opinions on the implementation.

Following @adamv's suggestion, `devel` takes a block which should contain standard `url` and `md5` fields (and `version`, if necessary). This must come after the standard DSL fields. Example:

```ruby
url 'ftp://ftp.fox-toolkit.org/pub/fox-1.6.44.tar.gz'
md5 '6ccc8cbcfa6e4c8b6e4deeeb39c36434'
homepage 'http://www.fox-toolkit.org/'

devel do
url 'http://ftp.fox-toolkit.org/pub/fox-1.7.30.tar.gz'
md5 '345df53f1e652bc99d1348444b4e3016'
end
```

This currently doesn't add `stable` or `head` fields, but I can do that if you'd like. `stable` seems like it would add a fair bit of noise to the standard use case, and `head` doesn't really seem to need more than one field since `version` and checksum don't apply.

I also migrated over all the formulae currently using `devel` to the new syntax, as well as formulae which used `head` for non-VCS urls, and added some checks in `brew audit`.

@mxcl @adamv @Sharpie @mikemcquaid @jacknagel - what do you think?