6354 Commits

Author SHA1 Message Date
Jack Nagel
94333c64c1 SubversionDownloadStrategy: no need to escape 'svn' 2013-12-03 21:13:02 -06:00
Jack Nagel
6d7a3d7fa4 download_strategy: use clear_cache where appropriate 2013-12-03 10:14:11 -06:00
Jack Nagel
099954499f Move jscoverage to the boneyard 2013-12-02 16:22:43 -06:00
Jack Nagel
6071e3b54c Fix tap migrations
When a `brew update` pulls down additions to tap_migrations.rb and the
removed formulae in the same update, the migrations will never run,
because tap_migrations.rb is loaded before the update takes place. Fix
this by loading it after the update.
2013-12-02 16:22:40 -06:00
Jack Nagel
690474dd3b Extract compute_and_install_dependencies 2013-12-02 12:49:58 -06:00
Jack Nagel
b5f83e60f9 Re-check requirements if a bottle installation fails 2013-12-02 12:49:58 -06:00
Jack Nagel
69dcc2592c Don't mutate deps collection when expanding requirements
Fixes Homebrew/homebrew-science#213.
2013-12-02 12:47:50 -06:00
Jack Nagel
bcfafca56b Always clear unsatisfied_deps after installation 2013-12-02 12:44:28 -06:00
Jack Nagel
24a853ebe5 unsatisfied_deps cannot be nil 2013-12-02 12:44:28 -06:00
Jack Nagel
2b23c163af Rename effective_deps to unsatisfied_deps 2013-12-02 12:44:28 -06:00
Jack Nagel
4443a9f2e1 Emit deprecation warning for --use-{gcc,llvm,clang}
Closes Homebrew/homebrew#24864.
2013-12-02 01:17:32 -06:00
Jack Nagel
ea992b02e5 Fix typo 2013-12-02 01:16:50 -06:00
Jack Nagel
98f25e4407 Yielded value is not used 2013-12-02 00:16:48 -06:00
Jack Nagel
4d8e023b7f Revert "Disable bottles when HOMEBREW_CELLAR.parent != HOMEBREW_PREFIX"
This reverts commit fdf20dc43971b728520d518f3b6ef0bcb16aeb21.

Closes Homebrew/homebrew#24831.
Closes Homebrew/homebrew#24780.
2013-12-01 17:06:56 -06:00
Jack Nagel
4a972e5f41 Ensure cellar path is replace correctly for relocatable bottles 2013-12-01 17:05:02 -06:00
Jack Nagel
d6a94eb452 Skip path replacement when it would be a no-op 2013-12-01 17:05:02 -06:00
Jack Nagel
0224bce9f6 Extract repeated regexp to a method 2013-12-01 17:05:02 -06:00
Adam Vandenberg
4ed9efd995 Move lmutil to homebrew-binary
Closes Homebrew/homebrew#24843.
2013-12-01 13:59:27 -08:00
Mike McQuaid
fe4370cdd0 bottle: make writing commit message more robust. 2013-12-01 10:26:20 -08:00
Jack Nagel
2b8e0c8f79 Disable bottles when HOMEBREW_CELLAR.parent != HOMEBREW_PREFIX 2013-11-30 16:44:14 -06:00
Jack Nagel
5a9356a204 Revert "disable :any bottles due to Homebrew/homebrew#24780"
This reverts commit 31bab6e52b7ed8c63421b9c647d0592af2ee2635.
2013-11-30 16:35:58 -06:00
Samyak Bhuta
a785a47452 typo
Closes Homebrew/homebrew#24803.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-30 10:55:38 -08:00
Adam Vandenberg
9d72738c54 disable :any bottles due to Homebrew/homebrew#24780 2013-11-30 10:47:46 -08:00
Jack Nagel
bac8cce29f Flush stdout before leaving Formula#system 2013-11-29 21:05:28 -06:00
Jack Nagel
ae1d00e31f Revert "FormulaInstaller: flush before closing writes."
This reverts commit 5ce8f7a3a494e1d8e812369301fd4c4a05a7d9b7.
2013-11-29 21:05:27 -06:00
Adam Vandenberg
268feffae4 support .lz archives
Closes Homebrew/homebrew#24775.
2013-11-29 15:18:49 -08:00
Jack Nagel
06bf1c0f02 Implement MacOS.dev_tools_prefix a different way
Avoid producing a dev_tools_path of "//usr/bin".

