[Pkg-javascript-commits] [node-text-encoding] 02/03: Initial packaging

Julien Puydt julien.puydt at laposte.net
Fri Sep 11 14:09:25 UTC 2015


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

jpuydt-guest pushed a commit to branch master
in repository node-text-encoding.

commit 34be2dc32203e3801e7f15af14185f02323a83a0
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Sep 11 15:51:20 2015 +0200

    Initial packaging
---
 debian/changelog                |  5 +++++
 debian/compat                   |  1 +
 debian/control                  | 22 ++++++++++++++++++++++
 debian/copyright                | 16 ++++++++++++++++
 debian/docs                     |  1 +
 debian/gbp.conf                 |  2 ++
 debian/install                  |  3 +++
 debian/rules                    |  8 ++++++++
 debian/source/format            |  1 +
 debian/source/lintian-overrides |  3 +++
 debian/tests/control            |  2 ++
 debian/tests/require            |  3 +++
 debian/watch                    |  5 +++++
 13 files changed, 72 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..a9f6fa1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-text-encoding (0.5.3-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #789969)
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Fri, 28 Aug 2015 11:27:00 +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..29fa15e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: node-text-encoding
+Section: web
+Priority: extra
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: Julien Puydt <julien.puydt at laposte.net>
+Build-Depends:
+ debhelper (>= 9), dh-buildinfo, nodejs
+Standards-Version: 3.9.6
+Homepage: https://github.com/inexorabletash/text-encoding
+Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-text-encoding.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-text-encoding.git
+Testsuite: autopkgtest
+
+Package: node-text-encoding
+Architecture: all
+Depends: ${misc:Depends}, nodejs
+Description: Polyfill for the Encoding Living Standard's API
+ Provides a polyfill for the Encoding Living Standard's API for the
+ Web, allowing encoding and decoding of textual data to and from
+ Typed Array buffers for binary data in JavaScript.
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b0c3f69
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,16 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: text-encoding
+Upstream-Contact: https://github.com/inexorabletash/text-encoding/issues
+Source: https://github.com/inexorabletash/text-encoding
+
+Files: *
+Copyright: 2015 Joshua Bell <inexorabletash at gmail.com>
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2015 Julien Puydt <julien.puydt at laposte.net>
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian systems, the full text of the Apache 2.0 license can
+ be found in /usr/share/common-licenses/Apache-2.0 .
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..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 100644
index 0000000..41ecd00
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,3 @@
+package.json usr/lib/nodejs/text-encoding/
+lib usr/lib/nodejs/text-encoding/
+index.js usr/lib/nodejs/text-encoding/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9861256
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	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/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..a5d2dd5
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,3 @@
+# This file is obtained from data from the W3C's WHATWG
+node-text-encoding source: source-contains-prebuilt-javascript-object
+node-text-encoding source: source-is-missing lib/encoding-indexes.js
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..67c83a8
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-text-encoding
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..848d371
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('text-encoding');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..8ada694
--- /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-text-encoding-$1.tar.gz/ \
+ https://github.com/inexorabletash/text-encoding/tags .*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list