debian/0000755000000000000000000000000012172344075007173 5ustar debian/install0000644000000000000000000000003512142711220010545 0ustar commander.js usr/lib/nodejs/ debian/control0000644000000000000000000000164712144650013010575 0ustar Source: node-commander Section: web Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: Mike Gabriel , Build-Depends: debhelper (>= 8.0.0), dh-buildinfo, Standards-Version: 3.9.4 Homepage: https://github.com/visionmedia/commander.js Vcs-Git: git://git.debian.org/collab-maint/node-commander.git Vcs-Browser: http://git.debian.org/?p=collab-maint/node-commander.git Package: node-commander Architecture: all Depends: ${misc:Depends}, nodejs (>= 0.6.19~dfsg1-3~), node-keypress (>= 0.1.0), Description: Complete solution for Node.js command-line interfaces Commander is a light-weight, expressive, and powerful command-line framework for Node.js. . Inspired by Ruby's commander, this Node.js module provides command line option parsing, automated/customizable help texts, command line prompting password query, and many more features. debian/copyright0000644000000000000000000000264312146253163011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Commander.js Upstream-Contact: TJ Holowaychuk Source: https://github.com/visionmedia/commander.js Files: * Copyright: 2011, TJ Holowaychuk License: Expat Files: debian/* Copyright: 2013, Mike Gabriel 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. debian/rules0000755000000000000000000000055012142713254010247 0ustar #!/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: override_dh_auto_install: cp -av index.js commander.js dh_auto_install override_dh_auto_clean: rm -f commander.js dh_auto_clean override_dh_installchangelogs: dh_installchangelogs History.mddebian/examples0000644000000000000000000000001212142711236010717 0ustar examples/*debian/watch0000644000000000000000000000024612142711140010212 0ustar version=3 opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-commander-$1.tar.gz/ \ https://github.com/visionmedia/commander.js/tags .*/archive/v?([\d\.]+).tar.gz debian/patches/0000755000000000000000000000000012172343073010617 5ustar debian/patches/series0000644000000000000000000000003212142712553012027 0ustar 001_nodejs-shebangs.patch debian/patches/001_nodejs-shebangs.patch0000644000000000000000000000307112172343073015273 0ustar Description: Replace node shebangs with nodejs (Debian-specific) Author: Mike Gabriel --- a/examples/coercion +++ b/examples/coercion @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env nodejs /** * Module dependencies. --- a/examples/custom-help +++ b/examples/custom-help @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env nodejs /** * Module dependencies. @@ -17,7 +17,7 @@ .option('-B, --baz', 'enable some baz'); // must be before .parse() since -// node's emit() is immediate +// Node.js's emit() is immediate program.on('--help', function(){ console.log(' Examples:'); --- a/examples/defaults +++ b/examples/defaults @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env nodejs /** * Module dependencies. --- a/examples/deploy +++ b/examples/deploy @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env nodejs /** * Module dependencies. --- a/examples/express +++ b/examples/express @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env nodejs /** * Module dependencies. --- a/examples/help +++ b/examples/help @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env nodejs /** * Module dependencies. --- a/examples/pizza +++ b/examples/pizza @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env nodejs /** * Module dependencies. --- a/examples/pm +++ b/examples/pm @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env nodejs var program = require('..'); --- a/examples/pm-install +++ b/examples/pm-install @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env nodejs var program = require('..'); debian/docs0000644000000000000000000000002712150371122010032 0ustar Readme.md package.json debian/changelog0000644000000000000000000000146112172343713011045 0ustar node-commander (2.0.0-1) unstable; urgency=low * New upstream release. * /debian/copyright: + Use Expat instead of MIT as license keyword. * /debian/docs: + Install package.json into doc folder. * /debian/patches/001_nodejs-shebangs.patch: + Adapt patch, some example files have been remove by upstream. * /debian/lintian-overrides: + Adapt file to removed examples. -- Mike Gabriel Sat, 20 Jul 2013 01:12:09 +0200 node-commander (1.1.1-2) unstable; urgency=low * /debian/control: + Fix versioned dependency on nodejs. -- Mike Gabriel Wed, 15 May 2013 11:10:56 +0200 node-commander (1.1.1-1) unstable; urgency=low * Initial release. (Closes: #707559). -- Mike Gabriel Thu, 09 May 2013 14:30:16 +0200 debian/compat0000644000000000000000000000000212142142326010361 0ustar 8 debian/source/0000755000000000000000000000000012142142326010463 5ustar debian/source/format0000644000000000000000000000001412142142326011671 0ustar 3.0 (quilt) debian/lintian-overrides0000644000000000000000000000171212172343335012553 0ustar # Node.js based package use nodejs as interpreter, nothing uncommon about this... node-commander: example-unusual-interpreter usr/share/doc/node-commander/examples/coercion #!nodejs node-commander: example-unusual-interpreter usr/share/doc/node-commander/examples/custom-help #!nodejs node-commander: example-unusual-interpreter usr/share/doc/node-commander/examples/defaults #!nodejs node-commander: example-unusual-interpreter usr/share/doc/node-commander/examples/deploy #!nodejs node-commander: example-unusual-interpreter usr/share/doc/node-commander/examples/express #!nodejs node-commander: example-unusual-interpreter usr/share/doc/node-commander/examples/help #!nodejs node-commander: example-unusual-interpreter usr/share/doc/node-commander/examples/pizza #!nodejs node-commander: example-unusual-interpreter usr/share/doc/node-commander/examples/pm #!nodejs node-commander: example-unusual-interpreter usr/share/doc/node-commander/examples/pm-install #!nodejs