[node-quickselect] 02/04: Initial Debian packaging.

Bas Couwenberg sebastic at debian.org
Fri Jul 1 22:21:45 UTC 2016


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

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

commit a6161e201f11eed306c5959b806c37f12d99d832
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Wed Jun 29 23:17:32 2016 +0200

    Initial Debian packaging.
---
 debian/changelog         |  5 +++++
 debian/compat            |  1 +
 debian/control           | 23 +++++++++++++++++++++++
 debian/copyright         | 26 ++++++++++++++++++++++++++
 debian/docs              |  1 +
 debian/gbp.conf          | 16 ++++++++++++++++
 debian/install           |  2 ++
 debian/rules             |  9 +++++++++
 debian/source/format     |  1 +
 debian/tests/control     |  2 ++
 debian/tests/require     |  3 +++
 debian/upstream/metadata |  7 +++++++
 debian/watch             |  7 +++++++
 13 files changed, 103 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..db1e595
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-quickselect (1.0.0-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #nnnn)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Wed, 29 Jun 2016 22:45:19 +0200
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..13537af
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: node-quickselect
+Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
+Uploaders: Bas Couwenberg <sebastic at debian.org>
+Section: web
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-buildinfo,
+               nodejs
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/node-quickselect.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-grass/node-quickselect.git
+Homepage: https://github.com/mourner/quickselect
+
+Package: node-quickselect
+Architecture: all
+Depends: ${misc:Depends},
+         nodejs
+Description: JavaScript selection algorithm
+ quickselect is a tiny and fast selection algorithm in JavaScript,
+ implementing Floyd-Rivest selection.
+ .
+ Node.js is an event-based server-side JavaScript engine.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e43f1fa
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: quickselect
+Upstream-Contact: Vladimir Agafonkin <agafonkin at gmail.com>
+Source: https://github.com/mourner/quickselect
+
+Files: *
+Copyright: 2016, Vladimir Agafonkin
+License: ISC
+
+Files: debian/*
+Copyright: 2016, Bas Couwenberg <sebastic at debian.org>
+License: ISC
+
+License: ISC
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
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/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..8cbac89
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+package.json usr/lib/nodejs/quickselect/
+index.js     usr/lib/nodejs/quickselect/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c27badd
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@ --parallel
+
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..3f4fff4
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-quickselect
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..ac32136
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('quickselect');"
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..67af795
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,7 @@
+---
+Bug-Database: https://github.com/mourner/quickselect/issues
+Bug-Submit: https://github.com/mourner/quickselect/issues/new
+Contact: Vladimir Agafonkin <agafonkin at gmail.com>
+Name: quickselect
+Repository: https://github.com/mourner/quickselect.git
+Repository-Browse: https://github.com/mourner/quickselect
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..464efa6
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/,\
+filenamemangle=s/(?:.*?)?(?:rel|v|quickselect)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/quickselect-$1.$2/ \
+https://github.com/mourner/quickselect/tags \
+(?:.*?/)?(?:rel|v|quickselect)?[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Pkg-grass-devel mailing list