[Pkg-javascript-commits] [node-reduce-component] 02/02: initial debian commit

Leo Iannacone l3on-guest at moszumanska.debian.org
Mon Jun 2 13:28:54 UTC 2014


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

l3on-guest pushed a commit to branch master
in repository node-reduce-component.

commit 1e340d419a3063884daeda69d8548aba66fd0a4f
Author: Leo Iannacone <l3on at ubuntu.com>
Date:   Mon Jun 2 15:28:48 2014 +0200

    initial debian commit
---
 debian/changelog              |  6 ++++++
 debian/compat                 |  1 +
 debian/control                | 27 +++++++++++++++++++++++++++
 debian/copyright              | 29 +++++++++++++++++++++++++++++
 debian/docs                   |  1 +
 debian/install                |  2 ++
 debian/patches/makefile.patch | 19 +++++++++++++++++++
 debian/patches/series         |  1 +
 debian/rules                  | 17 +++++++++++++++++
 debian/source/format          |  1 +
 debian/watch                  |  5 +++++
 11 files changed, 109 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6d5effb
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+node-reduce-component (1.0.1-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #750204)
+
+ -- Leo Iannacone <l3on at ubuntu.com>  Mon, 02 Jun 2014 13:15:10 +0200
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0090727
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: node-reduce-component
+Section: web
+Priority: extra
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Leo Iannacone <l3on at ubuntu.com>
+Build-Depends:
+ debhelper (>= 8)
+ , dh-buildinfo
+ , nodejs
+ , node-should
+ , node-mocha
+Standards-Version: 3.9.5
+Homepage: https://github.com/redventures/reduce
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-reduce-component.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-reduce-component.git
+
+Package: node-reduce-component
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+Description: array reduce component - Node.js module
+ This package contains a method reduce which applies
+ a function against each value of an array in
+ order to reduce it to a single value.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c513a75
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: reduce-component
+Upstream-Contact: https://github.com/redventures/reduce/issues
+Source: https://github.com/redventures/reduce
+
+Files: *
+Copyright: 2012 Red Ventures
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2014 Leo Iannacone <l3on at ubuntu.com>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache version 2.0 license
+ can be found in "/usr/share/common-licenses/Apache-2.0".
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..ad1245d
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+Readme.md
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..b6e19b1
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+package.json usr/lib/nodejs/reduce-component/
+index.js usr/lib/nodejs/reduce-component/
diff --git a/debian/patches/makefile.patch b/debian/patches/makefile.patch
new file mode 100644
index 0000000..694d94a
--- /dev/null
+++ b/debian/patches/makefile.patch
@@ -0,0 +1,19 @@
+Description: Use system mocha binary
+Author: Leo Iannacone <l3on at ubuntu.com>
+Forwarded: not-needed
+
+---
+ Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/Makefile
++++ b/Makefile
+@@ -9,7 +9,7 @@
+ 	rm -fr build components
+
+ test:
+-	@./node_modules/.bin/mocha \
++	mocha \
+ 		--require should \
+ 		--reporter spec
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..82374e5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+makefile.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..6e88745
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_auto_build:
+
+#override_dh_auto_test:
+
+#override_dh_installchangelogs:
+#	dh_installchangelogs -k History.md
+
+
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/watch b/debian/watch
new file mode 100644
index 0000000..7c51a92
--- /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-reduce-component-$1.tar.gz/ \
+ https://github.com/redventures/reduce/tags .*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list