aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2013-06-23document canonical name and move vars down to usageAdam Vandenberg
Closes Homebrew/homebrew#20719.
2013-06-23Use unicode escapeAdam Vandenberg
Prevents this character from being changed when resaving this file with TextMate (1) on Snow Leopard. Closes Homebrew/homebrew#20715.
2013-06-23irb: pass strings to factory, not symbolsAdam Vandenberg
2013-06-23remove no-op code in bottle.rbAdam Vandenberg
ARGV.formulae returns formulae, so no need to pass through factory
2013-06-23Clean the cleanerAdam Vandenberg
* Fix a comment; we pass in formulae not names * Don't pass the formula to factory; this is just a pass-through * Move require to top-level
2013-06-23caveats: tweak reload wording.Mike McQuaid
2013-06-22Extract constant in GitHub moduleJack Nagel
2013-06-22Extract method in Github moduleJack Nagel
2013-06-22Remove trailing whitespaceJack Nagel
2013-06-22Remove MultiJsonJack Nagel
Closes Homebrew/homebrew#20696.
2013-06-22Use OkJson directlyJack Nagel
2013-06-22Vendor OkJson directlyJack Nagel
2013-06-22Add Utils::JSON to wrap the JSON implementationJack Nagel
2013-06-22Homebrew has an actual license, remove stale commentJack Nagel
2013-06-22deps: allow "--installed --tree"Jack Nagel
2013-06-22deps: use OpenStruct to capture the modeJack Nagel
2013-06-22deps: remove need for Array extensionJack Nagel
2013-06-22deps: extract output methodsJack Nagel
2013-06-22ARGV: ensure ? methods return truth values.Mike McQuaid
2013-06-22bottles: add arguments cleanup TODO.Mike McQuaid
2013-06-22bottle: sort --merge output in OS X version order.Mike McQuaid
2013-06-22Don't use cats in bottle tag tests (thanks 10.9).Mike McQuaid
2013-06-21Don't clean up lockfiles if the directory doesn't existJack Nagel
Fixes Homebrew/homebrew#20673.
2013-06-21Clean up lockfilesJack Nagel
2013-06-20Remove unused accessorJack Nagel
2013-06-20Use a Set for skip_clean_pathsJack Nagel
2013-06-20Splatted parameter is always an arrayJack Nagel
2013-06-20perforce: add version detection regex.Mike McQuaid
2013-06-20Formula: improve local bottle failure messaging.Mike McQuaid
2013-06-19doctor: share/python no longer needed in PATHSamuel John
Check for HOMEBREW_PREFIX/share/python and python3 in PATH and tell about the new location and that files from there can be removed. Also instructions on how to upgrade python packages are given.
2013-06-19depends_on :python => 'module' allow user packagesSamuel John
Some prefer to install with `--user` into their home. For example to avoid `sudo` with system's python. Now Homebrew can use those modules to satisfy a python dependency on a certain module.
2013-06-18Linking Frameworks correctly if multiple.Samuel John
For example python and python3 both provide a `Python.framework` and OS X Frameworks are made to deal with this by putting them into `Versions` and linking the default one as `Current`. However, brew did not respect this and cleaned out stuff making neither of the two versions work because `Current` is replaced by an empty directory. This commit fixes that. However, still one of the two `Python.frameworks` has to remove it's `Current` and `Headers` links, because brew cannot decide alone which one is the "default" and allowed to set the `Current` link. A similar situation might apply to Qt 4 vs. 5..
2013-06-18Python module deps, ext. python fix and 10.6 fixSamuel John
* Fixes Homebrew/homebrew#20572 by tweaking the logic that decides which python is used by the `python` object inside a formula. There was a bug when on 10.6 there is no Python 2.7 but a :recommended Python was still treated as being available. * Use the user's PATH when looking for an external Python. Until now only brewed or OS X system's python have been found by `depends_on :python`. But now we support any Python in PATH (e.g. pyenv's python). * Further, instead of handling python modules and import tests in LanguageModuleDependency, these are now handled by: depends_on :python => 'numpy' # for example The old style depends_on 'numpy' => :python is still supported and is only an alias for the newer style (only for :python, the other languages are not altered by this commit). The reasoning is that if a formula requires a python module, it basically also needs python itself - and further that specific version of python has to provide the module. So the `PythonInstalled` is the natural place to check for the availability of a python module. Using a python module and other tags like :optional or :recommended is done like so: depends_on :python => [:optional, 'numpy'] Specifying another PyPi (Python Package index) name than the module import name is seldom used but supported, too: depends_on :python => ['enchant'=>'pyenchant'] A last note: For clarity, you can define multiple depends_on statements with different modules to be importable.`
2013-06-17Fix Xcode builds on 10.9.Clemens Gruber
CLT-only builds are still broken and need to be fixed at some point. Closes Homebrew/homebrew#20524. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-06-16Add minimum OS X version requirementAdam Vandenberg
Closes Homebrew/homebrew#19998. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-15Simplify regexp matchJack Nagel
2013-06-15These also get coerced to stringsJack Nagel
2013-06-15Push MacOS.cat logic down into MacOS::VersionJack Nagel
2013-06-15Add MacOS::Version.from_symbolJack Nagel
2013-06-15Avoid unnecessary float to string conversionJack Nagel
2013-06-14Run tests under actual OS versionJack Nagel
2013-06-14Simplify setting MACOS_VERSIONJack Nagel
2013-06-14Pass these as strings, they get converted anywayJack Nagel
2013-06-14Remove Version#to_a aliasJack Nagel
Exposing this as "to_a" was a mistake, versions are not arrays and it causes incorrect behavior when splatted or using Kernel#Array(). Use the more correct name "tokens" instead.
2013-06-14Fix pretty namesAdam Vandenberg
2013-06-14Move pretty_name into MacOS::VersionAdam Vandenberg
Closes Homebrew/homebrew#20507. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-14Fix another constant referenceJack Nagel
2013-06-14Fix constant referenceJack Nagel
2013-06-14Favor compound if over compound unlessJack Nagel
2013-06-14Use ||= instead of unlessJack Nagel