38 Commits

Author SHA1 Message Date
Dominyk Tiller
250e975645 example_formula: document pkgshare 2015-08-12 16:09:24 +01:00
BrewTestBot
13d544e11e Core files style updates.
Closes Homebrew/homebrew#42354.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 13:22:35 +01:00
Larry Gilbert
69b629b041 Various edits for punctuation, grammar, spelling, etc.
Closes Homebrew/homebrew#40478.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-06-10 17:44:00 +01:00
Nikolaus Wittenstein
cc21989107 Remove "An" from example-formula's desc
Formula descriptions shouldn't start with an article.
2015-06-05 14:47:59 +01:00
Nikolaus Wittenstein
664c8deaab example-formula.rb has a 'desc'
Closes Homebrew/homebrew#39911.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-25 17:23:51 +01:00
Xu Cheng
b378dfa7dc example-formula: calling prefix.install_metafiles is unnecessary 2015-03-27 16:13:59 +08:00
Dominyk Tiller
12861686b8 checksums: switch to sha256 for bottles and new formulae
Closes Homebrew/homebrew#37164.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-05 14:45:39 +00:00
Dominyk Tiller
8e12390fc8 Update Example Formula documentation.
I feel like we’re probably fighting a losing battle here, but here’s a
bundle more updates to the example formula to cover some ground not
already covered.

Closes Homebrew/homebrew#36644.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-09 12:40:10 +00:00
Dominyk Tiller
1c3a810830 Documentation Updates
Some minor changes to reflect Homebrew/homebrew#34989, and other bits and pieces.

Closes Homebrew/homebrew#35023.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-16 00:41:07 -05:00
Dominyk Tiller
e8d7d1df9c Documentation Updates
Mike probably wants to cast an eye over all of this, but in summary:

In the Example Formula:
* Updates with a revision example.
* Updates with a mirror mirror (Whoa meta).
* Replaces the bottles with more modern examples.
* Adds the Yosemite binary dependency options.
* Improves the plist documentation

In the Bottles doc:
* Modernises the expected bottle readout.
* Adds double quotes.

In the FAQ:
* Updates the bottle language to reflect Yosemite’s arrival and the
Bot’s new minimum OS bottle generation.

In the Formula-Cookbook:
* Adds a mega block on the OpenSSL situation in Homebrew, complete with
examples and explanation.
* Changes the X11 dependency example to optional to reflect Jack’s
recently-expressed pattern in other formulae.
* Explains why and how formulae are sometimes revisioned, and the
mechanism behind that.
* Updates the Ldapvi `otool` readout to reflect the new usage of
OpenSSL. Setting a good example and all that.
* Updates the Python language to match Tim’s new Python handling.
* Updates the naming block to explain how Homebrew handles name
conflicts, complete with examples.
* Updates (a tiny bit) the sandbox creation in /tmp to reflect the
current style.
* Updates the chmod to move away from +x towards 0555 instead.
* Labels the `enable-ham` option depreciated rather than old. Slightly
firmer.
* Updates the bottle block instructions to reflect Homebrew’s audit
mechanism not crying about it locally.

Closes Homebrew/homebrew#34275.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-18 09:12:39 +00:00
Mike McQuaid
19d12aee45 Import docs from wiki.
Closes Homebrew/homebrew#33211.
2014-10-26 14:57:36 +00:00
Jack Nagel
d3ae3419a9 Correct description of how to fail tests
Fixes Homebrew/homebrew#33463.
2014-10-21 22:43:46 -05:00
Jack Nagel
fa06438102 Undocument UnsafeSubersionDownloadStrategy 2014-10-18 17:55:29 -05:00
Jack Nagel
a6a4cd4c91 Remove incorrect comment from example formula
You can use any number of "/" operators, just as you can "+".
2014-09-20 00:44:52 -05:00
Imtiaz Majeed
83a3b7d2a0 Fix Grammar in example-formula.rb
Fix minor grammar: its -> it's

