5541 Commits

Author SHA1 Message Date
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
Adam Vandenberg
3ef1a9241d Redact boost149 from core
boost149 does not build with 10.9, so remove it from core along with two
formulae that do not build with the latest version of Boost.

Closes Homebrew/homebrew#23696.
2013-11-23 16:05:51 -08:00
Adam Vandenberg
2efc1dd3f1 audit: remove 'python bindings' warning 2013-11-23 13:53:55 -08:00
Misty De Meo
426f5c0666 Fix MacOS::CLT.installed? for 10.9+
This continues to use mavericks_dev_tools? instead of trying to read
from pkgutil because pkgutil is really slow.

Fixes Homebrew/homebrew#24123.
2013-11-22 20:47:57 -08:00
Jack Nagel
be08993a79 Avoid globals when ivars will do 2013-11-21 17:17:56 -06:00
Jack Nagel
ce5f4ad4df Move some global methods into the context in which they used 2013-11-21 17:17:56 -06:00
Jack Nagel
a40a0e1862 Remove some monkeypatches 2013-11-21 17:17:55 -06:00
Jack Nagel
8c613e618b Use grep instead of select + match 2013-11-21 17:13:49 -06:00
Jack Nagel
f89c8bbaf9 Remove comment 2013-11-21 17:13:37 -06:00
Jack Nagel
9584320668 Allow -Wno- flags to pass through
These inhibit warnings-as-errors, so allow them to pass through.
2013-11-21 16:44:52 -06:00
Jack Nagel
de9b1845e0 Remove uses of -no-cpp-precomp 2013-11-20 15:02:04 -06:00
Jack Nagel
f5e63f77a2 Remove outdated blacklist entries
libxslt was misspelled, but more to the point we have libxml2 and
libxslt formulae in core these days so blacklisting them doesn't really
make much sense.
2013-11-20 14:43:07 -06:00
Jack Nagel
0a236abe53 Simplify passing archflags to cc wrapper 2013-11-20 13:19:14 -06:00
Jack Nagel
e0d2492247 Move optimization flag selection out of cc wrapper
The mapping of architectures to optimization flags is now retrieved from
Hardware::CPU and the selected flags are passed as an environmen
variable, rather than duplicated in the cc wrapper and re-calculated on
every invocation of the compiler.

Closes Homebrew/homebrew#24540.
2013-11-20 13:19:06 -06:00