[Pkg-javascript-commits] [node-esprima-fb] 06/06: Initial packaging
Julien Puydt
julien.puydt at laposte.net
Mon Oct 19 21:24:22 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-esprima-fb.
commit fc9ca00ee97bb67d514a1f580523f23aa5a84e60
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Sun Oct 18 22:42:24 2015 +0200
Initial packaging
---
debian/changelog | 5 ++
debian/compat | 1 +
debian/control | 19 +++++++
debian/copyright | 116 ++++++++++++++++++++++++++++++++++++++++
debian/docs | 1 +
debian/install | 2 +
debian/rules | 7 +++
debian/source/lintian-overrides | 3 ++
debian/tests/control | 2 +
debian/tests/require | 3 ++
debian/watch | 4 ++
11 files changed, 163 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..fdec75c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-esprima-fb (15001.1001.0-dev-harmony-fb-1) unstable; urgency=low
+
+ * Initial release (Closes: #802392)
+
+ -- Julien Puydt <julien.puydt at laposte.net> Mon, 19 Oct 2015 23:16:53 +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..bcca15b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: node-esprima-fb
+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://github.com/facebook/esprima/tree/fb-harmony
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-esprima-fb.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-esprima-fb.git
+
+Package: node-esprima-fb
+Architecture: all
+Depends: ${misc:Depends}, nodejs
+Description: Facebook-specific fork of the esprima project
+ Esprima-FB is a fork of the Harmony branch of Esprima that implements
+ JSX specification on top of ECMAScript syntax.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..89ee0b3
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,116 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: esprima-fb
+Upstream-Contact: http://issues.esprima.org
+Source: https://github.com/facebook/esprima/tree/fb-harmony
+
+Files: *
+Copyright: 2011-2013 Ariya Hidayat
+ 2013 Thaddee Tyl
+ 2012 Mathias Bynens
+ 2012 Joost-Wim Boekesteijn
+ 2012 Kris Kowal
+ 2011-2013 Yusuke Suzuki
+ 2011-2012 Arpad Borsos
+License: BSD-2-clause
+
+Files: test/3rdparty/benchmark.js
+Copyright: 2010-2012 Mathias Bynens
+License: Expat
+
+Files: test/3rdparty/jquery-1.8.2.js test/3rdparty/jquery.mobile-1.2.0.js
+Copyright: 2012 jQuery Foundation and other contributors
+License: Expat
+
+Files: test/3rdparty/parse-js.js
+Copyright: 2010 Mihai Bazon
+License: BSD-2-clause
+
+Files: test/3rdparty/XMLHttpRequest.js
+Copyright: 2011 Sergey Ilinsky
+License: LGPL-2.1+
+
+Files: test/3rdparty/esmangle.browser.js
+Copyright: 2012 Mihai Bazon
+ 2012 Michael Ficarra
+ 2012 Ariya Hidayat
+ 2012 Yusuke Suzuki
+License: BSD-2-clause
+
+Files: test/3rdparty/escodegen.browser.js
+Copyright: 2012 Joost-Wim Boekesteijn
+ 2012 Arpad Borsos
+ 2012 Mathias Bynens
+ 2012 Michael Ficarra
+ 2012 John Freeman
+ 2012 Robert Gust-Bardon
+ 2012 Ariya Hidayat
+ 2012 Kris Kowal
+ 2012 Yusuke Suzuki
+License: BSD-2-clause
+
+Files: test/3rdparty/mootools-1.4.1.js
+Copyright: 2006-2010 Valerio Proietti
+License: Expat
+
+Files: debian/*
+Copyright: 2015 Julien Puydt <julien.puydt at laposte.net>
+License: BSD-2-clause
+
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without modification, are
+ permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice, this list of
+ conditions and the following disclaimer.
+ .
+ 2. 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.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``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 William Hart OR
+ CONTRIBUTORS 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: 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: LGPL-2.1+
+ This file is free software: you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation, either version 2.1 of the License, or (at
+ your option) any later version.
+ .
+ This file 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 Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with this file. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..2525827
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+package.json usr/lib/nodejs/esprima-fb/
+esprima.js usr/lib/nodejs/esprima-fb/
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/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..d68803b
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,3 @@
+# Those are actually source files
+node-esprima-fb source: source-is-missing esprima.js
+node-esprima-fb source: source-is-missing tools/stringify.js
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..325bbfc
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-esprima-fb
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..235fe15
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('esprima-fb');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..dc75ee5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-esprima-fb-$1.tar.gz/\
+ https://github.com/facebook/esprima/tags .*/archive/(.*).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-esprima-fb.git
More information about the Pkg-javascript-commits
mailing list