[Pkg-javascript-commits] [node-encoding] 02/02: Releasing debian version 0.1.12-1.

Mathias Behrle mbehrle at moszumanska.debian.org
Sat Jul 23 13:33:52 UTC 2016


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

mbehrle pushed a commit to branch debian
in repository node-encoding.

commit fab6df7e6f870b14638ea1f25668f28122aab2f6
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Jul 20 17:04:03 2016 +0200

    Releasing debian version 0.1.12-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
---
 debian/changelog                  |  6 ++++++
 debian/compat                     |  1 +
 debian/control                    | 28 ++++++++++++++++++++++++++++
 debian/copyright                  | 33 +++++++++++++++++++++++++++++++++
 debian/docs                       |  1 +
 debian/install                    |  2 ++
 debian/patches/01-use-iconv.patch | 16 ++++++++++++++++
 debian/patches/series             |  1 +
 debian/rules                      | 15 +++++++++++++++
 debian/source/format              |  1 +
 debian/tests/control              |  2 ++
 debian/tests/require              |  3 +++
 debian/watch                      |  5 +++++
 13 files changed, 114 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d304971
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+node-encoding (0.1.12-1) unstable; urgency=low
+
+  * Imported Upstream version 0.1.12
+  * Initial release (Closes: #831782)
+
+ -- Mathias Behrle <mbehrle at debian.org>  Tue, 19 Jul 2016 12:02:12 +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..beaacb1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: node-encoding
+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),
+ nodejs,
+Standards-Version: 3.9.8
+Homepage: https://github.com/andris9/encoding#readme
+Vcs-Git: https://anonscm.debian.org/cgit/pkg-javascript/node-encoding.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-encoding.git
+
+Package: node-encoding
+Architecture: all
+Depends:
+ node-iconv,
+ nodejs,
+ ${misc:Depends},
+Description: Convert encodings, uses iconv by default and fallbacks to iconv-lite if needed
+ encoding is a simple wrapper around
+ node-iconv (https://github.com/bnoordhuis/node-iconv) and
+ iconv-lite (https://github.com/ashtuchkin/iconv-lite/) to convert strings
+ from one encoding to another. If node-iconv is not available for some reason,
+ iconv-lite will be used instead of it as a fallback.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..70d3beb
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: encoding
+Upstream-Contact: https://github.com/andris9/encoding/issues
+Source: https://github.com/andris9/encoding#readme
+
+Files: *
+Copyright: 2012-2014 Andris Reinman
+License: Expat
+
+Files: debian/*
+Copyright: 2016 Mathias Behrle <mbehrle at debian.org>
+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..c883fe0
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,2 @@
+lib usr/lib/nodejs/encoding/
+package.json usr/lib/nodejs/encoding/
diff --git a/debian/patches/01-use-iconv.patch b/debian/patches/01-use-iconv.patch
new file mode 100644
index 0000000..b7bb07e
--- /dev/null
+++ b/debian/patches/01-use-iconv.patch
@@ -0,0 +1,16 @@
+Description: Use iconv instead of iconv-lite
+ encoding can use iconv instead of iconv-lite. So we just comment
+ the require and depend on iconv, which is available in the archive.
+Author: Mathias Behrle <mbehrle at debian.org>
+Forwarded: not-needed
+
+--- node-encoding-0.1.12.orig/lib/encoding.js
++++ node-encoding-0.1.12/lib/encoding.js
+@@ -1,6 +1,6 @@
+ 'use strict';
+ 
+-var iconvLite = require('iconv-lite');
++// var iconvLite = require('iconv-lite');
+ // Load Iconv from an external file to be able to disable Iconv for webpack
+ // Add /\/iconv-loader$/ to webpack.IgnorePlugin to ignore it
+ var Iconv = require('./iconv-loader');
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9d7f262
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-use-iconv.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..de57af0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+#override_dh_auto_build:
+
+#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..e5c9253
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-encoding
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..1813d65
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('encoding');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3e087f2
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-encoding-$1.tar.gz/ \
+ https://github.com/andris9/encoding/tags .*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list