[Pkg-javascript-commits] [gettext.js] 02/02: Releasing debian version 0.5.2-1.

Mathias Behrle mbehrle at moszumanska.debian.org
Sat Jul 23 13:35:26 UTC 2016


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

mbehrle pushed a commit to branch master
in repository gettext.js.

commit 398cc0d395e6580e2ec2c89ade76ed8feee6a77c
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Jul 20 16:52:32 2016 +0200

    Releasing debian version 0.5.2-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
---
 debian/changelog                |  6 ++++++
 debian/compat                   |  1 +
 debian/control                  | 39 +++++++++++++++++++++++++++++++++++++++
 debian/copyright                | 32 ++++++++++++++++++++++++++++++++
 debian/gbp.conf                 |  2 ++
 debian/libjs-gettext.js.install |  2 ++
 debian/node-gettext.js.install  |  2 ++
 debian/rules                    | 15 +++++++++++++++
 debian/source/format            |  1 +
 debian/tests/control            |  2 ++
 debian/tests/require            |  3 +++
 debian/watch                    |  3 +++
 12 files changed, 108 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a114590
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+gettext.js (0.5.2-1) unstable; urgency=medium
+
+  * Imported Upstream version 0.5.2
+  * Initial release. (Closes: #831400)
+
+ -- 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..cf906e7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,39 @@
+Source: gettext.js
+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),
+ node-uglify,
+ nodejs,
+Standards-Version: 3.9.8
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/gettext.js.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/gettext.js.git
+Homepage: https://github.com/guillaumepotier/gettext.js
+
+Package: libjs-gettext.js
+Architecture: all
+Depends:
+ ${misc:Depends},
+Recommends:
+ javascript-common,
+Description: Lightweight yet complete GNU gettext port
+ gettext.js is a lightweight (3k minified!) yet complete and accurate GNU
+ gettext port for node and the browser. Manage your i18n translations the right
+ way in your javascript projects.
+ .
+ This package contains the Javascript library.
+
+Package: node-gettext.js
+Architecture: all
+Depends:
+ nodejs,
+ ${misc:Depends},
+Description: Lightweight yet complete GNU gettext port - Node.js module
+ gettext.js is a lightweight (3k minified!) yet complete and accurate GNU
+ gettext port for node and the browser. Manage your i18n translations the right
+ way in your javascript projects.
+ .
+ This package contains the NodeJS module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1734f2e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: gettext.js
+Source: https://github.com/gettext.jsjs/gettext.js
+
+Files: *
+Copyright: Guillaume Potier
+License: MIT
+
+Files: debian/*
+Copyright: 2016 Mathias Behrle <mbehrle at debian.org>
+License: MIT
+
+License: MIT
+ The MIT License (MIT)
+ .
+ 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/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/libjs-gettext.js.install b/debian/libjs-gettext.js.install
new file mode 100644
index 0000000..7d67f24
--- /dev/null
+++ b/debian/libjs-gettext.js.install
@@ -0,0 +1,2 @@
+gettext.min.js /usr/share/javascript/gettext.js
+lib/gettext.js /usr/share/javascript/gettext.js
diff --git a/debian/node-gettext.js.install b/debian/node-gettext.js.install
new file mode 100644
index 0000000..85b85c8
--- /dev/null
+++ b/debian/node-gettext.js.install
@@ -0,0 +1,2 @@
+lib/gettext.js usr/lib/nodejs/gettext.js/lib
+package.json usr/lib/nodejs/gettext.js
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2cdb81e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+%:
+	dh $@
+
+override_dh_auto_clean:
+	# Remove preprocessed files
+	rm -rf dist/
+	rm -f *.min.js
+	# Remove external binary (code copy) provided in Debian by node-po2json
+	rm -rf bin/po2json
+	dh_clean
+
+override_dh_auto_build:
+	uglifyjs -o gettext.min.js lib/gettext.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..d8f49a9
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-gettext.js
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..54cfe5f
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('gettext.js');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..032c451
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/~/;" \
+https://github.com/guillaumepotier/gettext.js/releases .*/([0-9][0-9a-z.-]+)\.tar\.gz

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



More information about the Pkg-javascript-commits mailing list