aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2013-06-03depends_on :python Default to min vers 2.6 not 2.7Samuel John
To support system python on OS X
2013-06-03superenv: Work if build tool changes DEVELOPER_DIRSamuel John
Some build systems still set the DEVELOPER_DIR to /Developer and then nothing works any more (xcrun, xcodebuild etc.) I am looking at you MacVim.
2013-06-03Python 2.x and 3.x supportSamuel John
New `depends_on :python` Dependency. New `depends_on :python3` Dependency. To avoid having multiple formulae with endings -py2 and -py3, we will handle support for different pythons (2.x vs. 3.x) in the same formula. Further brewed vs. external python will be transparently supported. The formula also gets a new object `python`, which is false if no Python is available or the user has disabled it. Otherwise it is defined and provides several support methods: python.site_packages # the site-packages in the formula's Cellar python.global_site_packages python.binary # the full path to the python binary python.prefix python.version python.version.major python.version.minor python.xy # => e.g. "python2.7" python.incdir # includes of python python.libdir # the python dylib library python.pkg_config_path # used internally by brew python.from_osx? python.framework? python.universal? python.pypy? python.standard_caveats # Text to set PYTHONPATH for python.from_osx? python.if3then3 # => "" for 2.x and to "3" for 3.x. Further, to avoid code duplication, `python` takes an optional block that is run twice if the formula defines depends_on :python AND :python3. python do system python, 'setup.py', "--prefix=#{prefix}" end Read more in the Homebrew wiki.
2013-06-02Allow gcc-4.2 in HOMEBREW_CCJack Nagel
Fixes: $ HOMEBREW_CC=gcc brew irb ... irb(main):001:0> require 'superenv' => true irb(main):002:0> ENV.setup_build_environment => nil irb(main):003:0> ENV.setup_build_environment Warning: Invalid value for HOMEBREW_CC: gcc-4.2
2013-06-02InstallationError: don't search issues on < 1.8.6Misty De Meo
open-uri on Ruby pre-1.8.6 simply will not open https URLs at all, making it impossible to check the Github API using the same method as Homebrew. This may only be disabled temporarily until the issue search is rewritten, for example to use the curl helper.
2013-06-02Requirement: fix typoJack Nagel
2013-06-02PostgresqlDependency: use canonical name for default formulaJack Nagel
2013-06-02superenv: find Homebrew's gcc-4.2Misty De Meo
If we're using a homebrewed gcc-4.2, xcrun may fail to find it (or, worse, find superenv's shim instead). Explicitly add it to the PATH and search all path elements for the requested tool. Also make sure to specify 'gcc-4.2' as the compiler name, not plain 'gcc'. That can resolve to llvm-gcc and to gcc-4.0 on various Xcodes.
2013-06-02Update pull request regex name to include commits.Mike McQuaid
2013-06-01test_mach: move helper method out of global namespaceJack Nagel
2013-06-01Require hardware where it is neededJack Nagel
2013-05-27Audit url/devel/head for redundant :usingAdam Vandenberg
2013-05-27Add `brew search --debian <f>`Adam Vandenberg
2013-05-27audit: drop redundant 'each' after 'grep'Jack Nagel
2013-05-27superenv: Improve compiler selectionMisty De Meo
This fixes superenv on Xcode 3.2.6, and also fixes C++ software with gcc-4.2 on all Xcodes.
2013-05-27doctor: check git SSL settings on <= 10.5Jack Nagel
2013-05-26doctor: combine git origin checksJack Nagel
2013-05-26doctor: combine git existence and version checksJack Nagel
2013-05-26Add required methods to AbstractDownloadStrategyJack Nagel
Fixes Homebrew/homebrew#20080.
2013-05-25Fix Formula#installed_prefix logicJack Nagel
Due to the precedence of "and" relative to "||", this was not working as intended; but because #version influences #prefix, the outcome was still correct. So we can simplify this method quite a bit, and take the opportunity to share code with #prefix.
2013-05-25Add tests for Formula#installed_prefixJack Nagel
2013-05-25tests: extract common formula helperJack Nagel
2013-05-25build: expand dependencies only onceJack Nagel
Closes Homebrew/homebrew#20081.
2013-05-25build: expand requirements only onceJack Nagel
2013-05-25build: make deps an attribute of BuildJack Nagel
2013-05-25build: move build methods into a classJack Nagel
2013-05-25Dependency: use instanceof? in eql?Jack Nagel
This matches the eql? definition for requirements.
2013-05-25Remove cat_without_underscores bottle methods.Mike McQuaid
2013-05-24doctor: style nitsJack Nagel
2013-05-24outdated: yield version list rather than recreate itJack Nagel
2013-05-24Define inspect on Option and OptionsJack Nagel
2013-05-24upgrade: fix expansion of options for top-level formula objectsJack Nagel
Fixes Homebrew/homebrew#20045.
2013-05-24Remove default_formula from MPIDependency.Mike McQuaid
Closes Homebrew/homebrew#19966.
2013-05-23Directory, not folderJack Nagel
2013-05-23doctor: reorganize check_for_macgpg2Jack Nagel
2013-05-23doctor: simplify trailing slash checksJack Nagel
2013-05-23doctor: extract helper from stray file checksJack Nagel
2013-05-23MacOS::Xcode.latest_version: add TigerMisty De Meo
2013-05-23correct an indentAdam Vandenberg
2013-05-23doctor: fix check_for_broken_symlinksJack Nagel
Fixes Homebrew/homebrew#20000.
2013-05-23Allow brew log on deleted formulae.Adam Vandenberg
Closes Homebrew/homebrew#19995.
2013-05-22doctor: remove stale OS version checkJack Nagel
Closes Homebrew/homebrew#19959.
2013-05-22MacOS.version in case statement doesn't work with rangesJack Nagel
2013-05-22Refactor Xcode/CLT version checksJack Nagel
2013-05-22Use implicit beginJack Nagel
2013-05-22Hoist requires out of methodsJack Nagel
2013-05-22Remove unnecessary rescue-all exception handlingDaniel Lee Harple
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-22Added support for a GitHub Personal API Access tokenDaniel Lee Harple
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-22Check GitHub API rate limit instead of silently failingDaniel Lee Harple
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-22Pass a User-Agent when fetching data from the GitHub APIDaniel Lee Harple
See <http://developer.github.com/v3/#user-agent-required>. Signed-off-by: Jack Nagel <jacknagel@gmail.com>