28 Commits

Author SHA1 Message Date
Mike McQuaid
4b0e663c2c Improve bottle error messages.
On installation or creation of a bottle error out of the current
machine does not support bottles.

References Homebrew/homebrew#16291.
2012-12-04 12:06:02 +00:00
Mike McQuaid
549b07e8df Fix bad reference to local_bottle_path.
Fixes Homebrew/homebrew#16337.
2012-12-01 15:38:05 +00:00
Mike McQuaid
c4fb2b73e2 Support installing bottles from local files. 2012-12-01 12:45:23 +00:00
Mike McQuaid
bed2fa088b Don't fail to cleanup redacted formula. 2012-08-25 13:40:05 -07:00
Mike McQuaid
67f78074f9 Miscellaneous bottle code cleanup. 2012-08-25 13:08:46 -07:00
Mike McQuaid
82d1310800 Check formula options properly to rule out bottle.
Fixes Homebrew/homebrew#14148.
2012-08-25 11:52:37 -07:00
Mike McQuaid
d5b954ebd4 Fix ARGV and bottles circular dependency. 2012-08-25 11:52:37 -07:00
Mike McQuaid
3af3bc7dd5 Rename tab 'built_bottle' to 'build_as_bottle'. 2012-08-25 11:52:37 -07:00
Mike McQuaid
d2a8df71ce Fix bottling keg-only brews. 2012-07-22 16:09:58 +01:00
Jack Nagel
9a72fecf84 Decouple pathname from bottles
Pathname is one of the basic building block classes in Homebrew, and as
such it is preferrable that `require`ing it does not drag in other
Homebrew code; thus avoiding circular dependency situations. Its
dependency on bottles.rb gave it an implicit dependency on formula.rb,
among other things.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-05 20:32:55 -05:00
Jack Nagel
a38e2284ea bottles: protect against a nil bottle
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04 23:15:45 -05:00
Jack Nagel
76b2eee777 Refactor checksumming
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04 22:47:33 -05:00
Jack Nagel
98a11b8e57 Introduce new formula specs 2012-07-04 22:47:32 -05:00
Mike McQuaid
a1ce504e7d Cleanup old bottles. 2012-04-30 21:37:58 +08:00
Mike McQuaid
7c12324e0f Fix native bottle regex. 2012-04-30 21:37:46 +08:00
Mike McQuaid
ebe4e07fa3 Change versioned bottle syntax and fix issues.
Fixed Homebrew/homebrew#11562.
2012-04-24 18:53:45 +10:00
Mike McQuaid
f729a0df44 Fix screwup. 2012-04-24 18:46:43 +10:00
Mike McQuaid
d69620a55e Revert "Add and correctly find erlang bottle."
This reverts commit 146e253856eb3e27b6b7382734fd178c160c1beb.
2012-04-24 18:10:09 +10:00
Mike McQuaid
4138d30428 Revert "Change versioned bottle syntax and fix issues."
This reverts commit f80908bead8b620ebcc5cdde9de65e70598002b6.
2012-04-24 18:10:08 +10:00
Mike McQuaid
dcad1ae49f Add and correctly find erlang bottle. 2012-04-24 18:08:14 +10:00
Mike McQuaid
40370e05bd Change versioned bottle syntax and fix issues.
Fixed Homebrew/homebrew#11562.
2012-04-24 18:08:14 +10:00
Mike McQuaid
d502742e6d Allow forcing bottle installation. 2012-04-17 12:46:11 +10:00
Mike McQuaid
6010763159 Use current bottle versions to calculate new ones. 2012-04-04 15:44:51 +10:00
Mike McQuaid
a947064994 Version bottles. 2012-04-03 11:43:41 +10:00
Mike McQuaid
b059ffb952 Bottles currently require 64-bit hardware on 10.6. 2012-03-23 09:24:56 +13:00
Mike McQuaid
85452c5e91 Fix bottles on non-Lion. 2012-03-18 20:48:11 +13:00
Mike McQuaid
64457b2315 Remove reliance of bottle DSL on EOCLASS. 2012-03-18 20:38:18 +13:00
Mike McQuaid
552dcdc703 Move most bottle stuff to a bottles.rb file. 2012-03-10 18:10:40 +13:00