Fixes Homebrew/homebrew#24751.
Closes Homebrew/homebrew#24754.
2013-11-28 19:27:33 -06:00
Adam Vandenberg
acd2bd0738 Move cmucl to homebrew-binary 2013-11-28 12:42:45 -08:00
Adam Vandenberg
0c97642979 Move aimage to boneyard
No longer maintained; homepage suggests alternatives.

Closes Homebrew/homebrew#24728.
2013-11-28 11:56:26 -08:00
Adam Vandenberg
f2568ac637 typo 2013-11-28 11:21:54 -08:00
Jack Nagel
0581532fdc Require Formula before using it 2013-11-27 17:30:21 -06:00
Jack Nagel
14b19ba3c4 Adjust optimization flags if the CPU does not support SSE4
Tentatively fixes Homebrew/homebrew#21778, Homebrew/homebrew#24363.
2013-11-27 17:25:27 -06:00
Mike McQuaid
8ba503ebb6 resource: convert unpack target to Pathname. 2013-11-27 13:29:24 +00:00
Mike McQuaid
48e4fbc8d9 Mac: add dev_tools_prefix method.
Basically dev_tools_path without the `/usr/bin`.
2013-11-27 08:53:02 +00:00
Mike McQuaid
9773b9e8bf bottle: write bottle version in commit message. 2013-11-27 08:31:26 +00:00
Jack Nagel
1bab14418c Add test for 5c1ee9c1aeee00e512919f37d3fa66fcf637e070 2013-11-26 23:31:53 -06:00
Jack Nagel
ea32b5166c ApacheDownloadStrategy: fall back to specified mirrors
Fixes Homebrew/homebrew#24157.
2013-11-26 22:57:10 -06:00
Jack Nagel
4584407425 Fix parsing of "-I foo" and "-L foo" under superenv
Fixes Homebrew/homebrew#24654.
2013-11-26 21:42:10 -06:00
Jack Nagel
85f424b270 SoftwareSpec: set resource version when missing
Closes Homebrew/homebrew#24695.
2013-11-26 20:35:28 -06:00
Jack Nagel
7ef03c35f7 audit: distinguish between nil and empty versions 2013-11-26 20:35:07 -06:00
Jack Nagel
6f7dcb08e8 Add Hardware::CPU.aes? and Hardware::CPU.avx2? 2013-11-26 20:23:19 -06:00
Jack Nagel
cb18b9e77e Add Hardware::CPU.intel? and Hardware::CPU.ppc? 2013-11-26 20:23:19 -06:00
Jack Nagel
48e8be2454 Remove caching from MacOS.preferred_arch
The really expensive computation is now cached at its source, and this
only caches true anyway.
2013-11-26 20:23:19 -06:00
Jack Nagel
cb350fa9eb Simplify Hardware::CPU.is_64_bit? 2013-11-26 20:23:19 -06:00
Jack Nagel
f172413a26 Cache calls to sysctl_bool at the source 2013-11-26 20:23:19 -06:00
Mike McQuaid
3c3bd76528 FormulaInstaller: flush before closing writes.
This seems to help the problem with `brew install -v` sometimes truncating output.

Closes Homebrew/homebrew#24666.
2013-11-26 16:28:27 +00:00
Mike McQuaid
435e293857 tap_migrations: add opencv (even although old). 2013-11-26 08:04:43 +00:00
MinRK
cb7f158663 safer check for sys.executable in sitecustomize.py
make sure it doesn't actually point to something else

since sitecustomize.py is put in a location found by pypy,
it breaks pypy by setting sys.executable to a path that is definitely wrong,
and may not even exist.

Closes Homebrew/homebrew#24581.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-25 20:48:41 -08:00
Jack Nagel
6675fd88fc Fix some unanchored patch URLs 2013-11-25 13:22:03 -06:00
Adam Vandenberg
09c9d51988 fix typo 2013-11-23 16:28:20 -08:00