[Pkg-javascript-commits] [SCM] light-weight option parsing library for NodeJS branch, master, updated. debian/0.3.1-2-7-ge4f0965
Dominique Dumont
dod at debian.org
Fri Mar 15 08:53:30 UTC 2013
The following commit has been merged in the master branch:
commit 618c10a9b9412151b94884a02a0f451446110911
Author: Dominique Dumont <dod at debian.org>
Date: Wed Mar 13 16:11:53 2013 +0100
updated patch for renamed example directory
diff --git a/debian/patches/01-migrate_to_nodejs.patch b/debian/patches/01-migrate_to_nodejs.patch
index 37c1170..5f85cae 100644
--- a/debian/patches/01-migrate_to_nodejs.patch
+++ b/debian/patches/01-migrate_to_nodejs.patch
@@ -3,125 +3,125 @@ Subject: migrate from node to nodejs
Forwarded: not-needed
---
- examples/bool.js | 2 +-
- examples/boolean_double.js | 2 +-
- examples/boolean_single.js | 2 +-
- examples/default_hash.js | 2 +-
- examples/default_singles.js | 2 +-
- examples/divide.js | 2 +-
- examples/line_count.js | 2 +-
- examples/line_count_options.js | 2 +-
- examples/line_count_wrap.js | 2 +-
- examples/nonopt.js | 2 +-
- examples/reflect.js | 2 +-
- examples/short.js | 2 +-
- examples/string.js | 2 +-
- examples/xup.js | 2 +-
+ example/bool.js | 2 +-
+ example/boolean_double.js | 2 +-
+ example/boolean_single.js | 2 +-
+ example/default_hash.js | 2 +-
+ example/default_singles.js | 2 +-
+ example/divide.js | 2 +-
+ example/line_count.js | 2 +-
+ example/line_count_options.js | 2 +-
+ example/line_count_wrap.js | 2 +-
+ example/nonopt.js | 2 +-
+ example/reflect.js | 2 +-
+ example/short.js | 2 +-
+ example/string.js | 2 +-
+ example/xup.js | 2 +-
14 files changed, 14 insertions(+), 14 deletions(-)
---- node-optimist.orig/examples/bool.js
-+++ node-optimist/examples/bool.js
+--- node-optimist.orig/example/bool.js
++++ node-optimist/example/bool.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
var util = require('util');
var argv = require('optimist').argv;
---- node-optimist.orig/examples/boolean_double.js
-+++ node-optimist/examples/boolean_double.js
+--- node-optimist.orig/example/boolean_double.js
++++ node-optimist/example/boolean_double.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
var argv = require('optimist')
.boolean(['x','y','z'])
.argv
---- node-optimist.orig/examples/boolean_single.js
-+++ node-optimist/examples/boolean_single.js
+--- node-optimist.orig/example/boolean_single.js
++++ node-optimist/example/boolean_single.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
var argv = require('optimist')
.boolean('v')
.argv
---- node-optimist.orig/examples/default_hash.js
-+++ node-optimist/examples/default_hash.js
+--- node-optimist.orig/example/default_hash.js
++++ node-optimist/example/default_hash.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
var argv = require('optimist')
.default({ x : 10, y : 10 })
---- node-optimist.orig/examples/default_singles.js
-+++ node-optimist/examples/default_singles.js
+--- node-optimist.orig/example/default_singles.js
++++ node-optimist/example/default_singles.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
var argv = require('optimist')
.default('x', 10)
.default('y', 10)
---- node-optimist.orig/examples/divide.js
-+++ node-optimist/examples/divide.js
+--- node-optimist.orig/example/divide.js
++++ node-optimist/example/divide.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
var argv = require('optimist')
.usage('Usage: $0 -x [num] -y [num]')
---- node-optimist.orig/examples/line_count.js
-+++ node-optimist/examples/line_count.js
+--- node-optimist.orig/example/line_count.js
++++ node-optimist/example/line_count.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
var argv = require('optimist')
.usage('Count the lines in a file.\nUsage: $0')
.demand('f')
---- node-optimist.orig/examples/line_count_options.js
-+++ node-optimist/examples/line_count_options.js
+--- node-optimist.orig/example/line_count_options.js
++++ node-optimist/example/line_count_options.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
var argv = require('optimist')
.usage('Count the lines in a file.\nUsage: $0')
.options({
---- node-optimist.orig/examples/line_count_wrap.js
-+++ node-optimist/examples/line_count_wrap.js
+--- node-optimist.orig/example/line_count_wrap.js
++++ node-optimist/example/line_count_wrap.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
var argv = require('optimist')
.usage('Count the lines in a file.\nUsage: $0')
.wrap(80)
---- node-optimist.orig/examples/nonopt.js
-+++ node-optimist/examples/nonopt.js
+--- node-optimist.orig/example/nonopt.js
++++ node-optimist/example/nonopt.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
var argv = require('optimist').argv;
console.log('(%d,%d)', argv.x, argv.y);
console.log(argv._);
---- node-optimist.orig/examples/reflect.js
-+++ node-optimist/examples/reflect.js
+--- node-optimist.orig/example/reflect.js
++++ node-optimist/example/reflect.js
@@ -1,2 +1,2 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
console.dir(require('optimist').argv);
---- node-optimist.orig/examples/short.js
-+++ node-optimist/examples/short.js
+--- node-optimist.orig/example/short.js
++++ node-optimist/example/short.js
@@ -1,3 +1,3 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
var argv = require('optimist').argv;
console.log('(%d,%d)', argv.x, argv.y);
---- node-optimist.orig/examples/string.js
-+++ node-optimist/examples/string.js
+--- node-optimist.orig/example/string.js
++++ node-optimist/example/string.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
var argv = require('optimist')
.string('x', 'y')
.argv
---- node-optimist.orig/examples/xup.js
-+++ node-optimist/examples/xup.js
+--- node-optimist.orig/example/xup.js
++++ node-optimist/example/xup.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
--
light-weight option parsing library for NodeJS
More information about the Pkg-javascript-commits
mailing list