4625 Commits

Author SHA1 Message Date
Jack Nagel
92ac63fd94 LanguageModuleDependency: remove code that only worked by accident
The array elements here are individual arguments to exec, not a string
to pass to the shell; this only appeared to work. In reality, `opam
list` accepts "|" as valid argument, and the command works fine without
grepping the output.
2014-01-11 19:37:19 -06:00
Jack Nagel
0d42601872 Escape issue search string
Fixes Homebrew/homebrew#25779.
2014-01-10 17:32:15 -06:00
Mike McQuaid
30e409adfd search: handle tap not found and suggest update.
Closes Homebrew/homebrew#25706.
Closes Homebrew/homebrew#25682.
2014-01-09 17:20:54 +00:00
Mike McQuaid
30503cebaa Revert "detect_cxx_stdlibs: ignore executables."
This reverts commit 1cd636d368c66d1346adc1c38633c8f204c759f4.
2014-01-08 07:33:32 +00:00
Christian Moritz
3651c0cb58 create: fix typos
Closes Homebrew/homebrew#25709.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-07 12:10:11 +00:00
Mike McQuaid
44d23c8d40 detect_cxx_stdlibs: ignore executables. 2014-01-07 08:49:37 +00:00
Mike McQuaid
cb0b6a0fa3 create: always use double quotes. 2014-01-07 08:11:02 +00:00
Mike McQuaid
6047e67d35 bottle: improve "not installed" message.
Fixes Homebrew/homebrew#25546.
2014-01-04 14:50:13 +00:00
Mike McQuaid
744a8944b0 caveats: show python caveats if modules installed. 2014-01-04 13:19:20 +00:00
Mike McQuaid
cdbc7c9e53 Pathname: add methods to write env scripts. 2014-01-04 13:19:20 +00:00
Mike McQuaid
996c7bd7d1 ENV: add method to prepend and create a PATH. 2014-01-04 13:19:20 +00:00
Mike McQuaid
ea1ae32a13 formula: fix whitespace. 2014-01-04 13:19:20 +00:00
Misty De Meo
c247f66a13 stdenv tests: add gcc-4.0 test 2014-01-04 01:37:19 -08:00
Misty De Meo
51d8270abd ENV.gcc: remove raise
This raise happened in no other ENV methods, and isn't really necessary
since fails_with guards against this method actually being called unless
gcc-4.2 is actually installed.
2014-01-04 01:22:04 -08:00
Misty De Meo
d7a6161751 Recommit ENV changes 2014-01-04 01:20:56 -08:00
Mike McQuaid
3cf2cc853d Revert "stdenv: fix self.cc check"
This reverts commit 0e1d52c0d3945ae0ac69383c7734e425b7fbf8f1.
2014-01-04 09:14:28 +00:00
Mike McQuaid
e3bb6f6e0b Revert "default_cc: locate already returns Pathnames"
This reverts commit 8ec6123d439e8f4d3586bbca6a426b726bd5e9dd.
2014-01-04 09:14:27 +00:00
Mike McQuaid
4866fd670f Revert "default_compiler: recognize gcc-4.0"
This reverts commit bedcbb806bb8a991a1317b4ccde8d16b6974cc46.
2014-01-04 09:14:26 +00:00
Mike McQuaid
1dcf726a59 Revert "stdenv: set correct compiler symbol for gcc 4.0"
This reverts commit f4dc5614953b3b90acc28c83262d56587b0616b1.
2014-01-04 09:14:25 +00:00
Misty De Meo
bdd2e71b3a stdenv: set correct compiler symbol for gcc 4.0 2014-01-03 19:13:35 -08:00
Misty De Meo
ce97caed34 default_compiler: recognize gcc-4.0 2014-01-03 18:25:09 -08:00
Misty De Meo
a6c838b08a default_cc: locate already returns Pathnames 2014-01-03 18:24:54 -08:00
Misty De Meo
97bb9c5b73 stdenv: fix self.cc check
Since ENV.cc/cxx are accessors to ENV, any values being passed through
are coerced into strings, which means that a nil `ENV.cc` is actually
an empty string - which isn't considered to be false in Ruby.

Fixes mistydemeo/tigerbrew#161.
Fixes mistydemeo/tigerbrew#135.
2014-01-03 17:59:00 -08:00
Mike McQuaid
5413ebca53 exceptions: remove unused AlreadyTappedError. 2014-01-03 21:57:07 +00:00
Mike McQuaid
4dd6f0cb4c install, update: AlreadyTappedError never raised. 2014-01-03 21:57:06 +00:00
Mike McQuaid
95e6a634b4 tap: never throw AlreadyTappedError.
Just make it a warning instead.

