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

Julien Puydt julien.puydt at laposte.net
Fri Oct 16 17:26:34 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-regenerate.

commit e0df7f5dea2eec1074095eaf710a0b3129eb1c56
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Oct 16 16:08:34 2015 +0200

    Initial packaging
---
 debian/.git-dpm                 |  3 +++
 debian/changelog                |  6 ++++++
 debian/compat                   |  1 +
 debian/control                  | 26 ++++++++++++++++++++++++++
 debian/copyright                | 34 ++++++++++++++++++++++++++++++++++
 debian/libjs-regenerate.docs    |  1 +
 debian/libjs-regenerate.install |  1 +
 debian/node-regenerate.docs     |  1 +
 debian/node-regenerate.install  |  2 ++
 debian/rules                    |  7 +++++++
 debian/tests/control            |  2 ++
 debian/tests/require            |  3 +++
 debian/watch                    |  5 +++++
 13 files changed, 92 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 38d8989..f40ce2e 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 node-regenerate_1.2.1.orig.tar.gz
 388ed910980d7eb8ea90484e446aab93c53616a7
 28530
+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..67a9b92
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+node-regenerate (1.2.1-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #801982)
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Fri, 16 Oct 2015 15:57:03 +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..5bd5f3e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: node-regenerate
+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://mths.be/regenerate
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-regenerate.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-regenerate.git
+
+Package: node-regenerate
+Architecture: all
+Depends: ${misc:Depends}, nodejs
+Description: Unicode-aware regular expression generator (Node.js module)
+ It allows you to easily generate JavaScript-compatible regular expressions
+ based on a given set of Unicode symbols or code points.
+ .
+ Node.js is an event-based server-side JavaScript engine.
+
+Package: libjs-regenerate
+Architecture: all
+Depends: ${misc:Depends}
+Description: Unicode-aware regular expression generator (JavaScript library)
+ It allows you to easily generate JavaScript-compatible regular expressions
+ based on a given set of Unicode symbols or code points.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1096fc6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: regenerate
+Upstream-Contact: https://github.com/mathiasbynens/regenerate/issues
+Source: https://mths.be/regenerate
+
+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/libjs-regenerate.docs b/debian/libjs-regenerate.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/libjs-regenerate.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/libjs-regenerate.install b/debian/libjs-regenerate.install
new file mode 100644
index 0000000..ef27a44
--- /dev/null
+++ b/debian/libjs-regenerate.install
@@ -0,0 +1 @@
+regenerate.js usr/share/javascript/regenerate/
diff --git a/debian/node-regenerate.docs b/debian/node-regenerate.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/node-regenerate.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/node-regenerate.install b/debian/node-regenerate.install
new file mode 100644
index 0000000..e67d405
--- /dev/null
+++ b/debian/node-regenerate.install
@@ -0,0 +1,2 @@
+package.json usr/lib/nodejs/regenerate/
+regenerate.js usr/lib/nodejs/regenerate/
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..9e100d3
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-regenerate
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..ee23964
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('regenerate');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..944ffb4
--- /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-regenerate-$1.tar.gz/ \
+ https://github.com/mathiasbynens/regenerate/tags .*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list