5954 Commits

Author SHA1 Message Date
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
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
Jack Nagel
71055aa073 Move xctoolchain_path to Xcode module, where it belongs 2014-05-01 18:36:46 -05:00
Jack Nagel
564b5df261 Trust xcrun now that we error out early for bad xcode-select paths
Since ae177adb2bd55ee5ad6367e7639c4cf0c774b63a, we can safely assume
that xcrun works, and a functioning xcrun will search dev_tools_path and
xctoolchain_path, so we can stop doing extra work here.

On CLT-only 10.7 and 10.8, xcrun will not work, but all the tools will
be in /usr/bin, which we check before invoking xcrun. Further, in this
case, dev_tools_path will be /usr/bin, and xctoolchain_path will not
exist, so the fallbacks here are unnecessary.
2014-05-01 18:36:46 -05:00
Jack Nagel
89ed0c544b Remove unnecessary nil check 2014-05-01 18:22:39 -05:00
Jack Nagel
7052fe89b1 Fix caching of gcc_42_build_version 2014-05-01 16:57:14 -05:00
Jack Nagel
3040bd3aae Remove outdated comment 2014-05-01 16:47:28 -05:00
Jack Nagel
762b8d1f16 Restore bash completion for --config 2014-05-01 16:40:55 -05:00
Xu Cheng
2c9868ddd2 zsh_completion: fix brew config.
Signed-off-by: Xu Cheng <xucheng@me.com>

Closes Homebrew/homebrew#28878.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-05-01 09:43:55 +01:00
Adam Vandenberg
579c0e898f outdated: allow forcing verbose output
Closes Homebrew/homebrew#27813.
2014-04-30 21:10:47 -07:00
Adam Vandenberg
d4b0599a86 --config -> config 2014-04-30 19:09:29 -07:00