Closes Homebrew/homebrew#25511.
Closes Homebrew/homebrew#25617.
2014-01-03 21:56:57 +00:00
Mike McQuaid
d4db3d5d40 dependency: don't try and expand yourself.
This can happen on e.g. fossil where the dependency HEAD requires having
an install of fossil in order to check it out. Bit of a silly edge case
but this handles it.

Fixes Homebrew/homebrew#25605
2014-01-03 21:33:07 +00:00
Misty De Meo
31ed0d6505 Add python27 dependency
Fixes Homebrew/homebrew#25561.
Fixes Homebrew/homebrew#25410.
2013-12-30 13:20:58 -08:00
Mike McQuaid
677cdff228 Fix Homebrew/python case. 2013-12-28 12:47:13 +00:00
Mike McQuaid
5b95710254 homebrew-python has moved to Homebrew org. 2013-12-28 12:14:38 +00:00
Josh Tilles
410121d8ed Replace template’s j1 with deparallelize
Solely because I think `ENV.deparallelize` is *way* clearer than
`ENV.j1`, at least to the uninitiated.

Also, updating the template will reduce the number of `ENV.j1`s that
persist because the Homebrew maintainers want clean histories of
formulae. Ideally, this change should prevent any more cases from being
introduced!

Closes Homebrew/homebrew#25431.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-12-27 16:58:55 -06:00
Jack Nagel
7a3e9149e0 bottle: fix updating formulae with sha256 checksums 2013-12-27 16:43:34 -06:00
Jack Nagel
ec2cd31c1d bottle: use formula path accessor 2013-12-27 16:43:34 -06:00
Jack Nagel
c95b90a022 Don't send, just call the method directly 2013-12-27 16:19:43 -06:00
Jack Nagel
e29cbc5a48 Drop unnecessary Pathname creation 2013-12-27 16:09:31 -06:00
Jack Nagel
b745d21912 superenv: don't accidentally filter out HOMEBREW_TEMP
Fixes Homebrew/homebrew#25471.
2013-12-27 13:01:41 -06:00
Jack Nagel
3cec3e36e9 cleaner: use ObserverPathnameExtension 2013-12-22 13:43:51 -06:00
Jack Nagel
095d83d10b cleaner: reorganize clean_dir to avoid repeated conditional 2013-12-22 13:43:50 -06:00
Jack Nagel
676f29d757 Drop unnecessary string conversion in skip_clean 2013-12-22 13:43:00 -06:00
Jack Nagel
5e1cbb50c1 cleaner: add more tests for current behavior 2013-12-22 13:43:00 -06:00
Jack Nagel
d19934dcb7 cleaner: clean up broken and orphaned symlinks 2013-12-21 23:28:04 -06:00
Jack Nagel
f55e93d9fc cleaner: add test to demonstrate that empty prefixes are removed 2013-12-21 23:28:03 -06:00
Jack Nagel
8430307fa5 cleaner: add tests to document current pruning behavior 2013-12-21 23:28:03 -06:00
Jack Nagel
b57e6006a6 cleaner: add tests to demonstrate some current failures 2013-12-21 23:28:03 -06:00
Jack Nagel
554490f9e0 cleaner: slightly less coupling in tests 2013-12-21 23:28:03 -06:00
Jack Nagel
e480206464 cleaner: fix permission debug output 2013-12-21 23:28:03 -06:00
Jack Nagel
0bb7c4d3ed prune: remove unnecessary .sort 2013-12-21 21:37:26 -06:00
Jack Nagel
76a45df325 Note when --only-dependencies is a no-op 2013-12-19 16:43:46 -06:00
Steven Peters
b524943226 install: add --only-dependencies option
The traditional approach to installing the dependencies of a formula is
the following:

  brew install `brew deps formula`

This approach ignores any options that are specified in the parent
formula. This pull request adds a --only-dependencies option to brew
install that installs the dependencies of a formula with optional flags,
but returns before installing the parent formula.

Closes Homebrew/homebrew#25272.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-12-19 16:43:42 -06:00
Adam Vandenberg
8a2464bf25 Move comparepdf to boneyard
Upstream is no longer maintaining this software, and it does not
build with Xcode 5.

Closes Homebrew/homebrew#24911.
2013-12-17 19:16:03 -08:00