[Pkg-javascript-commits] [node-tar] 02/03: Initial Debian packaging.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Mar 14 00:34:45 UTC 2015


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

sebastic pushed a commit to branch master
in repository node-tar.

commit 3f523824147b213724c4b2fc0944c5ebfc85d5ad
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Mar 13 23:26:15 2015 +0100

    Initial Debian packaging.
---
 debian/changelog         |  5 +++++
 debian/compat            |  1 +
 debian/control           | 34 ++++++++++++++++++++++++++++++++++
 debian/copyright         | 35 +++++++++++++++++++++++++++++++++++
 debian/docs              |  1 +
 debian/examples          |  1 +
 debian/gbp.conf          | 16 ++++++++++++++++
 debian/install           |  3 +++
 debian/rules             | 12 ++++++++++++
 debian/source/format     |  1 +
 debian/tests/control     |  2 ++
 debian/tests/require     |  3 +++
 debian/upstream/metadata |  6 ++++++
 debian/watch             |  6 ++++++
 14 files changed, 126 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d09bead
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-tar (1.0.3-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #780440)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Fri, 13 Mar 2015 22:53:24 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..395e56e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: node-tar
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Bas Couwenberg <sebastic at debian.org>
+Section: web
+Priority: extra
+Build-Depends: debhelper (>= 9),
+               dh-buildinfo,
+               nodejs,
+               node-block-stream,
+               node-fstream,
+               node-graceful-fs,
+               node-mkdirp,
+               node-rimraf,
+               node-tap
+Standards-Version: 3.9.6
+Vcs-Browser: http://anonscm.debian.org/cgit/pkg-javascript/node-tar.git
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-tar.git
+Homepage: https://github.com/npm/node-tar
+XS-Testsuite: autopkgtest
+
+Package: node-tar
+Architecture: all
+Depends: ${misc:Depends},
+         nodejs,
+         node-block-stream,
+         node-fstream (>= 1.0.2),
+         node-inherits
+Description: Tar for Node.js
+ node-tar contains the tar module for Node.js.
+ .
+ It allow packing, extracting, and parsing of tar archives in JavaScript.
+ .
+ Node.js is an event-based server-side JavaScript engine.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c453e06
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: tar
+Upstream-Contact: Isaac Z. Schlueter <i at izs.me>
+Source: https://github.com/npm/node-tar
+
+Files: *
+Copyright: Isaac Z. Schlueter <i at izs.me>
+License: BSD-2-Clause
+
+Files: debian/*
+Copyright: 2015, Bas Couwenberg <sebastic at debian.org>
+License: BSD-2-Clause
+
+License: BSD-2-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..21d0417
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,16 @@
+[DEFAULT]
+
+# The default name for the upstream branch is "upstream".
+# Change it if the name is different (for instance, "master").
+upstream-branch = upstream
+
+# The default name for the Debian branch is "master".
+# Change it if the name is different (for instance, "debian/unstable").
+debian-branch = master
+
+# git-import-orig uses the following names for the upstream tags.
+# Change the value if you are not using git-import-orig
+upstream-tag = upstream/%(version)s
+
+# Always use pristine-tar.
+pristine-tar = True
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..2ef5906
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,3 @@
+package.json usr/lib/nodejs/tar/
+lib          usr/lib/nodejs/tar/
+tar.js       usr/lib/nodejs/tar/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..708a72a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_auto_test:
+	tap test/*.js || echo "Ignoring test failures"
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..629ac90
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-tar
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..0251d39
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('tar');"
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..90d3a7a
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/npm/node-tar/issues
+Bug-Submit: https://github.com/npm/node-tar/issues/new
+Name: node-tar
+Repository: https://github.com/npm/node-tar.git
+Repository-Browse: https://github.com/npm/node-tar
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..2f781b2
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-tar-$1.tar.gz/ \
+https://github.com/npm/node-tar/releases \
+.*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list