6354 Commits

Author SHA1 Message Date
Jack Nagel
fa667dc8d3 Don't advertise using CLT.installed? in the DSL, it's slow 2014-05-08 20:18:31 -05:00
Jack Nagel
f193196f7b Don't advertise :clt dependency, it's a last resort 2014-05-08 20:18:08 -05:00
Jack Nagel
089af6627a Always use stub tools in /usr/bin on 10.9 2014-05-08 17:24:48 -05:00
Adam Vandenberg
f0f1cf2024 clang does not support -fno-regmove 2014-05-08 09:29:32 -07:00
Mike McQuaid
d90d3651b7 bottle: include revision in commit message. 2014-05-08 14:41:52 +01:00
Mike McQuaid
54fc1946f9 exceptions: fix tap issue URL.
Closes Homebrew/homebrew#29043.
2014-05-08 11:43:11 +01:00
Misty De Meo
21c2bf40f7 brew-pull: update for new tap structure 2014-05-07 09:11:14 -07:00
Gaëtan Lehmann
313f8b137f git-annex: 5.20140421
installing git-annex with cabal-install is quite long and requires to install
some heavy packages. It also has several external lib dependencies and needs a
few configuration flags to build so it is quite difficult to install too.
This formula should make it easy and quick to install with a bottle.

The huge number of haskell dependencies is built within the formula and statically
linked to git-annex. The haskell libraries built are discarded - cabal-install
should be used instead of this package in order to keep them.
2014-05-07 08:06:14 +01:00
Jack Nagel
d2607c5985 Add brew deps --union to man page 2014-05-06 21:10:50 -05:00
tduehr
c101919a2e Add brew deps --union
The default behavior of `brew deps foo bar` is to return the
intersection of the deps of foo and bar. This option returns the union.

Closes Homebrew/homebrew#27480.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-06 21:06:23 -05:00
Jack Nagel
5c37baa5e7 Remove nested conditional 2014-05-06 19:31:47 -05:00
Jack Nagel
0418865d56 Preserve -Xarch_<arch> context when filtering args 2014-05-06 18:55:04 -05:00
Jack Nagel
fb296f8224 Extract body of refurbished_args loop 2014-05-06 18:55:04 -05:00
Mike McQuaid
8c426e8207 ENV/shared: fix gcc versions edge case. 2014-05-06 22:17:59 +01:00
Mike McQuaid
2b9c350b27 bottle_version: handle zpython bottle.
Closes Homebrew/homebrew#28870.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-05-06 19:34:04 +01:00
Mike McQuaid
0ac11f8026 bottle_version: parse disco bottle versions. 2014-05-06 19:34:01 +01:00
Mike McQuaid
2fb6d2fdbe ENV/std: use full paths to gcc versions.
This is consistent with how e.g. `gcc-4.2` is handled.

This means e.g. `ghc` can find `gcc-4.8` at runtime.

Fixes Homebrew/homebrew#28934.
2014-05-06 16:45:50 +01:00
Mike McQuaid
c92a16e2ce shared: refactor gcc_version_formula.
Avoid throwing unnecessary exceptions by checking for paths existing and
creating formulae as late as possible. Additionally use instance
variables for some caching.
2014-05-06 16:45:50 +01:00
Mike McQuaid
1b0647d747 shared: don't use Formula.factory unnecessarily.
Instead check if the path exists by using opt.
2014-05-06 16:45:50 +01:00
Mike McQuaid
5955f2a395 os/mac: don't use Formula.factory unnecessarily.
Instead check if the path exists by using opt.
2014-05-06 16:45:50 +01:00
Adam Vandenberg
4f466b6c10 Move kismet to the boneyard.
The APIs used by the software are no longer available in OS X 10.9.

Closes Homebrew/homebrew#25036.
2014-05-05 20:41:57 -07:00
Jack Nagel
68da1e7765 Add a method_defined? guard for Pathname#/
This was added to the stdlib in 391fc2eeec.
2014-05-05 15:30:28 -05:00
Alexey Muranov
911206eae6 Use #+ instead of #join to define Pathname#/
See also https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/45826/diff/ext/pathname/lib/pathname.rb

Closes Homebrew/homebrew#28972.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-05 15:27:34 -05:00
Adam Vandenberg
1fd0488ff4 Move clam to boneyard.
Fails to build with clang or on non-/usr/local installs.

