changed debian/source/format to native
This commit is contained in:
parent
87e9ebacbb
commit
91a04d611d
|
@ -1,27 +0,0 @@
|
|||
Description: drop dependency to node-cross-spawn
|
||||
Author: Xavier Guimard <yadd@debian.org>
|
||||
Bug-Debian: https://bugs.debian.org/959788
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2020-05-05
|
||||
|
||||
--- a/package.json
|
||||
+++ b/package.json
|
||||
@@ -48,7 +48,6 @@
|
||||
"browserify": "^8.1.1",
|
||||
"cli-table": "~0.3.1",
|
||||
"co": "^4.2.0",
|
||||
- "cross-spawn": "^0.2.3",
|
||||
"glob": "^4.3.2",
|
||||
"grunt-saucelabs": "~8.4.1",
|
||||
"highland": "^2.3.0",
|
||||
--- a/tools/utils.js
|
||||
+++ b/tools/utils.js
|
||||
@@ -1,7 +1,7 @@
|
||||
var Promise = require("bluebird");
|
||||
var assert = require("assert");
|
||||
var path = require("path");
|
||||
-var spawn = require("cross-spawn");
|
||||
+var spawn = require("child_process").spawn;
|
||||
Promise.longStackTraces();
|
||||
var fs = Promise.promisifyAll(require("fs"));
|
||||
var notAscii = /[^\u000D\u0019-\u007E]/;
|
|
@ -1,36 +0,0 @@
|
|||
Description: fix for mkdirp ≥ 1
|
||||
Author: Xavier Guimard <yadd@debian.org>
|
||||
Forwarded: <no|not-needed|url proving that it has been forwarded>
|
||||
Last-Update: 2020-10-23
|
||||
|
||||
--- a/tools/build.js
|
||||
+++ b/tools/build.js
|
||||
@@ -5,7 +5,7 @@
|
||||
var utils = require("./utils.js");
|
||||
var glob = Promise.promisify(require("glob"));
|
||||
var fs = Promise.promisifyAll(require("fs"));
|
||||
-var mkdirp = Promise.promisify(require("mkdirp"));
|
||||
+var mkdirp = require("mkdirp");
|
||||
var rimraf = Promise.promisify(require("rimraf"));
|
||||
|
||||
jobRunner.init(path.join(__dirname, ".."), function() {
|
||||
@@ -124,7 +124,7 @@
|
||||
function ensureDirectory(dir, isUsed, clean) {
|
||||
return (clean ? rimraf(dir) : Promise.resolve()).then(function() {
|
||||
if (!isUsed) return dir;
|
||||
- return mkdirp(dir).thenReturn(dir);
|
||||
+ return mkdirp(dir).then(()=>{return(dir)});
|
||||
});
|
||||
}
|
||||
|
||||
--- a/tools/test.js
|
||||
+++ b/tools/test.js
|
||||
@@ -8,7 +8,7 @@
|
||||
var argv = require("optimist").argv;
|
||||
var glob = Promise.promisify(require("glob"));
|
||||
var path = require("path");
|
||||
-var mkdirp = Promise.promisify(require("mkdirp"));
|
||||
+var mkdirp = require("mkdirp");
|
||||
var rimraf = Promise.promisify(require("rimraf"));
|
||||
var jobRunner = require("./job-runner/job-runner.js");
|
||||
var mochaRunner = require("./mocha_runner.js");
|
|
@ -1,22 +0,0 @@
|
|||
Description: disable bad check for autopkgtest
|
||||
Author: Xavier Guimard <yadd@debian.org>
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2020-01-09
|
||||
|
||||
--- a/tools/build.js
|
||||
+++ b/tools/build.js
|
||||
@@ -254,10 +254,10 @@
|
||||
|
||||
var root = process.cwd();
|
||||
// Since rm -rf is called, better be sure...
|
||||
-if (path.basename(root).toLowerCase().indexOf("node-bluebird") !== 0) {
|
||||
- throw new Error("cwd must be set to bluebird project root. cwd is currently\n\n" +
|
||||
- " " + process.cwd() + "\n");
|
||||
-}
|
||||
+//if (path.basename(root).toLowerCase().indexOf("node-bluebird") !== 0) {
|
||||
+// throw new Error("cwd must be set to bluebird project root. cwd is currently\n\n" +
|
||||
+// " " + process.cwd() + "\n");
|
||||
+//}
|
||||
var dirs = {
|
||||
release: path.join(root, "js", "release"),
|
||||
debug: path.join(root, "js", "debug"),
|
|
@ -1,22 +0,0 @@
|
|||
Description: Avoid error for incorrect root directory
|
||||
Avoid error for incorrect root directory. Test/build.js expects
|
||||
"bluebird". When building in Debian, the root directory
|
||||
changes (e.g. node-bluebird-3.4.6). Although this should not matter for
|
||||
Debian (the check is probably just in case a developer tries to
|
||||
run the tests outside of the root directory), this patch checks that
|
||||
at least the first 13 characters of the root directory contain
|
||||
"node-bluebird".
|
||||
Author: Ross Gammon <rossgammon@mail.dk>
|
||||
Forwarded: not-needed
|
||||
|
||||
--- node-bluebird.orig/tools/build.js
|
||||
+++ node-bluebird/tools/build.js
|
||||
@@ -254,7 +254,7 @@
|
||||
|
||||
var root = process.cwd();
|
||||
// Since rm -rf is called, better be sure...
|
||||
-if (path.basename(root).toLowerCase().indexOf("bluebird") !== 0) {
|
||||
+if (path.basename(root).toLowerCase().indexOf("node-bluebird") !== 0) {
|
||||
throw new Error("cwd must be set to bluebird project root. cwd is currently\n\n" +
|
||||
" " + process.cwd() + "\n");
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
fix_root_dir.patch
|
||||
fix-test-for-autopkgtest.diff
|
||||
drop-cross-spawn.diff
|
||||
fix-for-mkdirp-1.diff
|
|
@ -1 +1 @@
|
|||
3.0 (quilt)
|
||||
3.0 (native)
|
||||
|
|
Loading…
Reference in New Issue