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

Julien Puydt julien.puydt at laposte.net
Fri Oct 16 17:25:37 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-jsesc.

commit 9f6f0d0ed46f5df8a56f155fe38be0c1842d1144
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Oct 16 16:21:09 2015 +0200

    Initial packaging
---
 debian/.git-dpm      |  3 +++
 debian/changelog     |  6 ++++++
 debian/compat        |  1 +
 debian/control       | 19 +++++++++++++++++++
 debian/copyright     | 33 +++++++++++++++++++++++++++++++++
 debian/dirs          |  1 +
 debian/docs          |  1 +
 debian/install       |  3 +++
 debian/links         |  1 +
 debian/manpages      |  1 +
 debian/rules         | 11 +++++++++++
 debian/tests/control |  2 ++
 debian/tests/require |  3 +++
 debian/watch         |  5 +++++
 14 files changed, 90 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index bf48fe3..84ac0db 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 node-jsesc_0.5.0.orig.tar.gz
 951a88304ecf757b96fc86b30c6d35b94dc6a0a1
 15172
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5d90a99
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+node-jsesc (0.5.0-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #XXXXXX)
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Fri, 16 Oct 2015 16:16:48 +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..2f85987
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: node-jsesc
+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: http://mths.be/jsesc
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-jsesc.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-jsesc.git
+
+Package: node-jsesc
+Architecture: all
+Depends: ${misc:Depends}, nodejs
+Description: Escape JavaScript strings, with short output (Node.js module)
+ Escapes JavaScript strings while generating the shortes possible valid
+ ASCII-only output. This can be used to avoid various encoding issues.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7380124
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: jsesc
+Upstream-Contact: https://github.com/mathiasbynens/jsesc/issues
+Source: http://mths.be/jsesc
+
+Files: *
+Copyright: 2015 Mathias Bynens
+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/dirs b/debian/dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/bin
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/install b/debian/install
new file mode 100644
index 0000000..d9c3191
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,3 @@
+package.json usr/lib/nodejs/jsesc/
+bin usr/lib/nodejs/jsesc/
+jsesc.js usr/lib/nodejs/jsesc/
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..02ac8ec
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+usr/lib/nodejs/jsesc/bin/jsesc usr/bin/jsesc
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..cd10714
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+man/jsesc.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a67eaba
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/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..ba8ecc5
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-jsesc
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..6f24106
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('jsesc');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..7730a2c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-jsesc-$1.tar.gz/ \
+ https://github.com/mathiasbynens/jsesc/tags .*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list