3049 Commits

Author SHA1 Message Date
Jack Nagel
00f05eafe9 Remove redundant attr_readers
These are redefined later for use in the bottle DSL.
2013-03-09 22:44:53 -06:00
Jack Nagel
8e530d861b tests: allow setting MACOS_VERSION from the environment
This makes it easy to test things that vary depending on this constant
without editing testing_env.rb.
2013-03-09 17:38:49 -06:00
Jack Nagel
ed0a737a39 Adjust BOTTLE_EXTNAME_RX for :snow_leopard_32 2013-03-09 17:38:49 -06:00
Jack Nagel
303feacdd9 Fix tests under 32-bit SL 2013-03-09 17:38:45 -06:00
Jack Nagel
43c39afb8f Use attr_accessor to suppress warning 2013-03-09 17:13:41 -06:00
Jack Nagel
a21be66fc8 Rename these collections for clarity 2013-03-09 17:13:34 -06:00
Jack Nagel
149e65cc8a Add pkgconfig dirs for all deps under superenv
Fixes Homebrew/homebrew#18367.
2013-03-09 16:45:56 -06:00
Mike McQuaid
c7c33c9830 Warn on bottles skipped due to non-default Cellar.
Closes Homebrew/homebrew#18333.
2013-03-09 21:29:53 +00:00
Mike McQuaid
5a2874c652 bottles: remove unused 'version' from DSL. 2013-03-09 21:27:41 +00:00
Jack Nagel
2cc9322fbd Exclude global pkgconfig dirs under superenv 2013-03-09 14:46:01 -06:00
Jack Nagel
878747d458 Index pkgconfig directories by MacOS.version 2013-03-09 14:46:01 -06:00
Tobias Lidskog
23575f3c7f audit: correct inverted has_trailing_newline condition
has_trailing_newline? checked if formula did not have a trailing
newline. Invert regex and invert audit check.

Closes Homebrew/homebrew#18359.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-09 14:42:51 -06:00
Mike McQuaid
04dfdd972c sshpass: add to blacklist.
We keep rejecting this again and again.

See discussion in Homebrew/homebrew#9577, Homebrew/homebrew#12941, Homebrew/homebrew#13855.

Closes Homebrew/homebrew#18332.
2013-03-09 15:25:58 +00:00
Matt Torok
5f2f6a35dd Added '--installed' option to deps command.
When deps command is passed this option, it will only show the dependencies
for the installed forumas. This option overrides the '--all' option.

Closes Homebrew/homebrew#18276.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-05 19:43:12 -08:00
Misty De Meo
e714a47c10 tap: adjust formula count for unsymlinked files
Relying on the output of `tapped` results in ignoring formulae which
already exist in core, with messages like "Tapped 0 formula" for
non-empty taps.
2013-03-04 12:12:47 -06:00
Jack Nagel
c75a7decb7 Save a subshell here 2013-03-02 23:28:27 -06:00
Jack Nagel
7b23870b98 Normalize magic encoding comments 2013-03-02 17:43:58 -06:00
Peter Aronoff
00ef4b7fcb A more helpful error message for brew untap
`brew untap` without arguments currently errors out (as it should), but the
error message is generic and unhelpful. (The error message is borrowed from
a method in the tap command - `tap_args`.)

