[Pkg-javascript-commits] [node-simplestatemanager] 01/03: Import Debian changes 4.0.2-1
Daniel Ring
techwolf-guest at moszumanska.debian.org
Sat Dec 30 11:46:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
techwolf-guest pushed a commit to branch master
in repository node-simplestatemanager.
commit cab8f0a9e88fd6f7505a5870f607424bf946b05d
Author: Daniel Ring <dring at wolfishly.me>
Date: Sat Dec 30 01:28:29 2017 -0800
Import Debian changes 4.0.2-1
node-simplestatemanager (4.0.2-1) unstable; urgency=low
* Initial release (Closes: #885848)
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 32 ++++++++++++++++++++++++++++++++
debian/copyright | 34 ++++++++++++++++++++++++++++++++++
debian/docs | 1 +
debian/install | 2 ++
debian/rules | 16 ++++++++++++++++
debian/source/format | 1 +
debian/tests/control | 2 ++
debian/tests/require | 3 +++
debian/watch | 9 +++++++++
debian/webpack.config.js | 31 +++++++++++++++++++++++++++++++
12 files changed, 137 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a4b4580
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-simplestatemanager (4.0.2-1) unstable; urgency=low
+
+ * Initial release (Closes: #885848)
+
+ -- Daniel Ring <dring at wolfishly.me> Sat, 30 Dec 2017 01:28:29 -0800
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..ad9c573
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: node-simplestatemanager
+Section: javascript
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Daniel Ring <dring at wolfishly.me>
+Build-Depends:
+ debhelper (>= 9)
+ , dh-buildinfo
+ , nodejs
+ , node-babel-core
+ , node-babel-cli
+ , node-babel-preset-es2015
+Standards-Version: 4.1.2
+Homepage: https://github.com/jonathan-fielding/SimpleStateManager
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-simplestatemanager.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-simplestatemanager.git
+
+Package: node-simplestatemanager
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+Description: Lightweight state manager for responsive websites
+ Simple State Manager is a JavaScript state manager for responsive websites. It
+ is built to be lightweight, has no dependencies, and aims to be easy to use.
+ .
+ As a state manager, SSM allows you to target different JavaScript towards
+ different states of a website. It allows you to define as many states as your
+ site requires and provides independent Enter, Leave and Resize events for each
+ of the states.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f9a3861
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: simplestatemanager
+Upstream-Contact: https://github.com/jonathan-fielding/SimpleStateManager/issues
+Source: https://github.com/jonathan-fielding/SimpleStateManager#readme
+
+Files: *
+Copyright: 2017 Jonathan Fielding
+License: Expat
+
+Files: debian/*
+Copyright: 2017 Daniel Ring <dring at wolfishly.me>
+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..76fb3f1
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+dist usr/lib/nodejs/simplestatemanager/
+package.json usr/lib/nodejs/simplestatemanager/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a44bd66
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ webpack --config debian/webpack.config.js
+
+#override_dh_auto_test:
+
+override_dh_fixperms:
+ dh_fixperms
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..d5aa34a
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-simplestatemanager
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..799d1fb
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('simplestatemanager');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..940bfd9
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,9 @@
+version=3
+# It is not recommended use fakeupstream. Please investigate more.
+# Origin url: https://github.com/jonathan-fielding/SimpleStateManager
+# Take a look at https://wiki.debian.org/debian/watch/
+# See also fakeupstream: http://anonscm.debian.org/viewvc/qa/trunk/cgi-bin/fakeupstream.cgi?view=markup
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*=// \
+ http://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=npmjs/simplestatemanager .*=simplestatemanager-(\d.*)\.(?:tgz|tar\.(?:gz|bz2|xz))
diff --git a/debian/webpack.config.js b/debian/webpack.config.js
new file mode 100644
index 0000000..c1d6937
--- /dev/null
+++ b/debian/webpack.config.js
@@ -0,0 +1,31 @@
+var webpack = require('webpack');
+
+module.exports = {
+ entry: {
+ 'ssm': './src/ssm.js'
+ },
+ output: {
+ library: 'ssm',
+ libraryTarget: 'umd',
+ libraryExport: 'default',
+ filename: 'dist/ssm.min.js'
+ },
+ devtool: 'source-map',
+ externals: {
+ 'ssm': 'window.ssm'
+ },
+ plugins: [
+ new webpack.optimize.UglifyJsPlugin({sourceMap:true})
+ ],
+ module: {
+ rules: [
+ {
+ test: /\.js$/,
+ loader: '/usr/lib/nodejs/babel-loader',
+ options: {
+ presets: [['es2015', {modules: false}]]
+ }
+ }
+ ]
+ }
+};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-simplestatemanager.git
More information about the Pkg-javascript-commits
mailing list