[Pkg-javascript-commits] [node-cached-path-relative] 07/09: Improve debianization

Bastien Roucariès rouca at moszumanska.debian.org
Thu Apr 20 19:23:01 UTC 2017


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

rouca pushed a commit to branch master
in repository node-cached-path-relative.

commit 08bdedaa022a675ceee039b6e40d8d2d917fd7ae
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Mon Apr 17 14:44:07 2017 +0200

    Improve debianization
---
 debian/changelog | 2 +-
 debian/compat    | 2 +-
 debian/control   | 8 ++++----
 debian/copyright | 4 ++--
 debian/install   | 1 +
 debian/rules     | 7 +++++--
 6 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b352482..7d4a46a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
 node-cached-path-relative (1.0.1~1-1) UNRELEASED; urgency=low
 
-  [ FIX_ME debian author  Mon, 17 Apr 2017 14:20:31 +0200 ]
+  [ Bastien Roucariès <rouca at debian.org>  Mon, 17 Apr 2017 14:20:31 +0200 ]
   * Initial release (Closes: #nnnn)
 
   [ bastien ]
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index b44ad94..2120ab5 100644
--- a/debian/control
+++ b/debian/control
@@ -2,11 +2,11 @@ Source: node-cached-path-relative
 Section: web
 Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
-Uploaders: FIX_ME debian author
+Uploaders: Bastien Roucariès <rouca at debian.org>
 Build-Depends:
- debhelper (>= 9)
+ debhelper (>= 10)
  , dh-buildinfo
- , nodejs
+ , nodejs (>= 4.7)
 Standards-Version: 3.9.8
 Homepage: https://github.com/ashaffer/cached-path-relative#readme
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-cached-path-relative.git
@@ -16,7 +16,7 @@ Package: node-cached-path-relative
 Architecture: all
 Depends:
  ${misc:Depends}
- , nodejs
+ , nodejs (>= 4.7)
 Description: Memoize the results of the path.relative function
  FIX_ME long description
  .
diff --git a/debian/copyright b/debian/copyright
index 15fa3ec..386f151 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -6,11 +6,11 @@ Files-Excluded: npm-debug* node_modules*
 Comments: remove generated and third party files
 
 Files: *
-Copyright: 2017 FIX_ME upstream author
+Copyright: 2016-2017 Andrew Shaffer (weo.io) andrew at weo.io
 License: Expat
 
 Files: debian/*
-Copyright: 2017 FIX_ME debian author
+Copyright: 2017 Bastien Roucariès <rouca at debian.org>
 License: Expat
 
 License: Expat
diff --git a/debian/install b/debian/install
index 9d541dc..f04d28f 100644
--- a/debian/install
+++ b/debian/install
@@ -1,2 +1,3 @@
 lib usr/lib/nodejs/cached-path-relative/
+shim.js usr/lib/nodejs/cached-path-relative/
 package.json usr/lib/nodejs/cached-path-relative/
diff --git a/debian/rules b/debian/rules
index b77c631..39e1749 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,12 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
+override_dh_auto_build:
+	# make download a lot of stuff disable
+	true
 
-#override_dh_auto_test:
+override_dh_auto_test:
+	tape test/*.js
 
 override_dh_installchangelogs:
 	dh_installchangelogs -k History.md

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



More information about the Pkg-javascript-commits mailing list