Closes Homebrew/homebrew#30826.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2014-07-11 22:56:41 -07:00
Jack Nagel
fb7ce8c484 Fix a typo 2014-06-18 19:22:45 -05:00
Jack Nagel
0357edcf3b Remove unicode from example formula 2014-06-04 16:41:07 -05:00
Jack Nagel
7242365ff3 Remove stray unicode 2014-06-04 16:02:39 -05:00
Jack Nagel
19f9d0aaf1 Remove example that is generally not required 2014-05-19 23:53:12 -05:00
Jack Nagel
6000c0caf9 Suggest current practice for autotools deps 2014-05-08 20:20:27 -05:00
Jack Nagel
fa667dc8d3 Don't advertise using CLT.installed? in the DSL, it's slow 2014-05-08 20:18:31 -05:00
Jack Nagel
f193196f7b Don't advertise :clt dependency, it's a last resort 2014-05-08 20:18:08 -05:00
Mike McQuaid
9a87cb85da example-formula: remove double quotes, cleanup. 2014-03-22 08:23:30 +00:00
Jack Nagel
a105c69214 Stop advertising deprecated symbol dependencies 2014-03-21 11:14:00 -05:00
Jack Nagel
bc6e4a1894 New patch implementation and DSL
This commit introduces a new patch implementation that supports
checksums and caching.

Patches are declared in blocks:

  patch do
    url ...
    sha1 ...
  end

A strip level of -p1 is assumed. It can be overridden using a symbol
argument:

  patch :p0 do
    url ...
    sha1 ...
  end

Patches can be declared in stable, devel, and head blocks. This form is
preferred over using conditionals.

  stable do
    # ...

    patch do
      url ...
      sha1 ...
    end
  end

Embedded (__END__) patches are declared like so:

  patch :DATA
  patch :p0, :DATA

Patches can also be embedded by passing a string. This makes it possible
to provide multiple embedded patches while making only some of them
conditional.

  patch :p0, "..."
2014-03-13 21:35:41 -05:00
Jack Nagel
3b76987fd7 Remove another reference to subformulae 2014-03-03 18:15:21 -06:00
Jack Nagel
75dd75bd24 Replace subformula example with a resource example 2014-03-03 18:14:02 -06:00
Jack Nagel
750b843edc Use Formula[] in example formula 2014-02-27 14:00:42 -06:00
Jack Nagel
03811e6423 Add example using a stable block 2014-02-24 22:44:30 -05:00
Jack Nagel
d6f7bc6446 Remove some bad practices from example formula 2014-02-24 22:41:21 -05:00
Welton Rodrigo
3805df0b44 Include buildpath info into example formula
The example formula had no information about how
to find the current bulding directory. Now it has ;)

Closes Homebrew/homebrew#26554.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-09 12:38:02 -08:00
Guillaume Algis
00cba6dc04 Fix comment error in example formula
Closes Homebrew/homebrew#26017.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-01-28 14:10:17 -06:00
Mike McQuaid
4c2e7b1659 Update docs, comment mxcl/homebrew refs. 2013-12-14 18:18:35 +00:00
Mike McQuaid
16aeb7bca4 example-formula: deprecate some Python features.
These will be removed soon so don't recommend them.
2013-12-12 21:07:41 +00:00
Benoit Daloze
ee1d8512bf Fix typo in example formula
Closes Homebrew/homebrew#25028.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-12-07 09:25:47 -08:00
Samyak Bhuta
a785a47452 typo
Closes Homebrew/homebrew#24803.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-30 10:55:38 -08:00
Raymie Stata
694a9c2eed add S3DownloadStrategy
downloads tarballs from public and private S3 buckets

Closes Homebrew/homebrew#22779.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-24 20:43:34 -07:00
Samuel John
78d436c68e Adding an example-formula.rb to show all features
A huge cheat sheet. Kind of.
2013-08-20 15:20:45 +02:00