[Pkg-javascript-commits] [node-has-ansi] 02/10: Updating debian packaging for new version.

Mathias Behrle mbehrle at moszumanska.debian.org
Sat Jul 23 13:42:55 UTC 2016


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

mbehrle pushed a commit to branch master
in repository node-has-ansi.

commit 9fce320588323f8e05feee5532336198c890b341
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Fri Jul 15 20:13:02 2016 +0200

    Updating debian packaging for new version.
---
 debian/control              |  6 +-----
 debian/install              |  1 -
 debian/links                |  1 -
 debian/patches/nodejs.patch | 12 ------------
 debian/patches/series       |  1 -
 debian/rules                |  2 +-
 6 files changed, 2 insertions(+), 21 deletions(-)

diff --git a/debian/control b/debian/control
index 0824856..5a7982d 100644
--- a/debian/control
+++ b/debian/control
@@ -4,10 +4,7 @@ Uploaders:
 Section: web
 Priority: extra
 Build-Depends: debhelper (>= 9),
-               dh-buildinfo,
                nodejs,
-               node-ansi-regex,
-               mocha
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/cgit/pkg-javascript/node-has-ansi.git
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-has-ansi.git
@@ -18,8 +15,7 @@ Package: node-has-ansi
 Architecture: all
 Depends: ${misc:Depends},
          nodejs,
-         node-get-stdin (>= 4.0.1),
-         node-ansi-regex (>= 1.1.0)
+         node-ansi-regex,
 Description: Check if a string has ANSI escape codes in Node.js
  has-ansi is a Node.js modeul to check if a string has ANSI escape codes.
  .
diff --git a/debian/install b/debian/install
index 9ab3014..3ba3b2e 100644
--- a/debian/install
+++ b/debian/install
@@ -1,3 +1,2 @@
 package.json usr/lib/nodejs/has-ansi/
 index.js     usr/lib/nodejs/has-ansi/
-cli.js       usr/lib/nodejs/has-ansi/
diff --git a/debian/links b/debian/links
deleted file mode 100644
index 0bc90bc..0000000
--- a/debian/links
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/nodejs/has-ansi/cli.js usr/bin/has-ansi
diff --git a/debian/patches/nodejs.patch b/debian/patches/nodejs.patch
deleted file mode 100644
index 0546266..0000000
--- a/debian/patches/nodejs.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Description: Switch NodeJS command from node (upstream) to nodejs (Debian).
-Author: Bas Couwenberg <sebastic at debian.org>
-Forwarded: not-needed
-
---- a/cli.js
-+++ b/cli.js
-@@ -1,4 +1,4 @@
--#!/usr/bin/env node
-+#!/usr/bin/nodejs
- 'use strict';
- var stdin = require('get-stdin');
- var pkg = require('./package.json');
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 81a5e8e..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-nodejs.patch
diff --git a/debian/rules b/debian/rules
index e5cfe00..dcb3261 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,5 +8,5 @@
 	dh $@
 
 override_dh_auto_test:
-	mocha
+	# ava not yet packaged
 

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



More information about the Pkg-javascript-commits mailing list