aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2013-03-28Make clear that this method discards argumentsJack Nagel
2013-03-28audit: don't complain about postgis using postgresqlAdam Vandenberg
2013-03-28info: make use of Tab#to_sJack Nagel
Closes #18788.
2013-03-28Tab#to_s returns a one-line summary of the receiptJack Nagel
2013-03-26doctor: check for all DYLD env varsAdam Vandenberg
2013-03-23LinuxCPUs: Fix method aliasSebastian Staudt
Closes #18683. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-03-23Hardware: separate out CPU values into CPU moduleMisty De Meo
* CPU functions now exist in Hardware::CPU * Added compatibility functions in compat/hardware_compat.rb * Names are less specific to Mac hardware, e.g. CPU.family instead of Hardware.intel_family * Hardware::CPU.family works for both Intel and PowerPC * New helper methods on CPU, like .sse4? and .altivec? Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-03-21Turn double modifier into a single conditionalJack Nagel
2013-03-21utils: remove obsolete commentJack Nagel
2013-03-21versions: add debug outputJack Nagel
2013-03-21versions: remove unnecessary variableJack Nagel
2013-03-21versions: unload constant before calling Formula.factoryRussell Teabeault
Closes #18634. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-21Better superenv support for Xcode elsewhereSamuel John
- The Library/ENV/4.3/xcrun shim now respects ENV['DEVELOPER_DIR'] instead assuming the location of /Applications/Xcode.app/Contents/Developer. - The env var DEVELOPER_DIR is set if it is not already. So, during superenv this var is always set and we no longer have to care about people with unset or wrongly set xcode-select stuff. This has been a major PITA in the past. - determine_developer_dir (which is used to set the DEVELOPER_DIR var) now uses MacOS::Xcode.prefix which is proven and very capable and uses splotlight correctly. - Replace (and remove) MacSystem.xcode43_developer_dir with Xcode.prefix Closes #18618
2013-03-21Replace remaining shelled-out `which`esMisty De Meo
2013-03-21Fix local installation of bottles.Mike McQuaid
Fixes #18631.
2013-03-20Fix `brew options --all`Jack Nagel
Fixes #18625.
2013-03-20Move this method somewhere more appropriateJack Nagel
2013-03-20Move Formula.all to compatJack Nagel
2013-03-20superenv: fix xcode43_developer_dir checkMisty De Meo
2013-03-20brew-info: specify whether poured or built.Mike McQuaid
- Store in the tab if a bottle was poured for the build. - Add an additional line of output to `brew info` outputting whether the formula was built from source or poured from a bottle. Closes #18430. Closes #18475.
2013-03-20superenv?: fail when xcode43_developer_dir raisesMisty De Meo
2013-03-20superenv: move check logic into superenv?Misty De Meo
Fixes #16292.
2013-03-20superenv: move MacSystem into separate fileMisty De Meo
This makes it requirable before superenv becomes active.
2013-03-18versions: remove FIXMEJack Nagel
I understand how this works now, and it is definitely necessary.
2013-03-18Simplify SoftwareSpec checksum methodsJack Nagel
Reader methods for specific checksum types have been absent from the Formula class for some time, so there isn't any reason to expose them in SoftwareSpec, either. Thus, these methods now only act as setters, and #checksum should be used to access the constructed Checksum object.
2013-03-18Reduce footprint of fails_with_llvm compat codeJack Nagel
2013-03-18Fix fails_with_llvm compatibilityJack Nagel
Fixes #18565.
2013-03-18doctor: Tweak git-clean suggestion for empty dirsSamuel John
git clean -f is not enough. Needs `-d` somtimes to handle cases when we rename a dir. Fixes #18544 and fixes #14224
2013-03-18cleaner: simplify verbose pathname extensionJack Nagel
2013-03-17Temporarily omit bottle source warning.Mike McQuaid
Pending a decent fix. Fixes #18540.
2013-03-16Fix `brew update` so that it doesn't show doublesPeter Aronoff
Under certain conditions, `brew update` will show doubles. It's a rare edge-case, but if you have a tap where the name of the formula is identical with the name of the insalled file, then you see output like this: ==> Updated Formulae aalib ssh-copy-id casperjs sshuttle jack telemachus/anytap/brew-any-tap mogenerator telemachus/anytap/brew-any-tap I believe this should fix that. Closes #18495. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-16ENV: clear influential include path varsJack Nagel
2013-03-16Decouple CompilerSelector from ENVJack Nagel
2013-03-16Use a priority queue to select compilersJack Nagel
The existing case-statement with nested if-statements is gross and hard to extend. Replacing it with a priority queue simplifies the logic and makes it very easy to add new compilers to the fails_with system, which we will likely want to do in the future.
2013-03-16Replace custom collection with SetJack Nagel
The original constraints that led to using a custom collection rather than Array or Set here no longer exist, so let's avoid the pointless abstraction here.
2013-03-16fix gcc tap suggestionAdam Vandenberg
Closes #18520.
2013-03-15audit github downloadsAdam Vandenberg
We want the new-style "/archive/" downloads.
2013-03-15audit: Improve url audits.Tobias Lidskog
* Add url check for GitHub home pages using http. * Add url check for GitHub repo urls using http. * Include url in error messages about url issues. Closes #18372.
2013-03-14Xcode 4.6.1 is releasedJack Nagel
Closes #18481.
2013-03-13doctor: add check for coreutils in pathAdam Vandenberg
2013-03-13doctor: mess with indentationAdam Vandenberg
2013-03-12Blacklist plain gcc formula with caveat pointing to homebrew-versionsXiyue Deng
Closes #17911. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-12Switch compilers when no build is specifiedJack Nagel
Given the current state of OS X compilers, the original fails_with behavior is becoming less useful, mostly resulting in build failures each time the compiler is updated. So make the following changes: When a build is specified, we retain the old behavior: switch compilers if the available compiler is <= the build, don't switch if it is > the build. When no build is specified, unconditionally switch compilers, and don't output the advice message. This allows us to mark formulae as perpetually failing, avoiding the need to update formulae each time a new compiler build is made available. As a bonus, this makes the logic much easier to reason about. Closes #18175.
2013-03-12Revert "Update `brew tap` to work without 'homebrew-'"Mike McQuaid
This reverts commit d72901f92b7385d44d8c980976db6a4336572e7e. References #18366. Closes #18432.
2013-03-12Update `brew tap` to work without 'homebrew-'Peter Aronoff
Currently `brew tap` only works on repos with 'homebrew-' in their name. This version tries the repo name as is and then falls back to try 'homebrew-repo' only if that fails. I've also tweaked the regex in tap_args to allow '-' in repo names. The previous regex required a match on \w. This made it impossible for people to tap repos with names like 'username/why-not'. Closes #18366. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-12Pass filename and lineno arguments to class_evalJack Nagel
2013-03-11mach.rb: remove incorrect commentJack Nagel
IO#read does not raise EOFError, it just returns an empty string for each call after it consumes the underlying file or stream. This module is going to be refactored and the begin/rescue is going to be removed anyway.
2013-03-11Relocate bottles using install_name_tool.Mike McQuaid
This has two parts: 1. Bottles are temporarily relocated on bottling and tested if that is sufficient for them to contain no longer reference the prefix or cellar. If so, they are marked as relocatable. 2. On installation if bottles are marked as relocatable they will be relocated using install_name_tool to the current prefix and cellar. Closes #18374.
2013-03-11Portability fixes to run Homebrew on Linux systemsShaun Jackman
Closes #16344. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-11Don't run certain functions on non-MACOS.Mike McQuaid