aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
AgeCommit message (Collapse)Author
2010-08-07Add 'skip_clean :all' to the DSL.Adam Vandenberg
2010-08-07Add keg-only to DSLAdam Vandenberg
2010-08-07added man subdirectories man2-man8Sam X Nguyen
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-07Sort and line up path helpersAdam Vandenberg
2010-08-07Deprecate using symbols to define depsAdam Vandenberg
2010-08-07"url" now has same features as "head"Adam Vandenberg
Specifically, it can accept all the VCS tag specs that head could, making it more useful for defining stable versions that come from VCS instead of tarballs. A new "SoftwareSpecification" class was added to implement this. This new class holds a "spec" for downloading a software package. It combines the url (or head url) with the "specs" [1] that head has been able to take. This allows both the stable (url) and unstable (head) specification for a software package to co-exist without stomping on each others "specs". [1] "specs" contain instructions on which branch/tag/revision/etc. to use from the source repository URL.
2010-08-07Add 'aka' removal notice.Adam Vandenberg
'aka' is no longer used to define aliases, but we'll keep the method around with a warning so non-master brews have a chance to remove any aka's; otherwise pushing the change will break private brews and we don't want to do that.
2010-08-07Skip broken formulaeAdam Vandenberg
2010-08-07New Aliasing system is plenty less code :)Max Howell
2010-07-18Use build_head here too.Adam Vandenberg
2010-07-03Allow user to override temp folder with HOMEBREW_TEMPAdam Vandenberg
2010-06-18Note how to redownload tarballs on failed checksum.Adam Vandenberg
Fixes Homebrew/homebrew#659
2010-06-16Add "fails_with_llvm" to formula to document LLVM build breaks.Adam Vandenberg
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm", to specifically message to the user when a formula is known or suspected to not build with LLVM. If the user specifies "--use-llvm", the message will be displayed, but compilation will be tried anyway. Since using LLVM is now an advanced/hidden feature instead of the default on 10.6, we'll let the user try anyway (and submit patches if things are now working.)
2010-06-15External: 'brew fetch' downloads tarballs to cache.Adam Vandenberg
2010-06-15Set HOMEBREW_DEBUG_INSTALL when in a shell during install -d|-iAdam Vandenberg
When an "install -d formula" fails, and the user gets dropped into an interactive shell, set the HOMEBREW_DEBUG_INSTALL env var to the name for the formula that failed. Also set variable if the user requests an interactive install in the first place. Note that this may be different than the formula being installed, since it may have been a dep that failed. Also remove todo in utils; users can now look for HOMEBREW_DEBUG_INSTALL in their prompt command, and adjust their prompts accordingly.
2010-06-10Failures during ./configure should mention config.log.Adam Vandenberg
2010-06-01Split patching message into downloading and patchingAdam Vandenberg
2010-05-05Let GitDownloadStrategy report its cache location.Adam Vandenberg
2010-05-02Tweak formatting in previous commit.Adam Vandenberg
2010-05-02Show digest mismatch in verify_download_integrityYarrow
Report "Expected <supplied digest>, got <file's digest>" when verify_download_integrity sees a mismatch. (It had been, confusingly, reporting "Expected <file's digest>".) Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-17Read all formula in a 'rescue' block.Adam Vandenberg
For operations that read all formulae, catch exceptions and skip broken ones, rather than bomb out entirely.
2010-04-10Only respect :using specs when downloading HEAD.Martin Kühl
When a formula specifies both an `url` and a `head`, and the latter specified a `:using` spec, brew would try to fetch the `url` using the specified download strategy. With this change, brew respects `:using` specs only when determining the download strategy for `head`. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-09Support jruby external dependencies.Adam Vandenberg
* Add tests that run only if 'jruby' is installed. * Note that if your formula has :jruby deps, it should likely "depend_on 'jruby'" as well.
2010-04-06Only check @specs for :using if @specs exists. Fixes Homebrew/homebrew#1127.Adam Vandenberg
2010-04-06Allow :using on head to specify a download strategy.Adam Vandenberg
A 'head' in a formula can now specify which download strategy to use via a ':using' specification: head 'http://svn.macosforge.org/repository/darwinbuild/trunk/', :using => :svn This reduces the number of cases where "download_strategy" needs to be overriden.
2010-04-06Remove silly concatenation.Adam Vandenberg
2010-03-30More hashing refactoring to work with byte chunksJake Good
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-23More effective use of incremental MD5 to eliminate loading entire tarball ↵Jake Good
into memory Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-22Add md5 on 'brew create' if we can figure it out.Adam Vandenberg
2010-03-01Move license block to separate LICENSE file.Adam Vandenberg
2010-02-24brew --cache [formula]Adam Vandenberg
This developer-oriented command lets you ask Homebrew what the cached filename will be for a brew's tarball.
2010-02-02Bazaar download strategyDavid Höppner
2010-02-01Create Download Strategy sooner in formula install code.Adam Vandenberg
* Instantiate DownloadStrategy instance when creating a formula. * Rename CurlDownloadStrategy member to clarify what it is for. * Generate downloaded tarball name in initialize.
2010-01-14Added CMake parameter to suppress warningsFlorian Sowade
The -Wno-dev CMake parameter suppresses warnings meant for the developer, not the user.
2010-01-13Improve error when no url givenAsh Berlin
2010-01-13Adds: depends_on 'simplejson' => :pythonMax Howell
So far we only added python, but we can add more. Fixes Homebrew/homebrew#401
2010-01-13Fixes Homebrew/homebrew#433Adam Vandenberg
2010-01-13Formulary commentsMax Howell
2009-12-19Just try requiring, instead of looking for the name first.Adam Vandenberg
2009-12-19Fix Formula path.Adam Vandenberg
Linking "Library" under prefix is optional, but Library will always exist relative to the REPOSITORY folder, so use that instead of prefix for formula paths.
2009-12-17Allow https on more download strategies.Adam Vandenberg
2009-12-12Some small style reformatsAdam Vandenberg
2009-12-12Mercurial - recognize Google Code repos and support revisions.Adam Vandenberg
2009-12-12Better error message if exec failsMax Howell
2009-12-05Comments reflect actual patch level of 1.Ben Olive
Updated comments to match new default patch level from revision 4fe374d
2009-12-01include FileUtils into FormulaMax Howell
Thus mv, rm etc, functions are almost as handy as pure shell scripting, without issues related to spaces in filenames.
2009-11-19Refactor formula_test.Adam Vandenberg
2009-11-19New command 'brew deps [formula]'Adam Vandenberg
Where brew info will show the next-level-down dependencies, brew deps will show all of the formulae that a given formula depends on.
2009-11-19Add alias support to formulaeAdam Vandenberg
* brew install will find an aliased formula * aliases are searched against * warn when creating a new formula that has an existing alias. If Subversion has an alias "svn", then warn when the user tries to create a new formula "svn". The formula can still be created, though the user should make sure it's not a duplicate of the existing aliased one. Subversion and Objective-Caml formulas get some alises here, so we have something to test against.
2009-11-19Add brew command 'uses'Adam Vandenberg
'uses' shows the formulas that depend on a formula given on the command-line.