[Pkg-javascript-commits] [node-es-module-loader-0.17] 02/03: Import Debian patch 0.17.11+dfsg-1
Tim Potter
tpot at hpe.com
Tue Oct 11 05:46:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
tpot-guest pushed a commit to branch master
in repository node-es-module-loader-0.17.
commit 8894b19772c716637f6f26025da753d39f2f4a64
Author: Tim Potter <tpot at hpe.com>
Date: Thu Sep 29 16:06:52 2016 +1000
Import Debian patch 0.17.11+dfsg-1
---
debian/changelog | 6 ++++++
debian/compat | 1 +
debian/control | 27 +++++++++++++++++++++++++++
debian/copyright | 35 +++++++++++++++++++++++++++++++++++
debian/docs | 1 +
debian/install | 2 ++
debian/rules | 28 ++++++++++++++++++++++++++++
debian/source/format | 1 +
debian/tests/control | 2 ++
debian/tests/require | 3 +++
debian/watch | 6 ++++++
11 files changed, 112 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..916e3af
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+node-es-module-loader-0.17 (0.17.11+dfsg-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #nnnn)
+
+ -- Tim Potter <tpot at hpe.com> Thu, 29 Sep 2016 16:06:52 +1000
+
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..298dea9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: node-es-module-loader-0.17
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Tim Potter <tpot at hpe.com>
+Build-Depends:
+ debhelper (>= 9)
+ , dh-buildinfo
+ , nodejs
+ , node-uglify
+Standards-Version: 3.9.8
+Homepage: https://github.com/ModuleLoader/es-module-loader
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-es-module-loader.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-es-module-loader.git
+
+Package: node-es-module-loader-0.17
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+Description: Polyfill and low-level API for the WhatWG loader spec
+ This library provides a polyfill and low-level API for the WhatWG
+ loader spec to create custom module loaders. It supports the
+ System.register module fomat to provide identical module loading
+ semantics as ES modules in environments today.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f366f3b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: es-module-loader
+Upstream-Contact: https://github.com/ModuleLoader/es-module-loader/issues
+Source: https://github.com/ModuleLoader/es-module-loader
+Files-Excluded: dist
+
+Files: *
+Copyright: 2013-2016 Guy Bedford, Luke Hoban, Addy Osmani
+License: Expat
+
+Files: debian/*
+Copyright: 2016 Tim Potter <tpot at hpe.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.
+
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..498c33d
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+package.json usr/lib/nodejs/es-module-loader/
+dist/*.js usr/lib/nodejs/es-module-loader/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ed48360
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,28 @@
+#!/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_auto_install: dist/es6-module-loader.js
+ dh_auto_install
+
+DIST_FILES=src/url-polyfill.js src/wrapper-start.js src/loader.js src/dynamic-only.js src/system.js src/system-resolve.js src/system-fetch.js src/wrapper-end.js
+
+dist/es6-module-loader.src.js:
+ mkdir -p dist
+ cat $(DIST_FILES) > $@
+
+%.js: %.src.js
+ uglifyjs $< -o $@
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf dist
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..ad5d52b
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-es-module-loader
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..506923a
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('es-module-loader');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..7fe6440
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+repacksuffix=+dfsg,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-es-module-loader-$1.tar.gz/ \
+ https://github.com/ModuleLoader/es-module-loader/tags .*/archive/v?([\d\.]+).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-es-module-loader-0.17.git
More information about the Pkg-javascript-commits
mailing list