[Pkg-javascript-commits] [node-yamljs] 02/04: Initial packaging.

Michael Lustfield mtecknology at debian.org
Mon Dec 11 04:21:02 UTC 2017


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

mtecknology pushed a commit to branch master
in repository node-yamljs.

commit 44985ec34c6a0e2b34c5a357d84a94725187c4d7
Author: Michael Lustfield <michael at lustfield.net>
Date:   Sat Nov 18 15:28:49 2017 -0600

    Initial packaging.
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 29 +++++++++++++++++++++++++++++
 debian/copyright     | 34 ++++++++++++++++++++++++++++++++++
 debian/dirs          |  1 +
 debian/docs          |  1 +
 debian/examples      |  1 +
 debian/install       |  9 +++++++++
 debian/links         |  2 ++
 debian/rules         | 19 +++++++++++++++++++
 debian/source/format |  1 +
 debian/tests/control |  2 ++
 debian/tests/require |  3 +++
 debian/watch         |  8 ++++++++
 14 files changed, 116 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..16b3262
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-yamljs (0.3.0-1+dfsg) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #882090)
+
+ -- Michael Lustfield <michael at lustfield.net>  Sat, 18 Nov 2017 15:12:09 -0600
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..17b3d33
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: node-yamljs
+Section: javascript
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Michael Lustfield <michael at lustfield.net>
+Build-Depends: debhelper (>= 10),
+               dh-buildinfo,
+               nodejs
+Standards-Version: 4.1.1
+Homepage: https://github.com/jeremyfa/yaml.js#readme
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-yamljs.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-yamljs.git
+
+Package: node-yamljs
+Architecture: all
+Depends: ${misc:Depends},
+         nodejs,
+         node-argparse (>= 1.0.7),
+         node-glob (>= 7.0.5)
+Description: JavaScript YAML 1.2 Parser & Encoder
+ YAML.js is a stand-alone YAML 1.2 parser and encoder. It works under
+ node.js and all major browsers. This package also includes some command
+ line YAML/JSON conversion utilities.
+ .
+ Example Usage:
+   // load string to object
+   nativeObject = YAML.parse(yamlString);
+   // load file to object
+   nativeObject = YAML.load('file.yml');
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7744f19
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: yamljs
+Upstream-Contact: https://github.com/jeremyfa/yaml.js/issues
+Source: https://github.com/jeremyfa/yaml.js
+Files-Excluded: dist/* bin/* test
+
+Files: *
+Copyright: 2017 Jeremy Faivre <contact at jeremyfa.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2017 Michael Lustfield <michael at lustfield.net>
+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/dirs b/debian/dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/bin
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/examples b/debian/examples
new file mode 100644
index 0000000..1549b67
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+demo
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..58f9be8
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,9 @@
+index.js usr/lib/nodejs/yamljs/
+src usr/lib/nodejs/yamljs/
+cli usr/lib/nodejs/yamljs/
+dist usr/lib/nodejs/yamljs/
+demo usr/lib/nodejs/yamljs/
+lib usr/lib/nodejs/yamljs/
+bin usr/lib/nodejs/yamljs/
+package.json usr/lib/nodejs/yamljs/
+Cakefile usr/lib/nodejs/yamljs/
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..48dc342
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,2 @@
+usr/lib/nodejs/yamljs/bin/yaml2json usr/bin/yaml2json
+usr/lib/nodejs/yamljs/bin/json2yaml usr/bin/json2yaml
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..990ae5b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@ --with nodejs
+
+#override_dh_auto_build:
+#	#mkdir dist
+#	dh_auto_build
+#	# Currently no need for produced binary file(s)
+#	$(RM) -r $(CURDIR)/debian/$(shell dh_listpackages)/usr/bin
+
+#override_dh_auto_test:
+
+
+
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..f239fb4
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-yamljs
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..6cb2a88
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('yamljs');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..79ddad1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,8 @@
+# uscan(1) configuration file.
+version=4
+opts="\
+pgpmode=none,\
+dversionmangle=s/\+dfsg$//,repacksuffix=+dfsg,\
+repack,compression=xz,\
+"  https://github.com/jeremyfa/yaml.js/releases \
+   .*/archive/v?(\d[\d.]+)\.tar\.gz

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



More information about the Pkg-javascript-commits mailing list