node@0.10: use keg_only :versioned_formula.

This commit is contained in:
Mike McQuaid 2017-01-17 10:55:42 +00:00
parent a305e9c893
commit 177f83aca6

View file

@ -4,6 +4,7 @@ class NodeAT010 < Formula
url "https://nodejs.org/dist/v0.10.48/node-v0.10.48.tar.xz"
sha256 "365a93d9acc076a0d93f087d269f376abeebccad599a9dab72f2f6ed96c8ae6e"
head "https://github.com/nodejs/node.git", :branch => "v0.10-staging"
revision 1
bottle do
sha256 "8583f18bb7737fd02230f6abfc04f9fb79a135e7ec9e6c72327d8e75aba5052f" => :sierra
@ -11,6 +12,8 @@ class NodeAT010 < Formula
sha256 "3873679aeb79256b23fbf7282222020ef5353989f8c44c2feeaed24c3a206100" => :yosemite
end
keg_only :versioned_formula
deprecated_option "enable-debug" => "with-debug"
option "with-debug", "Build with debugger hooks"
@ -20,12 +23,6 @@ class NodeAT010 < Formula
depends_on :python => :build
depends_on "openssl" => :optional
conflicts_with "node", :because => "Differing versions of the same formula"
conflicts_with "node@0.12", :because => "Differing versions of the same formulae."
conflicts_with "node@4", :because => "Differing versions of the same formulae."
conflicts_with "node@5", :because => "Differing versions of the same formulae."
conflicts_with "node@6", :because => "Differing versions of the same formulae."
resource "npm" do
url "https://registry.npmjs.org/npm/-/npm-2.15.1.tgz"
sha256 "e3435100b37379354b899a31d073ef81b8aa7365c52eb138847ecfbf9f01ea93"