node@0.10: make not keg_only, conflicts_with node and node@0.12

Closes #10600.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2017-03-05 00:30:08 -08:00
parent 6c563482dc
commit 923da8d0e9

View file

@ -3,7 +3,7 @@ class NodeAT010 < Formula
homepage "https://nodejs.org/"
url "https://nodejs.org/dist/v0.10.48/node-v0.10.48.tar.xz"
sha256 "365a93d9acc076a0d93f087d269f376abeebccad599a9dab72f2f6ed96c8ae6e"
revision 1
revision 2
head "https://github.com/nodejs/node.git", :branch => "v0.10-staging"
bottle do
@ -12,8 +12,6 @@ class NodeAT010 < Formula
sha256 "92d2adc6b4da184b09142ca42e1c66abe7febd45ab7018dfd07735b841a7385c" => :yosemite
end
keg_only :versioned_formula
deprecated_option "enable-debug" => "with-debug"
option "with-debug", "Build with debugger hooks"
@ -23,6 +21,9 @@ class NodeAT010 < Formula
depends_on :python => :build
depends_on "openssl" => :optional
conflicts_with "node", :because => "Differing version of same formula"
conflicts_with "node@0.12", :because => "Differing version of same formula"
resource "npm" do
url "https://registry.npmjs.org/npm/-/npm-2.15.1.tgz"
sha256 "e3435100b37379354b899a31d073ef81b8aa7365c52eb138847ecfbf9f01ea93"