[Pkg-javascript-commits] [node-po2json] 02/02: Releasing debian version 0.4.2-1.

Mathias Behrle mbehrle at moszumanska.debian.org
Sat Jul 23 15:35:04 UTC 2016


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

mbehrle pushed a commit to branch master
in repository node-po2json.

commit 3ab6662795a39dbcf879f1ed64ee4f3e260f42c8
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Jul 23 15:50:52 2016 +0200

    Releasing debian version 0.4.2-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
---
 debian/changelog                             |  5 ++++
 debian/compat                                |  1 +
 debian/control                               | 19 ++++++++++++
 debian/copyright                             | 31 +++++++++++++++++++
 debian/gbp.conf                              |  2 ++
 debian/install                               |  5 ++++
 debian/manpages/node-po2json.1               | 45 ++++++++++++++++++++++++++++
 debian/node-po2json.manpages                 |  1 +
 debian/patches/01-fix-interpreter-name.patch | 17 +++++++++++
 debian/patches/series                        |  1 +
 debian/rules                                 |  3 ++
 debian/source/format                         |  1 +
 debian/watch                                 |  3 ++
 13 files changed, 134 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b9bca5a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-po2json (0.4.2-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #829201)
+
+ -- Mathias Behrle <mbehrle at debian.org>  Fri, 01 Jul 2016 13:56:09 +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..c39215b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: node-po2json
+Section: web
+Priority: extra
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Mathias Behrle <mbehrle at debian.org>
+Build-Depends: debhelper (>= 9), dh-exec
+Standards-Version: 3.9.8
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-po2json.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-po2json.git
+Homepage: https://github.com/mikeedwards/po2json
+
+Package: node-po2json
+Architecture: all
+Depends: ${misc:Depends}, nodejs
+Description: po2json for Nodejs
+ Pure Javascript implementation of Uniforum message translation.
+ .
+ This package is the version for Nodejs to translate po files to their json
+ equivalent.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e359be1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: po2json
+Source: https://github.com/mikeedwards/po2json
+
+Files: *
+Copyright: 2008 Joshua I. Miller <unrtst at cpan.org>
+License: LGPL-2.0
+
+Files: debian/*
+Copyright: 2016 Mathias Behrle <mbehrle at debian.org>
+License: LGPL-2.0
+Comment: Debian packaging is licensed under the same terms as upstream
+
+License: LGPL-2.0
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Library General Public License as published
+ by the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+ . 
+ This program 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
+ Library General Public License for more details.
+ .
+ You should have received a copy of the GNU Library General Public
+ License along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
+ USA.
+ .
+ On Debian systems the full text of the GNU LGPL v2 can be found
+ in the `/usr/share/common-licenses/LGPL-2' file.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/install b/debian/install
new file mode 100755
index 0000000..50c8ece
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,5 @@
+#!/usr/bin/dh-exec
+package.json => usr/lib/nodejs/po2json/package.json
+index.js => usr/lib/nodejs/po2json/index.js
+lib/*.js usr/lib/nodejs/po2json/lib/
+bin/po2json => usr/bin/node-po2json
diff --git a/debian/manpages/node-po2json.1 b/debian/manpages/node-po2json.1
new file mode 100644
index 0000000..67118c6
--- /dev/null
+++ b/debian/manpages/node-po2json.1
@@ -0,0 +1,45 @@
+.TH 'NODE-PO2JSON' "1" "July 2016" "0.4.2" "User Commands"
+.SH NAME
+node-po2json \- convert po files to json (Javascript)
+.SH SYNOPSIS
+.B po2json
+\fI\,<input> <output> \/\fR[\fI\,options\/\fR]
+.SH DESCRIPTION
+input      input file
+output     output file
+.SH OPTIONS
+.TP
+\fB\-p\fR, \fB\-\-pretty\fR
+pretty\-print JSON
+.TP
+\fB\-F\fR, \fB\-\-fuzzy\fR
+include fuzzy messages
+.TP
+\fB\-f\fR, \fB\-\-format\fR
+output format, one of: raw, jed, jed1.x, mf (messageformat)  [raw]
+.TP
+\fB\-d\fR, \fB\-\-domain\fR
+domain  [messages]
+.TP
+\fB\-\-fallback\-to\-msgid\fR
+Use msgid if translation is missing (nplurals must match)
+.PP
+Usage: po2json <input> <output> [options]
+.PP
+input      input file
+output     output file
+.TP
+\fB\-p\fR, \fB\-\-pretty\fR
+pretty\-print JSON
+.TP
+\fB\-F\fR, \fB\-\-fuzzy\fR
+include fuzzy messages
+.TP
+\fB\-f\fR, \fB\-\-format\fR
+output format, one of: raw, jed, jed1.x, mf (messageformat)  [raw]
+.TP
+\fB\-d\fR, \fB\-\-domain\fR
+domain  [messages]
+.TP
+\fB\-\-fallback\-to\-msgid\fR
+Use msgid if translation is missing (nplurals must match)
diff --git a/debian/node-po2json.manpages b/debian/node-po2json.manpages
new file mode 100644
index 0000000..2fb19fb
--- /dev/null
+++ b/debian/node-po2json.manpages
@@ -0,0 +1 @@
+debian/manpages/*
diff --git a/debian/patches/01-fix-interpreter-name.patch b/debian/patches/01-fix-interpreter-name.patch
new file mode 100644
index 0000000..e80fe1c
--- /dev/null
+++ b/debian/patches/01-fix-interpreter-name.patch
@@ -0,0 +1,17 @@
+Description: Fix the name of the interpreter to use nodejs
+ Inside Debian the correct interpreter name to use is nodejs.
+ Additionally fix the require path.
+Author: Mathias Behrle <mbehrle at debian.org>
+Bug-Debian: https://bugs.debian.org/829201
+
+--- node-po2json.orig/bin/po2json	2016-07-01 14:42:49.000000000 +0200
++++ node-po2json/bin/po2json	2016-07-13 14:05:17.317945510 +0200
+@@ -1,6 +1,6 @@
+-#!/usr/bin/env node
++#!/usr/bin/env nodejs
+ 
+-var po2json = require('../'),
++var po2json = require('po2json'),
+ 	fs = require('fs'),
+   assert = require('assert'),
+   argv = process.argv;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..11bbc93
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-fix-interpreter-name.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fac20c9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,3 @@
+#!/usr/bin/make -f
+%:
+	dh $@ 
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/watch b/debian/watch
new file mode 100644
index 0000000..d229257
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/node-po2json-$1\.tar\.gz/ \
+ https://github.com/mikeedwards/po2json/releases .*/archive/v?(\d[\d\.]+)\.tar\.gz

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



More information about the Pkg-javascript-commits mailing list