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

Julien Puydt julien.puydt at laposte.net
Fri Oct 16 17:27:47 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-simple-fmt.

commit 6a8aaee5cec150347757b2be410b418a7b3fe364
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Wed Oct 14 21:49:27 2015 +0200

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

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..634b2e1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,7 @@
+node-simple-fmt (0.1.0+20130419-1) UNRELEASED; urgency=low
+
+  * Upstream snapshot of commit e0c624b4be8404ed06dca42e31e363e989820e0e.
+  * Initial release (Closes: #801984)
+
+ -- 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..2fda47d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: node-simple-fmt
+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/simple-fmt
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-simple-fmt.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-simple-fmt.git
+
+Package: node-simple-fmt
+Architecture: all
+Depends: ${misc:Depends}, nodejs
+Description: Maximally minimal string formatting library (Node.js module)
+ Maximally minimal string formatting library, to make code more
+ readable compared to plain old string concatenation using '+'.
+ .
+ Node.js is an event-based server-side JavaScript engine.
+
+Package: libjs-simple-fmt
+Architecture: all
+Depends: ${misc:Depends}
+Description: maximally minimal type-testing library (JavaScript lib)
+ Maximally minimal type-testing library, to make code more
+ readable compared to plain old string concatenation using '+'.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b11f95c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: simple-fmt
+Upstream-Contact: Olov Lassus <olov.lassus at gmail.com>
+Source: https://github.com/olov/simple-fmt
+
+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..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/libjs-simple-fmt.install b/debian/libjs-simple-fmt.install
new file mode 100644
index 0000000..5ba6a68
--- /dev/null
+++ b/debian/libjs-simple-fmt.install
@@ -0,0 +1 @@
+simple-fmt.js usr/share/javascript/simple-fmt/
diff --git a/debian/node-simple-fmt.install b/debian/node-simple-fmt.install
new file mode 100644
index 0000000..4c85d9b
--- /dev/null
+++ b/debian/node-simple-fmt.install
@@ -0,0 +1,2 @@
+simple-fmt.js	usr/lib/nodejs/simple-fmt/
+package.json	usr/lib/nodejs/simple-fmt/
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..34a4344
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('simple-fmt');"
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-simple-fmt.git



More information about the Pkg-javascript-commits mailing list