[81593] trunk/dports/devel/nodejs-devel

ciserlohn at macports.org ciserlohn at macports.org
Tue Aug 2 09:58:09 PDT 2011


Revision: 81593
          http://trac.macports.org/changeset/81593
Author:   ciserlohn at macports.org
Date:     2011-08-02 09:58:08 -0700 (Tue, 02 Aug 2011)
Log Message:
-----------
nodejs-devel: update to version 0.5.3

* update to the latest upstream version (0.5.3)
* adapted the 'Makefile' patch
* remove the now superfluous 'node.cc' patch

Modified Paths:
--------------
    trunk/dports/devel/nodejs-devel/Portfile
    trunk/dports/devel/nodejs-devel/files/patch-Makefile-python.diff

Removed Paths:
-------------
    trunk/dports/devel/nodejs-devel/files/patch-platform.diff

Modified: trunk/dports/devel/nodejs-devel/Portfile
===================================================================
--- trunk/dports/devel/nodejs-devel/Portfile	2011-08-02 15:58:41 UTC (rev 81592)
+++ trunk/dports/devel/nodejs-devel/Portfile	2011-08-02 16:58:08 UTC (rev 81593)
@@ -4,7 +4,7 @@
 PortSystem              1.0
 
 name                    nodejs-devel
-version                 0.5.2
+version                 0.5.3
 categories              devel net
 platforms               darwin
 maintainers             ciserlohn
@@ -21,15 +21,14 @@
 homepage                http://nodejs.org/
 master_sites            ${homepage}dist/v${version}/
 
-checksums               sha1    c278f719340c2c6484155b8fa1ed802dacead965 \
-                        rmd160  90a9ecd5f5f51ca05e32ea99026b6a847e21268a
+checksums               sha1    2f1a54d32c94eee8f18186c948c22c329898d540 \
+                        rmd160  ace56eb02cd1b885602512573eb4ddfee2707646
 
 distname                node-v${version}
 
 depends_build           port:python27
 
-patchfiles              patch-Makefile-python.diff \
-                        patch-platform.diff
+patchfiles              patch-Makefile-python.diff
 
 pre-configure {
     foreach {badport badfile} "libev ${prefix}/include/ev.h c-ares ${prefix}/include/ares.h" {

Modified: trunk/dports/devel/nodejs-devel/files/patch-Makefile-python.diff
===================================================================
--- trunk/dports/devel/nodejs-devel/files/patch-Makefile-python.diff	2011-08-02 15:58:41 UTC (rev 81592)
+++ trunk/dports/devel/nodejs-devel/files/patch-Makefile-python.diff	2011-08-02 16:58:08 UTC (rev 81593)
@@ -1,5 +1,5 @@
---- Makefile.orig	2011-03-18 22:25:20.000000000 +0100
-+++ Makefile	2011-04-05 09:51:09.000000000 +0200
+--- Makefile.orig	2011-08-02 18:08:14.000000000 +0200
++++ Makefile	2011-08-02 18:08:26.000000000 +0200
 @@ -1,4 +1,5 @@
 -WAF=python tools/waf-light
 +PYTHON=python
@@ -7,13 +7,17 @@
  
  web_root = ryan at nodejs.org:~/web/nodejs.org/
  
-@@ -23,34 +24,34 @@
+@@ -33,40 +34,40 @@
  	@$(WAF) uninstall
  
  test: all
 -	python tools/test.py --mode=release simple message
 +	$(PYTHON) tools/test.py --mode=release simple message
  
+ test-http2: all
+-	python tools/test.py --mode=release --use-http2 simple message
++	$(PYTHON) tools/test.py --mode=release --use-http2 simple message
+ 
  test-valgrind: all
 -	python tools/test.py --mode=release --valgrind simple message
 +	$(PYTHON) tools/test.py --mode=release --valgrind simple message
@@ -22,6 +26,10 @@
 -	python tools/test.py --mode=debug,release
 +	$(PYTHON) tools/test.py --mode=debug,release
  
+ test-all-http2: all
+-	python tools/test.py --mode=debug,release --use-http2
++	$(PYTHON) tools/test.py --mode=debug,release --use-http2
+ 
  test-all-valgrind: all
 -	python tools/test.py --mode=debug,release --valgrind
 +	$(PYTHON) tools/test.py --mode=debug,release --valgrind
@@ -50,5 +58,31 @@
 -	python tools/test.py internet
 +	$(PYTHON) tools/test.py internet
  
+ UVTEST += simple/test-assert
+ UVTEST += simple/test-buffer
+@@ -251,10 +252,10 @@
+ 
+ 
+ test-uv: all
+-	NODE_USE_UV=1 python tools/test.py $(UVTEST)
++	NODE_USE_UV=1 $(PYTHON) tools/test.py $(UVTEST)
+ 
+ test-uv-debug: all
+-	NODE_USE_UV=1 python tools/test.py --mode=debug $(UVTEST)
++	NODE_USE_UV=1 $(PYTHON) tools/test.py --mode=debug $(UVTEST)
+ 
+ 
  build/default/node: all
+@@ -338,10 +339,10 @@
+ 	./node benchmark/idle_clients.js &
  
+ jslint:
+-	PYTHONPATH=tools/closure_linter/ python tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ -r test/
++	PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ -r test/
+ 
+ cpplint:
+-	@python tools/cpplint.py $(wildcard src/*.cc src/*.h src/*.c)
++	@$(PYTHON) tools/cpplint.py $(wildcard src/*.cc src/*.h src/*.c)
+ 
+ lint: jslint cpplint
+ 

Deleted: trunk/dports/devel/nodejs-devel/files/patch-platform.diff
===================================================================
--- trunk/dports/devel/nodejs-devel/files/patch-platform.diff	2011-08-02 15:58:41 UTC (rev 81592)
+++ trunk/dports/devel/nodejs-devel/files/patch-platform.diff	2011-08-02 16:58:08 UTC (rev 81593)
@@ -1,22 +0,0 @@
---- src/node.cc.orig	2011-03-18 16:25:20.000000000 -0500
-+++ src/node.cc	2011-03-23 21:32:39.000000000 -0500
-@@ -47,7 +47,7 @@
- # include <grp.h> /* getgrnam() */
- #endif
- 
--#include <platform.h>
-+#include "platform.h"
- #include <node_buffer.h>
- #include <node_io_watcher.h>
- #include <node_net.h>
---- src/node_os.cc.orig	2011-03-18 16:25:20.000000000 -0500
-+++ src/node_os.cc	2011-03-23 21:32:39.000000000 -0500
-@@ -22,7 +22,7 @@
- 
- #include <node.h>
- #include <node_os.h>
--#include <platform.h>
-+#include "platform.h"
- 
- #include <v8.h>
- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110802/a67ec7eb/attachment.html>


More information about the macports-changes mailing list