Jack Nagel
7adbb1ccb9
Single character options should not be used in a formula
2014-08-28 23:54:00 -05:00
Jack Nagel
db04b04135
Simplify implementation of ARGV.flag? and ARGV.switch?
2014-08-28 22:11:08 -05:00
Jack Nagel
54348f55d8
Use two-argument form of String#slice
2014-08-28 22:11:08 -05:00
Jack Nagel
e18da89f3c
Implement ARGV.named in terms of ARGV.options_only
2014-08-28 22:11:08 -05:00
Jack Nagel
7a5e4f5cca
ARGV.spec should be private
2014-08-28 21:35:52 -05:00
Shaun Jackman
8e3e0be6d1
gettext, readline: Add keg_only :shadowed_by_osx
...
Closes Homebrew/homebrew#31951 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-08-28 17:01:38 -05:00
Jack Nagel
6b9a929e40
Rewrite missing_options in a more obvious way
2014-08-27 23:28:00 -05:00
Kyle Gorman
5664e04b08
Move OpenFST and OpenGRM-ngram to homebrew-science
...
Closes Homebrew/homebrew#31905 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-08-27 21:46:52 -05:00
Jack Nagel
4adff0c25c
Tweak copy
2014-08-27 20:12:34 -05:00
Jack Nagel
26467fa9d7
Make sure all exceptions are sent back to the parent process
2014-08-27 17:25:13 -05:00
Jack Nagel
9386902cf8
Explicitly pass options into the build object
2014-08-27 17:25:13 -05:00
Jack Nagel
889996daf1
Spell out formula in parameter and attribute names
2014-08-27 17:25:13 -05:00
Jack Nagel
b46f8caa8f
Object#methods returns an array of symbols on 1.9+
...
Fixes Homebrew/homebrew#31926 .
2014-08-27 15:47:09 -05:00
Jack Nagel
f7f8ca45fc
Remove to_str from Option
...
We no longer need implicit conversion of options to strings.
2014-08-27 14:08:14 -05:00
Jack Nagel
f5d18cceb6
Structure the build process so that we don't need an at_exit hook
2014-08-26 22:06:43 -05:00
Jack Nagel
11f880801c
Avoid intermediate option objects
2014-08-26 15:48:16 -05:00
Mike McQuaid
58cb4444da
etc.install: handle recursive directory installs.
...
We need to install the helper module not just on `etc` but also on all
subdirectories of it too. Also, handle the case where we install
a subdirectory with etc.install.
Closes Homebrew/homebrew#26145 .
2014-08-26 08:30:47 +01:00
Jack Nagel
31dc3d1f42
Inline variable
2014-08-25 20:43:11 -05:00
Mike McQuaid
4db0aa19c1
install: search when formula isn't found.
...
If you do `brew install blah` it currently doesn't search for it. This
seems to be unintentional looking at this code as the exception thrown
by ARGV.formulae.each is not caught and handled. Instead, let's handle
this case and provide a little more usability around our taps.
Closes Homebrew/homebrew#31761 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-25 09:24:30 +01:00
Mike McQuaid
8abc12296b
requirements: don't print out java_home.
2014-08-25 09:24:08 +01:00
Larry Shaffer
ba8ef6a7ed
Add friendlier local file missing error
...
Closes Homebrew/homebrew#26481 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-08-24 23:26:36 -05:00
Jack Nagel
ccf37d5ac0
Revert "Use the dependency object as the key in the inherited_options hash"
...
This reverts commit c8d3b39165bb11799d7849ee13a3559ad0bd63f4.
2014-08-24 16:14:16 -05:00
Jack Nagel
1ef2819979
Use the dependency object as the key in the inherited_options hash
2014-08-24 16:11:51 -05:00
Jack Nagel
8aabba670f
Consider on-disk state when computing dependencies
...
Fixes Homebrew/homebrew#28754 .
Fixes Homebrew/homebrew#29846 .
Fixes Homebrew/homebrew#30920 .
2014-08-24 14:46:34 -05:00
Jack Nagel
b0c1e5f7d6
Fix redefinition of x11 reader method in superenv
2014-08-24 14:32:10 -05:00
Jack Nagel
566442606a
Remove an unnecessary default argument
2014-08-23 22:41:35 -05:00
Jack Nagel
05bb612ce7
Use opt_prefix instead of constructing it manually
2014-08-23 17:42:13 -05:00
Jack Nagel
3a96a1a594
Use a set to track failed downloads
2014-08-22 22:55:10 -05:00
Jack Nagel
fd4f985cb6
Rescue only DownloadError
2014-08-22 22:55:10 -05:00
Jack Nagel
262a503b6f
Decouple IncompatibleCxxStdlibs from its superclass
...
This exception is never used outside of the CxxStdlib class, so we don't
need the Homebrew::InstallationError superclass.
2014-08-22 22:37:35 -05:00
Jack Nagel
3d26b75847
Pull common stdlib checking code into a method
2014-08-22 22:18:03 -05:00
Arne Jørgensen
f936b33279
drush: move to Homebrew/php tap.
...
Closes Homebrew/homebrew#31726 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-22 16:48:53 +01:00
Jack Nagel
0bf3ec593d
Fix false positive audit warning
2014-08-21 15:13:13 -05:00
Jack Nagel
af3d551de7
Options no longer needs deep-copy semantics
...
Follow-up to 23d90a6a187a57fbdf4eeac146993e3b37c3d4d9.
2014-08-20 19:05:49 -05:00
Jack Nagel
023f02b90a
Make fails_with available in spec blocks
...
Closes Homebrew/homebrew#31706 .
2014-08-19 17:14:02 -05:00
Jack Nagel
00220c40db
Don't overwrite optimization flag map in ENV.clang
2014-08-18 16:02:53 -05:00
Jack Nagel
b5aed44825
Do not close inherited file descriptors in compiler wrapper
2014-08-17 17:35:56 -05:00
Larry Shaffer
b6cca78e05
Upgrade honors build_bottle? and built_as_bottle options
...
Closes Homebrew/homebrew#31628 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-08-17 15:36:24 -05:00
Jack Nagel
92eb96aca0
Use the build accessor rather than metaprogramming
2014-08-16 23:04:48 -05:00
Jack Nagel
281646b089
Define the test_defined? method dynamically
2014-08-16 17:44:22 -05:00
Jack Nagel
c0ef3d1541
Use the keg_only_reason instance method in keg_only?
2014-08-16 15:41:14 -05:00
Mike McQuaid
4140671329
brew-pull: don't barf on syntax errors.
2014-08-16 20:08:45 +01:00
Mike McQuaid
2d91613d06
fetch: retry the download on a failure.
2014-08-16 08:49:01 +01:00
Jack Nagel
95aef55110
Simplify cxxstdlib_check implementation
...
The cxxstdlib_check method currently only supports one value, so we can
just define the accompanying instance method when necessary. If we ever
add more options we can back it with a data structure.
2014-08-16 02:16:05 -05:00
Jack Nagel
e6498f4dfc
Remove the universal accessor from BuildOptions
...
BuildOptions is now immutable (finally).
2014-08-16 01:39:33 -05:00
Misty De Meo
cb7b9945cd
superenv: filter -Wno-long-double
...
This flag was supported in gcc-4.0, but not later GCCs or clang.
It pops up in older python-configs, and may also come up in other
contexts.
Fixes mistydemeo/tigerbrew#213 .
2014-08-15 20:56:06 -07:00
Jack Nagel
181654ddaf
Remove two more unnecessary default arguments
2014-08-14 19:58:36 -05:00
xxxajk
1dc384b4c4
Fix mktmp to be generic as-per SUS/BSD.
...
Closes Homebrew/homebrew#31586 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-14 10:36:07 +01:00
Jack Nagel
c7444d34f7
Use the as_flags method instead of map
2014-08-14 01:00:23 -05:00
Jack Nagel
4c4193e905
Use the Enumerable implementation of include?
2014-08-14 00:03:34 -05:00