diff --git a/debian/patches/drop-cross-spawn.diff b/debian/patches/drop-cross-spawn.diff deleted file mode 100644 index ff7f412..0000000 --- a/debian/patches/drop-cross-spawn.diff +++ /dev/null @@ -1,27 +0,0 @@ -Description: drop dependency to node-cross-spawn -Author: Xavier Guimard -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]/; diff --git a/debian/patches/fix-for-mkdirp-1.diff b/debian/patches/fix-for-mkdirp-1.diff deleted file mode 100644 index f8fc1dd..0000000 --- a/debian/patches/fix-for-mkdirp-1.diff +++ /dev/null @@ -1,36 +0,0 @@ -Description: fix for mkdirp ≥ 1 -Author: Xavier Guimard -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"); diff --git a/debian/patches/fix-test-for-autopkgtest.diff b/debian/patches/fix-test-for-autopkgtest.diff deleted file mode 100644 index 46184aa..0000000 --- a/debian/patches/fix-test-for-autopkgtest.diff +++ /dev/null @@ -1,22 +0,0 @@ -Description: disable bad check for autopkgtest -Author: Xavier Guimard -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"), diff --git a/debian/patches/fix_root_dir.patch b/debian/patches/fix_root_dir.patch deleted file mode 100644 index acf09ee..0000000 --- a/debian/patches/fix_root_dir.patch +++ /dev/null @@ -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 -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"); - } diff --git a/debian/patches/series b/debian/patches/series deleted file mode 100644 index d02d4dd..0000000 --- a/debian/patches/series +++ /dev/null @@ -1,4 +0,0 @@ -fix_root_dir.patch -fix-test-for-autopkgtest.diff -drop-cross-spawn.diff -fix-for-mkdirp-1.diff diff --git a/debian/source/format b/debian/source/format index 163aaf8..89ae9db 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -3.0 (quilt) +3.0 (native)