[Pkg-javascript-commits] [node-async] 120/480: Initial packaging.

Jonas Smedegaard js at moszumanska.debian.org
Fri May 2 08:58:18 UTC 2014


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

js pushed a commit to branch master
in repository node-async.

commit 69b2adcec1e473752b8f2738087dbd9ec6bab151
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sun Dec 4 19:30:08 2011 +0700

    Initial packaging.
---
 debian/changelog       |  6 +++++
 debian/compat          |  1 +
 debian/control         | 53 +++++++++++++++++++++++++++++++++++++++++
 debian/control.in      | 50 +++++++++++++++++++++++++++++++++++++++
 debian/copyright       | 55 +++++++++++++++++++++++++++++++++++++++++++
 debian/copyright_hints | 42 +++++++++++++++++++++++++++++++++
 debian/gbp.conf        |  5 ++++
 debian/rules           | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/source/format   |  1 +
 debian/watch           |  2 ++
 10 files changed, 279 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4475fd1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+node-async (0.1.15~20111104-1) unstable; urgency=low
+
+  * Initial release.
+    Closes: Bug#639095.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Sun, 04 Dec 2011 19:48:43 +0700
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2e12eb9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,53 @@
+Source: node-async
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Build-Depends: cdbs,
+ debhelper,
+ dh-buildinfo,
+ libnode-uglify | yui-compressor
+Standards-Version: 3.9.2
+Homepage: https://github.com/caolan/async
+Vcs-Git: git://git.debian.org/git/collab-maint/node-async
+Vcs-Browser: http://git.debian.org/?p=collab-maint/node-async.git
+
+Package: libjs-async
+Architecture: all
+Depends: ${misc:Depends},
+ nodejs
+Description: higher-order functions and common patterns for asynchronous Javascript
+ Node is an event-based server-side JavaScript engine.
+ .
+ Async is a utility module which provides straight-forward, powerful
+ functions for working with asynchronous Javascript. Although originally
+ designed for use with Node, it can also be used directly in the
+ browser.
+ .
+ Async provides around 20 functions that include the usual 'functional'
+ suspects (map, reduce, filter, forEach…) as well as some common
+ patterns for asynchronous control flow (parallel, series, waterfall…).
+ All these functions assume you follow the Node convention of providing
+ a single callback as the last argument of your async function.
+ .
+ This provides async for use directly in web browsers.
+
+Package: node-async
+Architecture: all
+Depends: ${misc:Depends},
+ nodejs
+Description: higher-order functions and common patterns for asynchronous Javascript
+ Node is an event-based server-side JavaScript engine.
+ .
+ Async is a utility module which provides straight-forward, powerful
+ functions for working with asynchronous Javascript. Although originally
+ designed for use with Node, it can also be used directly in the
+ browser.
+ .
+ Async provides around 20 functions that include the usual 'functional'
+ suspects (map, reduce, filter, forEach…) as well as some common
+ patterns for asynchronous control flow (parallel, series, waterfall…).
+ All these functions assume you follow the Node convention of providing
+ a single callback as the last argument of your async function.
+ .
+ This provides async for use with Node.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..5050493
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,50 @@
+Source: node-async
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Build-Depends: @cdbs@
+Standards-Version: 3.9.2
+Homepage: https://github.com/caolan/async
+Vcs-Git: git://git.debian.org/git/collab-maint/node-async
+Vcs-Browser: http://git.debian.org/?p=collab-maint/node-async.git
+
+Package: libjs-async
+Architecture: all
+Depends: ${misc:Depends},
+ nodejs
+Description: higher-order functions and common patterns for asynchronous Javascript
+ Node is an event-based server-side JavaScript engine.
+ .
+ Async is a utility module which provides straight-forward, powerful
+ functions for working with asynchronous Javascript. Although originally
+ designed for use with Node, it can also be used directly in the
+ browser.
+ .
+ Async provides around 20 functions that include the usual 'functional'
+ suspects (map, reduce, filter, forEach…) as well as some common
+ patterns for asynchronous control flow (parallel, series, waterfall…).
+ All these functions assume you follow the Node convention of providing
+ a single callback as the last argument of your async function.
+ .
+ This provides async for use directly in web browsers.
+
+Package: node-async
+Architecture: all
+Depends: ${misc:Depends},
+ nodejs
+Description: higher-order functions and common patterns for asynchronous Javascript
+ Node is an event-based server-side JavaScript engine.
+ .
+ Async is a utility module which provides straight-forward, powerful
+ functions for working with asynchronous Javascript. Although originally
+ designed for use with Node, it can also be used directly in the
+ browser.
+ .
+ Async provides around 20 functions that include the usual 'functional'
+ suspects (map, reduce, filter, forEach…) as well as some common
+ patterns for asynchronous control flow (parallel, series, waterfall…).
+ All these functions assume you follow the Node convention of providing
+ a single callback as the last argument of your async function.
+ .
+ This provides async for use with Node.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fcfecb9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,55 @@
+Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174
+Upstream-Name: async
+Upstream-Contact: Caolan McMahon <https://github.com/caolan/async/issues>
+Source: https://github.com/caolan/async/downloads
+ git://github.com/caolan/async
+
+Files: *
+Copyright: 2010, Caolan McMahon
+License: Expat
+
+Files: deps/nodeunit.js
+Copyright: 2009, Thomas Robinson <280north.com>
+ 2010, Caolan McMahon
+License: Expat
+
+Files: debian/*
+Copyright: 2011, Jonas Smedegaard <dr at jones.dk>
+License: GPL-2+
+
+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.
+
+License: GPL-2+
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by the
+ Free Software Foundation; either version 2, or (at your option) any
+ later version.
+ .
+ This program is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ General Public License for more details.
+Comment:
+ On Debian systems the 'GNU General Public License' version 2 is located
+ in '/usr/share/common-licenses/GPL-2'.
+ .
+ You should have received a copy of the 'GNU General Public License'
+ along with this program.  If not, see <http://www.gnu.org/licenses/>.
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..e8bfe22
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,42 @@
+Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=174
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Disclaimer: Autogenerated by CDBS
+
+Files: Makefile
+ README.md
+ debian/compat
+ debian/control
+ debian/control.in
+ debian/gbp.conf
+ debian/source/format
+ debian/watch
+ deps/nodeunit.css
+ index.js
+ lib/async.js
+ nodelint.cfg
+ package.json
+ test/test-async.js
+ test/test.html
+Copyright: *No copyright*
+License: UNKNOWN
+ FIXME
+
+Files: debian/rules
+Copyright: 2011, Jonas Smedegaard <dr at jones.dk>
+License: GPL
+ FIXME
+
+Files: LICENSE
+Copyright: 2010, Caolan McMahon
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+License: MIT/X11 (BSD like)
+ FIXME
+
+Files: deps/nodeunit.js
+Copyright: 2009, Thomas Robinson <280north.com>
+ 2010, Caolan McMahon
+License: MIT/X11 (BSD like)
+ FIXME
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..a7281f9
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,5 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..11e90d9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,64 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2011, Jonas Smedegaard <dr at jones.dk>
+# Description: Main Debian packaging script for async
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+-include /usr/share/cdbs/1/rules/upstream-tarball.mk
+include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+libname = async
+libdirname = $(libname)
+libpkgname = libjs-$(libname)
+nodepkgname = node-$(libname)
+
+# suppress optional build-dependencies
+CDBS_BUILD_DEPENDS_rules_upstream-tarball =
+CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
+
+DEB_UPSTREAM_URL = http://githubredir.debian.net/github/caolan/async
+DEB_UPSTREAM_TARBALL_BASENAME = v$(DEB_UPSTREAM_TARBALL_VERSION)
+DEB_UPSTREAM_WGET_OPTS += --no-check-certificate
+#DEB_UPSTREAM_TARBALL_MD5 = 
+
+# suppress checking binary files, to not upset dpkg-source
+DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(dist/async\.min\.js|debian/(changelog|copyright(|_hints|_newhints)))$
+
+DEB_INSTALL_DOCS_ALL += README.md
+
+# Ease backporting (libnode-uglify is tough to backport)
+# TODO: drop fallback-dependency after Squeeze
+CDBS_BUILD_DEPENDS += , libnode-uglify | yui-compressor
+js-compressor := $(or $(notdir $(shell which uglifyjs)),yui-compressor)
+
+# TODO: generalize (at least non-node) parts below as a CDBS snippet
+
+js-basedir = lib/
+#js-stems = $(basename $(wildcard $(js-basedir)*.js))
+js-stems = $(libname)
+js-min = $(js-stems:%=debian/%.min.js)
+js-destdir = /usr/share/javascript/$(libdirname)
+
+node-destdir = /usr/lib/nodejs/
+
+DEB_DH_INSTALL_ARGS_DEFAULT = $(js-stems:%=$(js-basedir)%.js) debian/*.min.js $(js-destdir)
+DEB_DH_INSTALL_ARGS_$(nodepkgname) = $(js-stems:%=$(js-basedir)%.js) $(node-destdir)
+
+build/$(libpkgname):: $(js-min)
+$(js-min): debian/%.min.js: $(js-basedir)%.js
+	$(js-compressor) -o $@ $<
+clean::
+	rm -f debian/*.js
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..f8c40ba
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://githubredir.debian.net/githubredir.cgi?author=caolan&project=async .*/v(\d.*).tar.gz

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



More information about the Pkg-javascript-commits mailing list