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

Julien Puydt julien.puydt at laposte.net
Fri Oct 16 17:29:48 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-stringmap.

commit de40d9acff75eb59510c68dc7eb813cc4b4d6db9
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Wed Oct 14 20:24:09 2015 +0200

    Initial packaging
---
 debian/changelog               |  7 +++++++
 debian/compat                  |  1 +
 debian/control                 | 28 ++++++++++++++++++++++++++++
 debian/copyright               | 33 +++++++++++++++++++++++++++++++++
 debian/docs                    |  2 ++
 debian/libjs-stringmap.install |  1 +
 debian/node-stringmap.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..3b516f3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,7 @@
+node-stringmap (0.2.2+20130926-1) UNRELEASED; urgency=low
+
+  * Upstream snapshot of commit 2dfa23e26632767fc06eafc8894b5b1527fc9277.
+  * Initial release (Closes: #801986)
+
+ -- 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..cf05f7e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: node-stringmap
+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/stringmap
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-stringmap.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-stringmap.git
+
+Package: node-stringmap
+Architecture: all
+Depends: ${misc:Depends}, nodejs
+Description: fast and robust stringmap (Node.js module)
+ A fast and robust stringmap 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-stringmap
+Architecture: all
+Depends: ${misc:Depends}
+Description: fast and robust stringmap (JavaScript lib)
+ A fast and robust stringmap 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..06fea00
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: stringmap
+Upstream-Contact: Olov Lassus <olov.lassus at gmail.com>
+Source: https://github.com/olov/stringmap
+
+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-stringmap.install b/debian/libjs-stringmap.install
new file mode 100644
index 0000000..b2107a8
--- /dev/null
+++ b/debian/libjs-stringmap.install
@@ -0,0 +1 @@
+stringmap.js usr/share/javascript/stringmap/
diff --git a/debian/node-stringmap.install b/debian/node-stringmap.install
new file mode 100644
index 0000000..0b712d9
--- /dev/null
+++ b/debian/node-stringmap.install
@@ -0,0 +1,2 @@
+package.json usr/lib/nodejs/stringmap/
+stringmap.js usr/lib/nodejs/stringmap/
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..9aa8757
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-stringmap
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..2c3bc60
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('stringmap');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..4905bcf
--- /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/stringmap/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-stringmap.git



More information about the Pkg-javascript-commits mailing list