Commit graph

219 commits

Author SHA1 Message Date
Jack Nagel
dc46fe569c node: rename npm requirement and mark it as recommended
Marking this requirement as recommended eliminates a conditional in the
class body that otherwise breaks `brew upgrade node` for users using
"--without-npm".

Renaming it allows Homebrew to generate the correct option name.

Fixes Homebrew/homebrew#26858.
2014-02-20 13:28:41 -05:00
Fredrik Forsmo
cb1596a7c8 node 0.10.26
Closes Homebrew/homebrew#26832.

Signed-off-by: Brett Koonce <koonce@gmail.com>
2014-02-19 13:08:56 -06:00
Mike McQuaid
7dd2a87ef8 node: use build.with{,out}. 2014-02-13 13:00:41 +00:00
Lukas
3fedd98952 node: add without-completion option
Closes Homebrew/homebrew#26691.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-02-13 12:59:22 +00:00
Jason Karns
59135e81b0 node: install npm bash completion (if with-npm)
Closes Homebrew/homebrew#26483.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-02-06 20:48:08 +00:00
Mike Naberezny
41c38ff560 node: add test
Closes Homebrew/homebrew#26419.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-02-05 11:41:36 +00:00
Christian Moritz
2587cb627d node devel 0.11.11
Closes Homebrew/homebrew#26254.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-01-29 14:29:52 -06:00
Oleg Bilka
e486e8a03f node 0.10.25, 0.11.10 (devel)
Closes Homebrew/homebrew#26134.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-24 21:22:00 +00:00
Misty De Meo
a0a16f89ee Use python27 dependency for gyp 2013-12-30 13:20:58 -08:00
Alexander Bayandin
b6bce085d5 node 0.10.24
Closes Homebrew/homebrew#25336.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-12-19 19:08:17 +00:00
Misty De Meo
f1385c3a81 node: fix configure for bad xcode-select path 2013-12-18 19:30:53 -08:00
Misty De Meo
821b63b05f node: update CLT patch
Fixes Homebrew/homebrew#25294.
2013-12-18 09:05:31 -08:00
Christian Moritz
520a230d56 node 0.10.23
Closes Homebrew/homebrew#25218.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-12-17 08:55:55 -08:00
Christian Moritz
71b6228c5c node devel 0.11.9
Closes Homebrew/homebrew#24552.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-20 19:51:42 -08:00
Jack Nagel
56d40d0914 node: link npm manpages
Fixes Homebrew/homebrew#22397.
2013-11-17 14:50:23 -06:00
Adam Vandenberg
b00d0f75b9 node devel 0.11.8 2013-11-17 10:56:40 -08:00
Preston Marshall
cf207713f4 node 0.10.22
Closes Homebrew/homebrew#24231.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-13 07:22:54 -08:00
Jack Nagel
a815821d27 node 0.10.21 2013-10-18 18:24:23 -05:00
Aku Kotkavuo
14f2b900f3 Node 0.10.20
Closes Homebrew/homebrew#22951.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-30 20:34:26 -07:00
Jack Nagel
c1e627aaba node 0.10.19 2013-09-25 09:32:19 -05:00
Jack Nagel
5678d377c4 node: fix compilation on 10.6 2013-09-05 12:48:35 -05:00
Chongyu Zhu
fc0c53ca65 node 0.10.18
Closes Homebrew/homebrew#22316.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-09-05 12:48:35 -05:00
Christian Moritz
396146588f node devel 0.11.7
Closes Homebrew/homebrew#22322.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-09-05 11:13:07 -05:00
Jack Nagel
b5407c1534 node devel 0.11.6 2013-08-22 18:01:21 -05:00
Chongyu Zhu
936352cc80 node 0.10.17
Closes Homebrew/homebrew#22064.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-08-22 17:57:46 -05:00
Chongyu Zhu
1d443b8d78 node 0.10.16
Closes Homebrew/homebrew#21948.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-17 07:39:32 -07:00
Christian Moritz
1c2366fac9 node devel 0.11.5
Closes Homebrew/homebrew#21767.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-08-08 18:47:14 -05:00
Adam Vandenberg
2e4d5ab611 node: add versioning note 2013-08-05 17:41:08 -07:00
Jack Nagel
13ab235c14 Handle mkpath of node_modules directory in keg 2013-07-31 13:51:05 -05:00
Eric J. Duran
53a130f847 node 0.10.15
Closes Homebrew/homebrew#21455.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-07-26 15:39:45 -05:00
Fredrik Forsmo
5401ea0195 node 0.10.14
Closes Homebrew/homebrew#21443.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-07-25 18:54:34 -05:00
Max Howell
a6949afee0 Make the global npm prefix: HOMEBREW_PREFIX
This works well, HOMEBREW_PREFIX/lib/node_modules is where node modules are installed. Manpages are now accessible. Binaries are symlinks in HOMEBREW_PREFIX/bin.

