[Pkg-javascript-commits] [node-getobject] 02/04: Imported Debian patch 0.1.0-1

Mattia Rizzolo mattia at debian.org
Thu Jan 7 23:46:12 UTC 2016


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

mattia pushed a commit to branch master
in repository node-getobject.

commit 08283ddff64cfca851c0122f87d80c313a6e0be4
Author: Jonathan Ulrich Horn <debian at autoit4you.de>
Date:   Tue Jan 5 03:27:39 2016 +0100

    Imported Debian patch 0.1.0-1
---
 debian/changelog               |  5 +++++
 debian/compat                  |  1 +
 debian/control                 | 27 +++++++++++++++++++++++++++
 debian/copyright               | 33 +++++++++++++++++++++++++++++++++
 debian/libjs-getobject.install |  1 +
 debian/node-getobject.install  |  2 ++
 debian/rules                   | 11 +++++++++++
 debian/source/format           |  1 +
 debian/tests/control           |  2 ++
 debian/tests/require           |  3 +++
 debian/watch                   |  3 +++
 11 files changed, 89 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7d5a222
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-getobject (0.1.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #809983)
+
+ -- Jonathan Ulrich Horn <debian at autoit4you.de>  Tue, 05 Jan 2016 03:27:39 +0100
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..94beb18
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: node-getobject
+Priority: optional
+Maintainer: Jonathan Ulrich Horn <debian at autoit4you.de>
+Build-Depends: debhelper (>= 9), nodejs
+Standards-Version: 3.9.6
+Section: web
+Homepage: https://github.com/cowboy/node-getobject
+Testsuite: autopkgtest
+
+Package: node-getobject
+Architecture: all
+Depends: nodejs, ${misc:Depends}
+Description: set and get deep objects easily - module for Node.js
+ getobject allows you to easily get and set deep objects.
+ It also allows you to check if deep objects exist.
+ .
+ Node.js is an event-based server-side JavaScript engine.
+
+Package: libjs-getobject
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: javascript-common
+Description: set and get deep objects easily - library for browsers
+ getobject allows you to easily get and set deep objects.
+ It also allows you to check if deep objects exist.
+ .
+ This package contains the library for browsers.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..97e8912
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: node-getobject
+Source: <https://github.com/cowboy/node-getobject>
+
+Files: *
+Copyright: 2013 "Cowboy" Ben Alman <cowboy+contact at benalman.com>
+License: MIT
+
+Files: debian/*
+Copyright: 2016 Jonathan Ulrich Horn <debian at autoit4you.de>
+License: MIT
+
+License: MIT
+ 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-getobject.install b/debian/libjs-getobject.install
new file mode 100644
index 0000000..2b19896
--- /dev/null
+++ b/debian/libjs-getobject.install
@@ -0,0 +1 @@
+lib/*           usr/share/javascript/getobject/
diff --git a/debian/node-getobject.install b/debian/node-getobject.install
new file mode 100644
index 0000000..86ae4a0
--- /dev/null
+++ b/debian/node-getobject.install
@@ -0,0 +1,2 @@
+lib           usr/lib/nodejs/getobject
+package.json  usr/lib/nodejs/getobject
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..806f899
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+DH_VERBOSE = 1
+
+%:
+	dh $@
+
+#Currently disabled as grunt is not yet packaged
+#And in order to package grunt this package(node-getobject) is needed,
+#as it is a dependency of grunt.
+#override_dh_auto_test:
+#	grunt nodeunit
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..61bed0a
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-getobject
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..465f277
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs e "require('getobject');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..575c268
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/node-getobject-$1\.tar\.gz/ \
+  https://github.com/cowboy/node-getobject/tags .*/v?(\d\S*)\.tar\.gz

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



More information about the Pkg-javascript-commits mailing list