aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2014-04-03Add keg-only reason symbols for Xcode 4.3 and Xcode 5Jack Nagel
Closes Homebrew/homebrew#28095.
2014-04-03Remove special behavior of autotools symbol depsJack Nagel
Closes Homebrew/homebrew#28094.
2014-04-02Cache MacOS.version comparison resultsJack Nagel
MacOS.version#<=> is called many, many times during formula loading with the same half dozen or so arguments. A typical call to this method involves: * a hash lookup to convert a symbol argument to a string * creation of a throw-away Version object wrapping the argument * the actual version comparison, which is not cheap This makes it a prime candidate to be memoized.
2014-04-02Add fast path for CVS depJack Nagel
The search mechanism in MacOS::Xcode is very slow. It requires shelling out at least twice, and possibly a third time (in the CLT-only case). Calling provides_cvs? activates this in order to determine the Xcode version. But if we know that there isn't an Xcode available for the current OS that meets the criteria, we can avoid this check entirely.
2014-04-01Remove dead codeJack Nagel
2014-04-01Make keg_only validation lazyJack Nagel
2014-04-01The argument to pkgutil_info is always a stringJack Nagel
2014-04-01Batch up mdfind calls when possibleJack Nagel
2014-04-01Avoid calling xcodebuild twiceJack Nagel
2014-04-01Remove unused parameterJack Nagel
2014-04-01Extract tag and checksum selection from DSL methodJack Nagel
2014-04-01Remove now unnecessary branching from bottle DSL methodsJack Nagel
2014-04-01Stop jumping through hoops to get at the collector objectJack Nagel
2014-03-31Use resolved_path instead of dirname and readlink directlyJack Nagel
2014-03-31Remove default value from Keg#link_dir mode parameterJack Nagel
Now that this is always called with an explicit mode argument, let's make sure it stays that way.
2014-03-31Pass the link mode to resolve_any_conflictsJack Nagel
2014-03-31Move dnsiff to the boneyardJack Nagel
Closes Homebrew/homebrew#27642.
2014-03-31pocl: move to homebrew/science.Mike McQuaid
2014-03-31audit: check the use of Dir[]Mike McQuaid
Sometimes `Dir[]` is used with single files/directories unnecessarily.
2014-03-30Audit gnome URLs, prefer download.gnome.orgJack Nagel
2014-03-30Aliases never point at symlinks, so just use resolved_pathJack Nagel
2014-03-29Relocate files in share/pkgconfig tooJack Nagel
2014-03-29Calling find on nonexistent directories only works on 1.8Jack Nagel
2014-03-29Always call Process.wait with an argumentJack Nagel
2014-03-29Future-proof the build process fork/waitJack Nagel
2014-03-29Make sure we wait for the correct childJack Nagel
Fixes Homebrew/homebrew#27962.
2014-03-28Simplify collecting optionsJack Nagel
2014-03-28Don't rely on Dependency#to_sJack Nagel
2014-03-28Add revision to `brew info --json`Jack Nagel
Closes Homebrew/homebrew#27820.
2014-03-28Filter arguments for setup.py and build.pyJack Nagel
2014-03-28Make ENV changes in the child so we don't have to roll them backJack Nagel
2014-03-28Add ENV.refurbish_args helperMisty De Meo
Rationale: our arg refurbishment is normally only turned on when called via the `make` wrapper, for compatibility reasons. However, there are numberous places we'd like this to be turned on elsewhere, like software that builds via `python setup.py` where bad flags from the system python can be pulled in. This helper appends 'O' to CCCFG, which enables refurbishment for all calls of the compiler shims.
2014-03-28Move hwloc to homebrew/science.Dominique Orban
Closes Homebrew/homebrew#27949. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-03-28Migrate dotwrp, qrupdate, slicot to homebrew-scienceAdam Vandenberg
Closes Homebrew/homebrew#27743.
2014-03-27Move initializer after constants and class methodsJack Nagel
2014-03-27Fix class definition so we can require files firstJack Nagel
2014-03-27Only write files if we actually made a changeJack Nagel
2014-03-27Return early so we can reduce nesting of conditionalsJack Nagel
2014-03-27Fix overly defensive handling of src parameter in make_relative_symlinkJack Nagel
This method is for internal use only. It is unsuitable for use in formulae, which should use install_symlink to create relative symlinks. Thus callers are required to pass a Pathname, not a string, and we can remove this conditional. Further, if src is not absolute, then src.relative_path_from(dirname) will fail. All callers currently pass absolute pathnames. Therefore we don't need to call expand_path when printing it.
2014-03-27Don't mix boolean operator typesJack Nagel
2014-03-27Put constant strings in a constantJack Nagel
2014-03-27Fix Keg#find so we don't have to deal with it everywhereJack Nagel
lol inheritance
2014-03-27link: fix output ordering when exceptions are raisedJack Nagel
2014-03-27link: print wrapper is not always requiredJack Nagel
2014-03-27Replace files atomically when relocating, take twoJack Nagel
2014-03-27Revert "Replace files atomically when relocating"Jack Nagel
There are some weird interactions with ensure_writable and atomic_write that need to be sorted out. Fixes Homebrew/homebrew#27917. This reverts commit 41c21e6ea5647823a9e589a56f0494b622e26fb2.
2014-03-27extend/string: backport #rpartitionMisty De Meo
2014-03-27Assert that Keg#link produces relative symlinksJack Nagel
2014-03-27Assert that the broken symlink is actually overwrittenJack Nagel
2014-03-27Don't let broken symlinks halt linkingJack Nagel