Closes Homebrew/homebrew#23024.
2014-05-04 22:40:43 -07:00
Jack Nagel
9f42b6b9c7 Drop emacs dep audit
cf. Homebrew/homebrew#24802.
2014-05-04 22:45:57 -05:00
Jack Nagel
36f2abfe65 Remove iulib
Closes Homebrew/homebrew#27238.
2014-05-04 15:09:38 -05:00
Adam Vandenberg
655295a41f Move hugs98 to the boneyard.
Last update was in 2006 and this software does not build with
modern compilers.

Closes Homebrew/homebrew#28939.
2014-05-04 11:14:40 -07:00
Jack Nagel
42652049b4 Don't attempt to require nil
Fixes Homebrew/homebrew#28942.
2014-05-04 09:15:34 -05:00
Jack Nagel
d8c15c8fbf The \w character class already includes underscore
Newer versions of Ruby issue a warning for repeated character classes.
2014-05-03 15:03:22 -05:00
Jack Nagel
61dd796f25 Suppress a warning on Ruby 2.1+ 2014-05-03 15:03:22 -05:00
Adam Vandenberg
b94d0e5f8d Move aws-iam-tools to the boneyard
This has been deprecated upstream in favor of AWS CLI.

Closes Homebrew/homebrew#28930.
2014-05-03 09:28:10 -07:00
Jack Nagel
59515ea126 Remove executable bit from build.rb
- the executed script is the formula file, build.rb is a library
 - ruby is invoked directly, so it wouldn't need to be executable anyway
2014-05-03 10:01:30 -05:00
Jack Nagel
253140c92d Quote argument to readlink 2014-05-02 21:55:44 -05:00
Jack Nagel
bb750e1439 Use parameter expansion to avoid forking 2014-05-02 21:55:44 -05:00
Baptiste Fontaine
74e4fdfce2 Fix for String#undent
Without it, String#undent would fail on unindented strings, e.g.:

    "foo".undent

NoMethodError: undefined method `length' for nil:NilClass`

Closes Homebrew/homebrew#28873.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-05-02 19:50:27 -07:00
Jack Nagel
348d0eb05c doctor: use Xcode.bundle_path 2014-05-02 16:50:25 -05:00
Jack Nagel
f6d5d812dc Simpler Xcode prefix detection code 2014-05-02 16:48:59 -05:00
Jack Nagel
2c6d4973b9 Remove obsolete fallback for broken Xcode 4.3+
After recent cleanups the code in this branch should be unreachable, so
there is little point in keeping it around.
2014-05-02 16:48:59 -05:00
Jack Nagel
6577f93f71 Simplify HOMEBREW_LIBRARY_PATH usage 2014-05-02 12:59:38 -05:00
Jack Nagel
2b46af5136 No need to put vendor on the load path 2014-05-02 12:59:38 -05:00
Jack Nagel
f6d81cf762 require accepts Pathnames 2014-05-02 12:59:38 -05:00
Jack Nagel
1ff182ae68 Set ENV variables to strings, not pathnames 2014-05-02 12:59:38 -05:00
Jack Nagel
2d156f06c8 Use File::PATH_SEPARATOR 2014-05-02 12:59:37 -05:00
Jack Nagel
273d580550 Apparently quiet_system isn't always quiet
cf. Homebrew/homebrew#28918.
2014-05-02 11:00:29 -05:00
Jack Nagel
cf5ecfc06d doctor: suppress warnings from git wrapper script
Fixes Homebrew/homebrew#28901.
2014-05-02 09:52:14 -05:00
Adam Vandenberg
37760ce3f8 add comment 2014-05-02 07:39:23 -07:00
Jack Nagel
86daf90700 Remove bad doctor check 2014-05-01 19:43:42 -05:00
Jack Nagel
a8f0872cc0 Remove MacOS.dev_tools_path and MacOS.dev_tools_prefix
These methods are no longer required.
2014-05-01 18:36:46 -05:00
Jack Nagel
aa5a5a526f Rename Xcode.folder to MacOS.active_developer_dir
This reflects what Apple calls it in more recent versions of Xcode/OS X.
2014-05-01 18:36:46 -05:00
Jack Nagel
4b335eb2df Xcode-only path adjustments should be the same in both environments 2014-05-01 18:36:46 -05:00