Because before this patch node modules installed to /share/node, we check for that and if it exists, we set that as the prefix instead.
2013-07-17 10:07:55 -05:00
Samuel John
d0f836e20c Fix audit warnings for python modules 2013-07-16 11:12:14 +02:00
Christian Moritz
a09b0b4020 devel node 0.11.4
Closes Homebrew/homebrew#21220.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-15 08:28:13 -07:00
David Gstir
281c98ca68 node 0.10.13
Closes Homebrew/homebrew#21116.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-10 06:58:00 -07:00
Adam Vandenberg
dcc3a59772 node: fix --devel checksum
Closes Homebrew/homebrew#20889.
2013-06-28 11:59:45 -07:00
Christian Moritz
84f61aadb7 node devel 0.11.3
Closes Homebrew/homebrew#20853.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-27 08:04:56 -07:00
Andrey Chizh
01dd401775 node 0.10.12
Closes Homebrew/homebrew#20587.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-18 14:13:15 -07:00
Mario Uher
ee61a79f59 node 0.10.11
Closes Homebrew/homebrew#20494.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-14 08:31:22 -07:00
Andrey Chizh
6fc1e0d1f0 node 0.10.10
Closes Homebrew/homebrew#20269.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-04 15:31:26 -07:00
Samuel John
f6e80bdea2 Python 2.x and 3.x support
New `depends_on :python` Dependency.
New `depends_on :python3` Dependency.

To avoid having multiple formulae with endings -py2 and -py3,
we will handle support for different pythons (2.x vs. 3.x)
in the same formula.
Further brewed vs. external python will be transparently supported.

The formula also gets a new object `python`, which is false if
no Python is available or the user has disabled it. Otherwise
it is defined and provides several support methods:

python.site_packages # the site-packages in the formula's Cellar
python.global_site_packages
python.binary # the full path to the python binary
python.prefix
python.version
python.version.major
python.version.minor
python.xy # => e.g. "python2.7"
python.incdir # includes of python
python.libdir # the python dylib library
python.pkg_config_path # used internally by brew
python.from_osx?
python.framework?
python.universal?
python.pypy?
python.standard_caveats # Text to set PYTHONPATH for python.from_osx?
python.if3then3 # => "" for 2.x and to "3" for 3.x.

Further, to avoid code duplication, `python` takes an optional
block that is run twice if the formula defines depends_on
:python AND :python3.

python do
  system python, 'setup.py', "--prefix=#{prefix}"
end

Read more in the Homebrew wiki.
2013-06-03 17:29:43 +02:00
Andrey Chizh
c63fb005af node 0.10.9
Closes Homebrew/homebrew#20164.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-30 20:21:38 -07:00
Andrey Chizh
9a94d562e6 Node.js 0.10.8
Closes Homebrew/homebrew#20071.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-25 10:12:31 -05:00
Christian Moritz
a056da7795 node 0.10.7
Closes Homebrew/homebrew#19909.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-18 17:58:07 -05:00
Andrey Chizh
29f0637ad6 Node 0.10.6
Closes Homebrew/homebrew#19850.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-15 20:48:58 -05:00
Fredrik Forsmo
a58b8fd2da node --devel 0.11.2
Closes Homebrew/homebrew#19792.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-14 09:49:06 -07:00
Adam Vandenberg
0175ca14fe node: inline npmrc script 2013-05-08 15:02:08 -07:00
Adam Vandenberg
2bcd28eff6 Node: remove --with-shared-libs
There's no guarantee that the version of V8 packaged by Homebrew
is compatible with what the current version of Node expects.

Closes Homebrew/homebrew#19686.
2013-05-08 15:00:58 -07:00
Misty De Meo
36e0507059 node: patch gyp to remove Xcode dependency
Fixes Homebrew/homebrew#19424.
2013-04-28 17:04:10 -05:00
Misty De Meo
8952ed03d9 node: doesn't require Xcode
This reverts commit 10e219de7e93f626e2c1f9141366f273a39f0c43.

Multiple users have reported that node builds just fine with a CLT-only
system, and provided build logs to show it. Restoring CLT-only support
until a build failure is demonstrated again by another user.
2013-04-24 15:18:51 -05:00