[Pkg-javascript-commits] [node-stringset] 03/03: Initial packaging

Julien Puydt julien.puydt at laposte.net
Fri Oct 16 17:30:38 UTC 2015


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

jpuydt-guest pushed a commit to branch master
in repository node-stringset.

commit 98664c767462e779331a5a4209e15985db7fa7dd
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Wed Oct 14 20:53:31 2015 +0200

    Initial packaging
---
 debian/changelog               |  7 +++++++
 debian/compat                  |  1 +
 debian/control                 | 28 ++++++++++++++++++++++++++++
 debian/copyright               | 33 +++++++++++++++++++++++++++++++++
 debian/docs                    |  2 ++
 debian/libjs-stringset.install |  1 +
 debian/node-stringset.install  |  2 ++
 debian/rules                   |  7 +++++++
 debian/tests/control           |  2 ++
 debian/tests/require           |  3 +++
 debian/watch                   |  4 ++++
 11 files changed, 90 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1226b0c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,7 @@
+node-stringset (0.2.1+20130926-1) UNRELEASED; urgency=low
+
+  * Upstream snapshot of commit ccb4429c21f23e24d0fd8755373956db3c00798f.
+  * Initial release (Closes: #801987)
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Tue, 13 Oct 2015 15:39:57 +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..2a151b2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: node-stringset
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Julien Puydt <julien.puydt at laposte.net>
+Build-Depends: debhelper (>= 9), nodejs
+Standards-Version: 3.9.6
+Homepage: https://github.com/olov/stringset
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-stringset.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-stringset.git
+
+Package: node-stringset
+Architecture: all
+Depends: ${misc:Depends}, nodejs
+Description: fast and robust stringset (Node.js module)
+ A fast and robust stringset implementation that
+ can hold any string keys, including __proto__,
+ with minimal overhead compared to a plain object.
+ .
+ Node.js is an event-based server-side JavaScript engine.
+
+Package: libjs-stringset
+Architecture: all
+Depends: ${misc:Depends}
+Description: fast and robust stringset (JavaScript lib)
+ A fast and robust stringset implementation that
+ can hold any string keys, including __proto__,
+ with minimal overhead compared to a plain object.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d8c4874
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: stringset
+Upstream-Contact: Olov Lassus <olov.lassus at gmail.com>
+Source: https://github.com/olov/stringset
+
+Files: *
+Copyright: 2013 Olov Lassus <olov.lassus at gmail.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2015 Julien Puydt <julien.puydt at laposte.net>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation files
+ (the "Software"), to deal in the Software without restriction,
+ including without limitation the rights to use, copy, modify, merge,
+ publish, distribute, sublicense, and/or sell copies of the Software,
+ and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..5b291c0
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README.md
+examples.js
diff --git a/debian/libjs-stringset.install b/debian/libjs-stringset.install
new file mode 100644
index 0000000..7319376
--- /dev/null
+++ b/debian/libjs-stringset.install
@@ -0,0 +1 @@
+stringset.js usr/share/javascript/stringset/
diff --git a/debian/node-stringset.install b/debian/node-stringset.install
new file mode 100644
index 0000000..0189fba
--- /dev/null
+++ b/debian/node-stringset.install
@@ -0,0 +1,2 @@
+stringset.js	usr/lib/nodejs/stringset/
+package.json	usr/lib/nodejs/stringset/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..657234c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..b95a5a9
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-stringset
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..e998c4f
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('stringset');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..c3241a1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# Upstream doesn't tag releases, so git snapshot are packaged
+# You can get the upstream tarball using:
+#   wget -c https://github.com/olov/stringset/archive/<SHA>.tar.gz
+# where <SHA> is given in the changelog entry.

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



More information about the Pkg-javascript-commits mailing list