aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2013-09-17SoftwareSpec tests are now Resource testsJack Nagel
2013-09-17Decouple Resource from SoftwareSpecJack Nagel
2013-09-17Combine attr declarationsJack Nagel
2013-09-17superenv: don't set CC in ENV.clang/etc.Misty De Meo
These methods were overriding CC and causing superenv to potentially skip the compiler wrapper - especially if no wrapper existed for the compiler being used, e.g. GNU GCCs. Closes #22443. Fixes #22249. Fixes #22424. Fixes #22506. Fixes #22521. Fixes Homebrew/versions#207.
2013-09-17Move CompilerSelector logic into build env setupMisty De Meo
This moves the CompilerSelector fails_with logic into the build environment setup, making the compiler selection available before performing actions that depends on knowing what the compiler is, e.g. setting up PATH. ENV.setup_build_environment now optionally takes a Formula argument to provide the information necessary to do the fails_with, and the new ENV.validate_cc! extracts the fails_with logic from Build.install.
2013-09-17inreplace: Open the file as binaryShaun Jackman
Closes #22628. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-09-17make linkapps officialAdam Vandenberg
2013-09-17move paths to utilsAdam Vandenberg
2013-09-17brew commandsAdam Vandenberg
Shows a list of built-in commands (but not shortcuts) and searches for any external commands on the path. Closes #22509.
2013-09-16Rephrase conditionalJack Nagel
2013-09-16Treat target as binary when unpacking gzip-only archivesJack Nagel
2013-09-16Cater to download strategies not yielding a fileSamuel Cochran
Closes #22580. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-09-16Open files in binary mode where appropriateJack Nagel
2013-09-14Copies of BuildOptions should not share underlying collectionsJack Nagel
2013-09-14Tear down the cache after installation testsJack Nagel
2013-09-14Move SoftwareSpec to a separate fileJack Nagel
2013-09-14PythonHelper: move old_env outside begin block.Mike McQuaid
2013-09-14Rename PythonInstalled to PythonDependency.Mike McQuaid
Make it more consistent with other requirements.
2013-09-14MinimumMacOSRequirement: rename file.Mike McQuaid
Should be using minimum_mac_os_requirement.rb
2013-09-13Remove unused attrJack Nagel
2013-09-13Stop exposing the download strategy from FormulaJack Nagel
2013-09-13head DSL can accept a blockJack Nagel
2013-09-13Stop mutating dependency specificationsJack Nagel
2013-09-12Use SoftwareSpec directly when using a stable blockJack Nagel
2013-09-11Allow resource fetchingAdam Vandenberg
Closes #20047.
2013-09-11Implement ResourcesAdam Vandenberg
Closes #20212.
2013-09-10bottle: loosen prefix grep check.Mike McQuaid
/usr/local is in lots of things unrelated to Homebrew so be more specific and look for opt instead.
2013-09-10update: restore previous state when interruptedJack Nagel
Fixes #19460. Closes #22375.
2013-09-10Fix CompilerSelector test for llvmMisty De Meo
Update test to reflect that llvm-gcc should take precedence over non-Apple GCC.
2013-09-10Compiler priority: fix llvm-gcc priorityMisty De Meo
llvm-gcc should still get priority over non-Apple GCCs. Fixes #22424.
2013-09-09git-etc: add removed files too.Mike McQuaid
2013-09-07Close read pipe immediately after reading and only when initializedJack Nagel
c.f. #22386.
2013-09-07audit: print warning and description.Mike McQuaid
2013-09-07Rewrite conditions in more natural wayJack Nagel
2013-09-07Use block-form of File.open and let Ruby do the cleanupJack Nagel
2013-09-07ARGV.verbose? is always false hereJack Nagel
2013-09-07Optionally use git to keep brew etc versioned.Mike McQuaid
Still in alpha state. Handles defaults and merging changes with new versions. Enable by setting the HOMEBREW_GIT_ETC environment variable. Closes #15751. Closes #17713.
2013-09-06Fix file descriptor leak in Formula#systemJack Nagel
2013-09-06Close the read end of the error pipe after the buildJack Nagel
2013-09-06Enable verbose compile command in create template.Xiyue Deng
* Add "--disable-silent-rules" option to autotools-based configure options. - Also add comments to notify user removing unrecognized configure options. * Add "-DCMAKE_VERBOSE_MAKEFILE=ON" to cmake-based configure options.
2013-09-06ENV: remove trailing slash from OpenGL header pathJack Nagel
2013-09-05Fix breakage in option recognitionJack Nagel
Fixes #22347.
2013-09-05Revert Library/Homebrew/cmd/install.rb to 4b320eec.Xiyue Deng
* Fix problem when install exception got swallow and reinstall thinks it succeeded.
2013-09-05Suggest installing pip via easy_installMax Howell
2013-09-05Improve python tests for brew botsSamuel John
Allow `build.with?` and similar methods to be used during the test phase. The BuildOptions (`build`) are initialized with the `Tab.used_options` unless explicitly overwritten on the command line. So basically `build.with?` works in `def install` and in `test do` as one would naively expect. (For the test, gramatically it should be `built.with?` but who cares) If a formula was installed `--with-python`, now the tests are also run `--with-python`. This enables us to use the `python do ... end` in a meaningful manner. Using `python do ... end` blocks for the tests, because the bot.brew.sh has system python per default and we need to set the PYTHONPATH for the test. Potentially to different values for Python 2.x and 3.x.
2013-09-05reinstall cleanupSamuel John
2013-09-05Make reinstall transaction safe.Xiyue Deng
* Aborting during reinstall will now restore the originally installed keg. - Change install code to pass on CannotInstallFormulaError exception to caller so it can be reused in reinstall. * Add "--force-new-install" flag to force installing a new formula. Closes #22190. Signed-off-by: Samuel John <github@SamuelJohn.de>
2013-09-03ENV: convert values to strings in cc settersJack Nagel
2013-09-03ENV: use cc accessorJack Nagel
2013-09-03pil: is now blacklisted.Samuel John
PIL has been removed and users should use pillow either by `pip install pillo` or `brew install samueljohn/python/pillow`.