[Pkg-javascript-commits] [node-keypress] 02/14: initial packaging

Mike Gabriel sunweaver at debian.org
Wed Aug 20 12:03:38 UTC 2014


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

sunweaver pushed a commit to branch master
in repository node-keypress.

commit 58e59780960d9966e19424be21196186888d028b
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu May 9 14:06:14 2013 +0200

    initial packaging
---
 debian/changelog                                   |  5 ++++
 debian/compat                                      |  1 +
 debian/control                                     | 32 +++++++++++++++++++++
 debian/copyright                                   | 33 ++++++++++++++++++++++
 debian/docs                                        |  1 +
 debian/install                                     |  1 +
 debian/patches/001_fix-spelling-in-README-md.patch | 13 +++++++++
 debian/patches/series                              |  1 +
 debian/rules                                       | 16 +++++++++++
 debian/source/format                               |  1 +
 debian/watch                                       |  4 +++
 11 files changed, 108 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..30394cd
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+node-keypress (0.1.0-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #707556).
+
+ -- Mike Gabriel <sunweaver at debian.org>  Tue, 07 May 2013 18:25:42 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4c83a82
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: node-keypress
+Section: web
+Priority: extra
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders:
+ Mike Gabriel <sunweaver at debian.org>,
+Build-Depends:
+ debhelper (>= 8.0.0),
+ dh-buildinfo,
+Standards-Version: 3.9.4
+Homepage: https://github.com/TooTallNate/keypress
+Vcs-Git: git://git.debian.org/collab-maint/node-keypress.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/node-keypress.git
+
+Package: node-keypress
+Architecture: all
+Depends:
+ ${misc:Depends},
+ nodejs (>= 0.6.19~dfsg-1-3~),
+Description: Make any Node ReadableStream emit "keypress" events
+ Previous to Node v0.8.x, there was an undocumented "keypress" event that
+ process.stdin would emit when it was a TTY. Some people discovered this
+ hidden gem, and started using it in their own code.
+ .
+ In Node v0.8.x (and above), this "keypress" event does not get emitted by
+ default, but rather only when it is being used in conjunction with the
+ readline (or by extension, the repl) module.
+ .
+ This module is the exact logic from the node pre-v0.8.x releases ripped out
+ into its own module.
+ .
+ Bonus: Now with mouse support!
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..60e11fd
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: keypress
+Upstream-Contact: Nathan Rajlich <nathan at tootallnate.net>
+Source: https://github.com/TooTallNate/keypress
+
+Files: *
+Copyright:
+ 2012, Nathan Rajlich <nathan at tootallnate.net>
+License: MIT
+
+Files: debian/*
+Copyright:
+ 2013, Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+License: 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/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..7797a01
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+keypress.js usr/lib/nodejs/
diff --git a/debian/patches/001_fix-spelling-in-README-md.patch b/debian/patches/001_fix-spelling-in-README-md.patch
new file mode 100644
index 0000000..ea86bea
--- /dev/null
+++ b/debian/patches/001_fix-spelling-in-README-md.patch
@@ -0,0 +1,13 @@
+Description: Fix typo in README.md
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+--- a/README.md
++++ b/README.md
+@@ -8,7 +8,7 @@
+ gem, and started using it in their own code.
+ 
+ Now in Node `v0.8.x`, this `"keypress"` event does not get emitted by default,
+-but rather only when it is being used in conjuction with the `readline` (or by
++but rather only when it is being used in conjunction with the `readline` (or by
+ extension, the `repl`) module.
+ 
+ This module is the exact logic from the node `v0.8.x` releases ripped out into its
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e04139d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+001_fix-spelling-in-README-md.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f9a9bf8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_auto_install:
+	cp -av index.js keypress.js
+	dh_auto_install
+
+override_dh_auto_clean:
+	rm -f keypress.js
+	dh_auto_clean
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..e3fd777
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-keypress-$1.tar.gz/ \
+https://github.com/TooTallNate/keypress/tags .*/archive/v?([\d\.]+).tar.gz
+

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



More information about the Pkg-javascript-commits mailing list