[Pkg-javascript-commits] [node-json-localizer] 02/03: Initial Debian packaging

Ross Gammon ross-guest at moszumanska.debian.org
Wed Mar 2 20:28:45 UTC 2016


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

ross-guest pushed a commit to branch master
in repository node-json-localizer.

commit 6b5aeea2d5c4cfdfde2ab54bdc5b872a4cd002b0
Author: Ross Gammon <rossgammon at mail.dk>
Date:   Wed Mar 2 21:06:55 2016 +0100

    Initial Debian packaging
---
 debian/changelog         |  6 ++++++
 debian/compat            |  1 +
 debian/control           | 23 +++++++++++++++++++++++
 debian/copyright         | 26 ++++++++++++++++++++++++++
 debian/docs              |  1 +
 debian/gbp.conf          | 19 +++++++++++++++++++
 debian/install           |  2 ++
 debian/rules             | 11 +++++++++++
 debian/source/format     |  1 +
 debian/tests/control     |  2 ++
 debian/tests/require     |  3 +++
 debian/upstream/metadata |  6 ++++++
 debian/watch             |  7 +++++++
 13 files changed, 108 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5b6dc56
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+node-json-localizer (0.0.3-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #805413)
+
+ -- Ross Gammon <rossgammon at mail.dk>  Sat, 13 Feb 2016 20:32:47 +0100
+
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..6792efa
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: node-json-localizer
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Ross Gammon <rossgammon at mail.dk>
+Build-Depends: debhelper (>= 9),
+               dh-buildinfo,
+               nodejs
+Standards-Version: 3.9.7
+Homepage: https://github.com/yohanboniface/json-localizer/
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-json-localizer.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-json-localizer.git
+
+Package: node-json-localizer
+Architecture: all
+Depends: ${misc:Depends},
+         nodejs
+Description: Utility to localize a json object
+ Node-json-localizer can be used When you need humans to localize a json
+ object from a config file. A typical use case is for a local config file,
+ to extend an application config on the fly.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..dab5b0b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: json-localizer
+Upstream-Contact: https://github.com/yohanboniface/json-localizer/issues
+Source: https://github.com/yohanboniface/json-localizer/
+
+Files: *
+Copyright: 2016 Yohan Boniface
+License: WTFPL
+
+Files: debian/*
+Copyright: 2016 Ross Gammon <rossgammon at mail.dk>
+License: WTFPL
+
+License: WTFPL
+ do What The Fuck you want to Public License
+ .
+ Version 1.0, March 2000
+ Copyright (C) 2000 Banlu Kemiyatorn (]d).
+ 136 Nives 7 Jangwattana 14 Laksi Bangkok
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+ .
+ Ok, the purpose of this license is simple
+ and you just
+ .
+ DO WHAT THE FUCK YOU WANT TO.
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/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..462aef2
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,19 @@
+[DEFAULT]
+
+# The default name for the upstream branch is "upstream".
+# Change it if the name is different (for instance, "master").
+upstream-branch = upstream
+
+# The default name for the Debian branch is "master".
+# Change it if the name is different (for instance, "debian/unstable").
+debian-branch = master
+
+# git-import-orig uses the following names for the upstream tags.
+# Change the value if you are not using git-import-orig
+upstream-tag = upstream/%(version)s
+
+# Always use pristine-tar.
+pristine-tar = True
+
+# Applies to all commands
+sign-tags = True
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..6535d01
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+package.json usr/lib/nodejs/json-localizer/
+index.js usr/lib/nodejs/json-localizer/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ba9abd1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_auto_test:
+	nodejs tests/index.js
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..f201e87
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-json-localizer
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..ca17b5f
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('json-localizer');"
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..6f32301
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/yohanboniface/json-localizer/issues
+Bug-Submit: https://github.com/yohanboniface/json-localizer/issues/new
+Name: json-localizer
+Repository: https://github.com/yohanboniface/json-localizer.git
+Repository-Browse: https://github.com/yohanboniface/json-localizer/
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..a9f0ab5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+version=3
+# Fakeupstream is being used because upstream to not tag releases
+# on github: https://github.com/yohanboniface/json-localizer
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*=// \
+ http://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=npmjs/json-localizer .*=json-localizer-(\d.*)\.(?:tgz|tar\.(?:gz|bz2|xz))

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



More information about the Pkg-javascript-commits mailing list