[Pkg-javascript-commits] [node-superagent] 02/02: initial debian commit
Leo Iannacone
l3on-guest at moszumanska.debian.org
Mon Jun 2 15:36:00 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-superagent.
commit 588bfdc4d7479b44274cb9e79a0868401a3c0790
Author: Leo Iannacone <l3on at ubuntu.com>
Date: Mon Jun 2 17:35:34 2014 +0200
initial debian commit
---
debian/changelog | 6 ++
debian/compat | 1 +
debian/control | 34 +++++++++++
debian/copyright | 78 +++++++++++++++++++++++++
debian/docs | 2 +
debian/install | 2 +
debian/patches/no_require_readable-stream.patch | 19 ++++++
debian/patches/series | 1 +
debian/rules | 23 ++++++++
debian/source/format | 1 +
debian/watch | 5 ++
11 files changed, 172 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..df68962
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+node-superagent (0.18.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #750213)
+
+ -- Leo Iannacone <l3on at ubuntu.com> Mon, 02 Jun 2014 16:06:06 +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..292b8fe
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: node-superagent
+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
+Standards-Version: 3.9.5
+Homepage: https://github.com/visionmedia/superagent
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-superagent.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-superagent.git
+
+Package: node-superagent
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+ , node-qs
+ , node-cookiejar
+ , node-methods
+ , node-extend
+ , node-form-data
+ , node-mime
+ , node-formidable
+ , node-debug
+ , node-reduce-component
+ , node-component-emitter
+Description: small progressive client-side HTTP request library - Node.js module
+ Super Agent is light-weight progressive ajax API crafted
+ for flexibility, readability, and a low learning curve.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a79a74c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,78 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: superagent
+Upstream-Contact: https://github.com/visionmedia/superagent/issues
+Source: https://github.com/visionmedia/superagent
+
+Files: *
+Copyright: 2014 TJ Holowaychuk <tj at vision-media.ca>
+License: Expat
+
+Files: test/jquery.js
+Copyright: 2011, John Resig
+ 2011, The Dojo Foundation
+License: Expat or BSD-3-clause or GPL-2+
+
+Files: debian/*
+Copyright: 2014 Leo Iannacone <l3on at ubuntu.com>
+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.
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of the <organization> nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY John Resig ''AS IS'' AND ANY
+ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: GPL-2+
+ This package 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 of the License, or
+ (at your option) any later version.
+ .
+ This package 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/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..1526a94
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+Readme.md
+docs/documentation.md
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..fa1b4ae
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+package.json usr/lib/nodejs/superagent/
+lib usr/lib/nodejs/superagent/
diff --git a/debian/patches/no_require_readable-stream.patch b/debian/patches/no_require_readable-stream.patch
new file mode 100644
index 0000000..9ad8240
--- /dev/null
+++ b/debian/patches/no_require_readable-stream.patch
@@ -0,0 +1,19 @@
+Description: readable-stream is only needed for nodejs 0.8 compat
+Author: Leo Iannacone <l3on at ubuntu.com>
+Forwarded: not-needed
+
+---
+ lib/node/part.js | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/lib/node/part.js
++++ b/lib/node/part.js
+@@ -6,7 +6,7 @@
+ var util = require('util');
+ var mime = require('mime');
+ var FormData = require('form-data');
+-var PassThrough = require('readable-stream/passthrough');
++var PassThrough = require('stream').PassThrough;
+
+ /**
+ * Initialize a new `Part` for the given `req`.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c366f88
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+no_require_readable-stream.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..242a51b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@
+
+override_dh_auto_clean:
+ rm -f docs/documentation.md
+ dh_auto_clean
+
+override_dh_auto_build:
+ cp docs/index.md docs/documentation.md
+
+# Tests require express 3.x, but in debian we have 4.x
+# So, do not run tests untill this issues is open:
+# https://github.com/visionmedia/superagent/issues/390
+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..bc76ea7
--- /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-superagent-$1.tar.gz/ \
+ https://github.com/visionmedia/superagent/tags .*/archive/v?([\d\.]+).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-superagent.git
More information about the Pkg-javascript-commits
mailing list