Closes Homebrew/homebrew#18186.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-02 12:11:56 +00:00
Mike McQuaid
c8335d9c46 cleanup: don't remove old incomplete files twice. 2013-03-02 08:56:58 +00:00
Mike McQuaid
af7f7d7353 Add environment variable to build bottles. 2013-03-01 17:49:09 +00:00
Mike McQuaid
8f35793020 Support 32-bit 10.6 bottles.
Closes Homebrew/homebrew#17735.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid
20c0ddc401 Add non-/usr/local bottles support.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid
22aec1d0d9 Add custom bottle URL support.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid
443bf9f287 Build from source on bottle pour failure.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid
360af367a8 Cleanup bottle DSL.
* Remove legacy url syntax.
* Use revision instead of version.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01 17:49:09 +00:00
Mike McQuaid
161104cae7 Exclude all located superenv paths.
The previous fix only looked at the current Homebrew but we should
discard hits from other installations of Homebrew too.
2013-02-28 20:53:38 +00:00
Jack Nagel
aca48deda0 BuildEnvironment: use separate sets for procs and symbols 2013-02-25 14:01:02 -06:00
Misty De Meo
6b96102fad doctor: Update Mono pkg-config warning 2013-02-25 11:17:19 -06:00
Adam Vandenberg
2e29260935 Revert "Shouldn't override def patch"
This reverts commit 6963a356510256762e425b5dbe2ee8c9ee0ace68.
2013-02-24 12:16:32 -08:00
Mike McQuaid
b1241bb3a1 brew create: use test DSL 2013-02-23 08:42:45 +00:00
Adam Vandenberg
72afade1ee Shouldn't override def patch 2013-02-22 09:34:06 -08:00
Jack Nagel
4749339e5b Formula: fix class-level version accessor
When given no arguments, this should return the stable version, but it
hasn't since we stopped setting this direction in the class's @version
variable.
2013-02-21 22:19:11 -06:00
Jack Nagel
20328d763e audit: don't complain about versioned automake depending on autoconf 2013-02-21 16:47:35 -06:00
Mike McQuaid
b65aa8a2f3 Only fails_with compiler version for developers.
Actually works properly now.

This reverts commit a0e56345ea55f7ee3c41d6bf13f9cfb3af635323.
2013-02-21 21:40:15 +00:00
Mike McQuaid
041cc45a61 Revert "Only fails_with compiler version for developers."
This reverts commit c98d50495275ff4951dd126bb88a55e568b64092.
2013-02-20 16:39:04 +00:00
Jack Nagel
47a3e1ddc5 This file has embedded UTF-8 2013-02-19 14:27:17 -06:00
Jack Nagel
9561b4bc8e Fix X11 proxy constant lookup under 1.9+ 2013-02-19 10:15:52 -06:00
Mike McQuaid
ada5033e0d Only fails_with compiler version for developers.
Closes Homebrew/homebrew#17618.
Closes Homebrew/homebrew#17813.
2013-02-18 19:37:44 +00:00
Jack Nagel
22a3ecff28 Silence warning about unescaped square brackets 2013-02-18 12:13:36 -06:00
Jack Nagel
f037be5148 Don't shadow outer local variables 2013-02-18 12:13:36 -06:00
Jack Nagel
1a799f04e6 Remove unused variables 2013-02-18 12:13:35 -06:00
Jack Nagel
f172d3a6eb Don't use deprecated form of attr
The form "attr :name, true" is deprecated and causes Ruby to emit a
warning in verbose mode. Using attr_{reader,writer,accessor} is more
clear anyway, so do so.
2013-02-18 12:13:34 -06:00
Jack Nagel
baffb31aab Silence "* interpreted as argument prefix" warnings 2013-02-18 12:13:34 -06:00
Mike McQuaid
beff735d3f brew-create: don't insert autodetected versions. 2013-02-18 10:42:32 +00:00
Mike McQuaid
7766505348 brew-doctor: fix autocrlf warning (again).
Closes Homebrew/homebrew#17843.
2013-02-18 10:42:14 +00:00
Mike McQuaid
ddaf891add Add 'brew reinstall' command. 2013-02-18 10:41:53 +00:00
Mike McQuaid
4aacf5400e brew-update: show upgrade command on formula parameters.
Closes Homebrew/homebrew#17814.
2013-02-18 10:40:48 +00:00
Jack Nagel
0c27a8765e Don't shadow outer local variable 2013-02-17 20:57:10 -06:00
Jack Nagel
528072f7d7 GitDownloadStrategy: force checkouts
Local changes to the cached repository should not cause fetch or install
to error out.
2013-02-17 15:54:22 -06:00
Jack Nagel
6d1c6dcdea GitDownloadStrategy: reset after checkout during updates
Otherwise, if the local branch is behind the remote branch, or has
diverged, we will stage the wrong revision.
2013-02-17 15:53:35 -06:00