[Pkg-javascript-commits] [node-argparse] 03/08: nodejs to node patch no longer needed

Jérémy Lal kapouer at moszumanska.debian.org
Fri Dec 29 14:00:51 UTC 2017


This is an automated email from the git hooks/post-receive script.

kapouer pushed a commit to branch master
in repository node-argparse.

commit 2b48a4d57bbe25e5faf4135b9e675e2bada29a5f
Author: Jérémy Lal <kapouer at melix.org>
Date:   Fri Dec 29 14:56:59 2017 +0100

    nodejs to node patch no longer needed
---
 debian/patches/01_nodejs_debian.diff | 132 -----------------------------------
 debian/patches/series                |   1 -
 2 files changed, 133 deletions(-)

diff --git a/debian/patches/01_nodejs_debian.diff b/debian/patches/01_nodejs_debian.diff
deleted file mode 100644
index e079086..0000000
--- a/debian/patches/01_nodejs_debian.diff
+++ /dev/null
@@ -1,132 +0,0 @@
-Description: Change node commands to nodejs
- While the nodejs upstream is shipping the software as node-binary
- Debian ships it as nodejs. Due to that all node commands have to be
- changed from 'node' to 'nodejs'.
-Author: Jonathan Ulrich Horn <debian at autoit4you.de>
-Origin: vendor
-Forwarded: not-needed
-Last-Update: 2016-01-08
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/README.md
-+++ b/README.md
-@@ -21,7 +21,7 @@
- test.js file:
- 
- ```javascript
--#!/usr/bin/env node
-+#!/usr/bin/env nodejs
- 'use strict';
- 
- var ArgumentParser = require('../lib/argparse').ArgumentParser;
-@@ -191,7 +191,7 @@
- 
- sub_commands.js
- ```javascript
--#!/usr/bin/env node
-+#!/usr/bin/env nodejs
- 'use strict';
- 
- var ArgumentParser = require('../lib/argparse').ArgumentParser;
-@@ -249,5 +249,3 @@
- Copyright (c) 2012 [Vitaly Puzrin](https://github.com/puzrin).
- Released under the MIT license. See
- [LICENSE](https://github.com/nodeca/argparse/blob/master/LICENSE) for details.
--
--
---- a/examples/arguments.js
-+++ b/examples/arguments.js
-@@ -1,4 +1,4 @@
--#!/usr/bin/env node
-+#!/usr/bin/env nodejs
- 'use strict';
- 
- var ArgumentParser = require('../lib/argparse').ArgumentParser;
---- a/examples/choice.js
-+++ b/examples/choice.js
-@@ -1,4 +1,4 @@
--#!/usr/bin/env node
-+#!/usr/bin/env nodejs
- 'use strict';
- 
- var ArgumentParser = require('../lib/argparse').ArgumentParser;
-@@ -19,4 +19,3 @@
- console.log('-----------');
- parser.parseArgs([ 'X' ]);
- console.dir(args);
--
---- a/examples/constants.js
-+++ b/examples/constants.js
-@@ -1,4 +1,4 @@
--#!/usr/bin/env node
-+#!/usr/bin/env nodejs
- 'use strict';
- 
- var ArgumentParser = require('../lib/argparse').ArgumentParser;
---- a/examples/help.js
-+++ b/examples/help.js
-@@ -1,4 +1,4 @@
--#!/usr/bin/env node
-+#!/usr/bin/env nodejs
- 'use strict';
- 
- var ArgumentParser = require('../lib/argparse').ArgumentParser;
---- a/examples/nargs.js
-+++ b/examples/nargs.js
-@@ -1,4 +1,4 @@
--#!/usr/bin/env node
-+#!/usr/bin/env nodejs
- 'use strict';
- 
- var ArgumentParser = require('../lib/argparse').ArgumentParser;
---- a/examples/parents.js
-+++ b/examples/parents.js
-@@ -1,4 +1,4 @@
--#!/usr/bin/env node
-+#!/usr/bin/env nodejs
- 'use strict';
- 
- var ArgumentParser = require('../lib/argparse').ArgumentParser;
---- a/examples/prefix_chars.js
-+++ b/examples/prefix_chars.js
-@@ -1,4 +1,4 @@
--#!/usr/bin/env node
-+#!/usr/bin/env nodejs
- 'use strict';
- 
- var ArgumentParser = require('../lib/argparse').ArgumentParser;
---- a/examples/sub_commands.js
-+++ b/examples/sub_commands.js
-@@ -1,4 +1,4 @@
--#!/usr/bin/env node
-+#!/usr/bin/env nodejs
- 'use strict';
- 
- var ArgumentParser = require('../lib/argparse').ArgumentParser;
---- a/examples/sum.js
-+++ b/examples/sum.js
-@@ -1,4 +1,4 @@
--#!/usr/bin/env node
-+#!/usr/bin/env nodejs
- 
- 'use strict';
- 
---- a/Makefile
-+++ b/Makefile
-@@ -1,5 +1,5 @@
--NPM_PACKAGE := $(shell node -e 'process.stdout.write(require("./package.json").name)')
--NPM_VERSION := $(shell node -e 'process.stdout.write(require("./package.json").version)')
-+NPM_PACKAGE := $(shell nodejs -e 'process.stdout.write(require("./package.json").name)')
-+NPM_VERSION := $(shell nodejs -e 'process.stdout.write(require("./package.json").version)')
- 
- TMP_PATH    := /tmp/${NPM_PACKAGE}-$(shell date +%s)
- 
-@@ -47,7 +47,7 @@
- 		git commit -q -m 'Recreated docs'
- 	cd ${TMP_PATH} && \
- 		git remote add remote ${REMOTE_REPO} && \
--		git push --force remote +master:gh-pages 
-+		git push --force remote +master:gh-pages
- 	rm -rf ${TMP_PATH}
- 
- 
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index ecf2466..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-01_nodejs_debian.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-argparse.git



More information about the Pkg-javascript-commits mailing list