debian/0000755000000000000000000000000012173502006007162 5ustar debian/patches/0000755000000000000000000000000012173501675010624 5ustar debian/patches/README0000644000000000000000000000021112114712607011470 0ustar 0xxx: Grabbed from upstream development. 1xxx: Possibly relevant for upstream adoption. 2xxx: Only relevant for official Debian release. debian/patches/1001_avoid_explicit_path.patch0000644000000000000000000000652712173501675016337 0ustar --- a/bin/vows +++ b/bin/vows @@ -4,7 +4,7 @@ var path = require('path'), fs = require('fs'), util = require('util'), - wildcard = require('../lib/utils/wildcard').wildcard, + wildcard = require('utils/wildcard').wildcard, events = require('events'); // @@ -27,10 +27,10 @@ styles: { string: 'grey', regexp: 'grey' } }); -var vows = require('../lib/vows'); -var cutils = require('../lib/vows/console'); -var stylize = require('../lib/vows/console').stylize; -var _reporter = require('../lib/vows/reporters/dot-matrix'), reporter = { +var vows = require('vows'); +var cutils = require('vows/console'); +var stylize = require('vows/console').stylize; +var _reporter = require('vows/reporters/dot-matrix'), reporter = { name: _reporter.name }; var _coverage; @@ -107,39 +107,39 @@ } else { switch (arg) { case 'json': - _reporter = require('../lib/vows/reporters/json'); + _reporter = require('vows/reporters/json'); break; case 'spec': - _reporter = require('../lib/vows/reporters/spec'); + _reporter = require('vows/reporters/spec'); break; case 'tap': - _reporter = require('../lib/vows/reporters/tap'); + _reporter = require('vows/reporters/tap'); break; case 'dot-matrix': - _reporter = require('../lib/vows/reporters/dot-matrix'); + _reporter = require('vows/reporters/dot-matrix'); break; case 'silent': case 's': - _reporter = require('../lib/vows/reporters/silent'); + _reporter = require('vows/reporters/silent'); break; case 'xunit': - _reporter = require('../lib/vows/reporters/xunit'); + _reporter = require('vows/reporters/xunit'); break; case 'cover-plain': options.coverage = true; - _coverage = require('../lib/vows/coverage/report-plain'); + _coverage = require('vows/coverage/report-plain'); break; case 'cover-html': options.coverage = true; - _coverage = require('../lib/vows/coverage/report-html'); + _coverage = require('vows/coverage/report-html'); break; case 'cover-json': options.coverage = true; - _coverage = require('../lib/vows/coverage/report-json'); + _coverage = require('vows/coverage/report-json'); break; case 'cover-xml': options.coverage = true; - _coverage = require('../lib/vows/coverage/report-xml'); + _coverage = require('vows/coverage/report-xml'); break; case 'verbose': case 'v': @@ -202,7 +202,7 @@ } if (options.watch) { - options.reporter = reporter = require('../lib/vows/reporters/watch'); + options.reporter = reporter = require('vows/reporters/watch'); } msg('bin', 'argv', args); debian/patches/series0000644000000000000000000000007512114712607012035 0ustar 1001_avoid_explicit_path.patch 2001_use_usr-bin-nodejs.patch debian/patches/2001_use_usr-bin-nodejs.patch0000644000000000000000000000040012114740006016000 0ustar Description: Use /usr/bin/nodejs (not /usr/bin/env node) Author: Jonas Smedegaard Forwarded: no Last-Update: 2012-08-06 --- a/bin/vows +++ b/bin/vows @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/nodejs var path = require('path'), debian/control0000644000000000000000000000221112173460374010574 0ustar Source: vows Section: web Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard Build-Depends: cdbs, devscripts, debhelper, dh-buildinfo, nodejs (>= 0.6.19~dfsg1-3~), node-eyes, node-diff (>= 1.0.3), patch, node-request Standards-Version: 3.9.4 Homepage: http://vowsjs.org/ Vcs-Git: git://anonscm.debian.org/git/collab-maint/vows Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/vows.git Package: node-vows Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends} Recommends: ${cdbs:Recommends} Description: asynchronous BDD & continuous integration for Node Node is an event-based server-side JavaScript engine. . Vows is a behavior driven development (BDD) framework for Node. . Vows was built from the ground up to test asynchronous code. It executes your tests in parallel when it makes sense, and sequentially when there are dependencies. . Emphasis was put on speed of execution, clarity and user experience. . This package contains the vows library for Node, and the script vows for running tests from the commandline. debian/source/0000755000000000000000000000000012114712607010467 5ustar debian/source/format0000644000000000000000000000001412114712607011675 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001220212173502006011031 0ustar vows (0.7.0-2) unstable; urgency=low * Fix adjust patch 1001 path to wildcard utility. -- Jonas Smedegaard Tue, 23 Jul 2013 15:24:13 +0200 vows (0.7.0-1) unstable; urgency=low * New upstream release. * Update patch 1001. * Update copyright file: + Add Files section for a few files with new copyright holder (same license). + Fix use pseudo-comment section to obey silly restrictions of copyright format 1.0. + Quote license in comment (pseudo-)field. + Refer to upstream issue tracker as main contact URL. + Add paragraphs for new Apache-2.0 licensed file. * Tidy dependency resolving: + Declare (build-)dependencies and recommendation in rules file, and drop obsolete conflict/replacement/provision of libnode-vows. * Update watch and rules files to use archive subdir at github.com. * Bump dephelper compatibility level to 8. * Build-depend on devscripts to always do copyright check. * Have git-import-orig suppress upstream .gitignore file. * Bump standards-version to 3.9.4. * Update package relations: + (Build-)depend on node-diff: Needed since 0.6.4. + Build-depend on node-request: Needed for upstream testsuite. * Add README.source emphasizing control.in file as *not* a show-stopper for contributions, referring to wiki page for details. * Temporarily revert patch during testsuite execution. Build-depend on patch. * Use canonical hostname (anonscm.debian.org) in Vcs-Git URI. * Tidy rules file: Tighten package-specific CDBS variables. * Bump packaging license to GPL-3+, and extend copyrigt coverage for myself to include current year. * Build-depend on patch. * Fix run testsuite only once. -- Jonas Smedegaard Tue, 23 Jul 2013 13:30:51 +0200 vows (0.6.3-2) unstable; urgency=low * Add patch 2001 to use /usr/bin/nodejs (not /usr/bin/env node), and tighten (build-)dependency on nodejs. See bug#614907. -- Jonas Smedegaard Mon, 06 Aug 2012 04:20:08 +0200 vows (0.6.3-1) unstable; urgency=low * New upstream release. * Use anonscm.debian.org for Vcs-Browser field. * Directly use github.com (not via githubredir.debian.net). * Extend copyright coverage of packaging. * Unfuzz patch 1001. -- Jonas Smedegaard Wed, 27 Jun 2012 21:45:56 +0200 vows (0.6.2-1) unstable; urgency=low * New upstream release. * Unfuzz patch 1001. * Bump copyright file format to 1.0. * Bump standards-version to 3.9.3. -- Jonas Smedegaard Thu, 01 Mar 2012 20:48:01 +0100 vows (0.6.1-1) unstable; urgency=low * New upstream release. * Update watch file to use more flexible regex. -- Jonas Smedegaard Sun, 08 Jan 2012 19:55:38 +0100 vows (0.6.0-4) unstable; urgency=low * Fix (properly this time) use system-wide library in binary: Apply standard patch to source (not custom Perl hackery to installed file) and set custom NODE_PATH during build. -- Jonas Smedegaard Fri, 23 Dec 2011 18:20:27 +0700 vows (0.6.0-3) unstable; urgency=low * Fix relax regex to use system-wide library in binary. Really closes: bug#650552. -- Jonas Smedegaard Thu, 22 Dec 2011 20:45:06 +0700 vows (0.6.0-2) unstable; urgency=low * Improve regex for hardcoding at build time the version, and add check so build fail if regex fails to apply. Closes: bug#650552. Thanks to Aaron M. Ucko. * Drop obsolete libnode-eyes fallback (build-)dependency. -- Jonas Smedegaard Sun, 04 Dec 2011 17:31:54 +0700 vows (0.6.0-1) unstable; urgency=low * New upstream release. * Bump copyright file format to draft 174 of DEP-5. * Bump policy compliance to standards-version 3.9.2. * Bump debhelper compatibility level to 7. * Relax to build-depend unversioned on debhelper: needed version satisfied even in oldstable. * Drop dpkg local-options hints from packaging source: now defaults. * (Build-)depend on node-eyes favored over legacy package name libnode-eyes. * Rename libnode-vows → node-vows. Replace and conflict with (and temporarily provide) old package name. -- Jonas Smedegaard Tue, 29 Nov 2011 22:33:24 +0700 vows (0.5.8+20110312-1) unstable; urgency=low * New snapshot of upstream git. * Package now team-maintained: + Set Debian Javascript Maintainers as maintainer. + Set myself as uploader. * Update copyright file: + Bump format to draft 173 of DEP5. + Fix use wildcard Files section (not header section). * Tidy dependency hint (use >= not > ), thanks to lintian. -- Jonas Smedegaard Sat, 26 Mar 2011 21:32:18 +0100 vows (0.5.3+398443-3) experimental; urgency=low * Fix install in root libdir. -- Jonas Smedegaard Sat, 29 Jan 2011 00:19:20 +0100 vows (0.5.3+398443-2) experimental; urgency=low * Hardcode upstream version in main library file (instead of looking up in non-shipped package.json file). -- Jonas Smedegaard Fri, 28 Jan 2011 23:51:43 +0100 vows (0.5.3+398443-1) experimental; urgency=low * Initial release. Closes: Bug#611378. -- Jonas Smedegaard Fri, 28 Jan 2011 17:39:11 +0100 debian/README.source0000644000000000000000000000056312121764047011355 0ustar CDBS+git-buildpackage --------------------- This source package uses CDBS and git-buildpackage. NMUs need not (but are encouraged to) make special use of these tools. In particular, the debian/control.in file can be completely ignored. More info here: http://wiki.debian.org/CDBS+git-buildpackage -- Jonas Smedegaard Mon, 18 Feb 2013 12:55:37 +0100 debian/compat0000644000000000000000000000000212114712607010365 0ustar 8 debian/watch0000644000000000000000000000012112114712607010212 0ustar version=3 https://github.com/cloudhead/vows/tags .*/archive/v?(\d[\d\.]+).tar.gz debian/copyright_hints0000644000000000000000000000366012173460113012331 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: Makefile README.md bin/vows debian/README.source debian/compat debian/control debian/control.in debian/gbp.conf debian/node-vows.install debian/patches/1001_avoid_explicit_path.patch debian/patches/2001_use_usr-bin-nodejs.patch debian/patches/README debian/patches/series debian/source/format debian/watch lib/assert/macros.js lib/assert/utils.js lib/vows.js lib/vows/console.js lib/vows/context.js lib/vows/coverage/file.js lib/vows/coverage/fragments/coverage-foot.html lib/vows/coverage/fragments/coverage-head.html lib/vows/coverage/report-json.js lib/vows/coverage/report-plain.js lib/vows/coverage/report-xml.js lib/vows/extras.js lib/vows/reporters/dot-matrix.js lib/vows/reporters/json.js lib/vows/reporters/silent.js lib/vows/reporters/spec.js lib/vows/reporters/tap.js lib/vows/reporters/watch.js lib/vows/reporters/xunit.js lib/vows/suite.js package.json test/VowsCamelCaseTest.js test/assert-test.js test/fixtures/isolate/failing.js test/fixtures/isolate/log.js test/fixtures/isolate/passing.js test/fixtures/isolate/stderr.js test/fixtures/supress-stdout/output.js test/isolate-test.js test/supress-stdout-test.js test/vows-error-test.js test/vows-test.js test/vows_underscore_test.js Copyright: *No copyright* License: UNKNOWN FIXME Files: lib/assert/error.js lib/vows/coverage/report-html.js Copyright: 20011-2012, TJ Holowaychuk 2011-2012, TJ Holowaychuk HOLDERS BE LIABLE FOR ANY License: Expat FIXME Files: lib/utils/wildcard.js Copyright: Microsoft Open Technologies, Inc. License: Apache-2.0 FIXME Files: LICENSE Copyright: 2009, cloudhead HOLDERS BE License: Expat FIXME Files: debian/rules Copyright: 2010-2013, Jonas Smedegaard License: GPL-3+ FIXME debian/copyright0000644000000000000000000000504012173457727011137 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Vows Upstream-Contact: https://github.com/cloudhead/vows/issues Source: https://github.com/cloudhead/vows/downloads git://github.com/cloudhead/vows Files: * Copyright: 2009, Alexis Sellier License: Expat Files: lib/assert/error.js lib/vows/coverage/report-html.js Copyright: 2011-2012, TJ Holowaychuk License: Expat Files: lib/utils/wildcard.js Copyright: Microsoft Open Technologies, Inc. License: Apache-2.0 Files: debian/* Copyright: 2010-2013, Jonas Smedegaard License: GPL-3+ 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. License: Apache-2.0 Comment: . On Debian systems the 'Apache License' version 2.0 is located in '/usr/share/common-licenses/Apache-2.0'. License: GPL-3+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . Comment: . On Debian systems the 'GNU General Public License' version 3 is located in '/usr/share/common-licenses/GPL-3'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . debian/gbp.conf0000644000000000000000000000021512114712607010604 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True [git-import-orig] filter = .gitignore debian/node-vows.install0000644000000000000000000000004512114712607012477 0ustar bin/* /usr/bin lib/* /usr/lib/nodejs debian/rules0000755000000000000000000000512712173464635010266 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2010, 2011, 2012, 2013 Jonas Smedegaard # Description: Main Debian packaging script for Vows # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/rules/debhelper.mk pkg = node-vows # Needed by upstream build and (always) at runtime deps = nodejs (>= 0.6.19~dfsg1-3~), node-eyes, node-diff (>= 1.0.3) # Needed by our packaging bdeps = patch # Needed by upstream testsuite deps-test = node-request # Needed (often) at runtime recommends = coffeescript CDBS_BUILD_DEPENDS +=, $(deps), $(bdeps), $(deps-test) CDBS_DEPENDS_$(pkg) = $(deps) CDBS_RECOMMENDS_$(pkg) = $(recommends) DEB_UPSTREAM_URL = https://github.com/cloudhead/vows/archive DEB_UPSTREAM_TARBALL_BASENAME = v$(DEB_UPSTREAM_TARBALL_VERSION) DEB_UPSTREAM_TARBALL_MD5 = 0af6ff98b317c02b98f4640f7bc0ed1c DEB_INSTALL_DOCS_ALL += README.md build/$(pkg):: $(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,debian/stamp-testsuite) debian/stamp-testsuite: cat debian/patches/1001_avoid_explicit_path.patch | patch -tuRp1 NODE_PATH=lib find test -type f -name '*.js' -not -name failing.js -exec bin/vows '{}' + cat debian/patches/1001_avoid_explicit_path.patch | patch -tuNp1 touch $@ clean:: rm -f debian/stamp-testsuite # Hardcode upstream version in main library file verfile=lib/vows.js pre-build:: debian/stamp-upstreamtmpstuff debian/stamp-upstreamtmpstuff: debian/stamp-copyright-check mkdir -p debian/bak/$(dir $(verfile)) [ ! -e $(verfile) ] || [ -e debian/bak/$(verfile) ] || cp $(verfile) debian/bak/$(verfile) perl -0 -i -pe 's/(\nvows\.version =)[^\n]*(\n {14}[^\n]*)+/$$1 "$(DEB_UPSTREAM_VERSION)"/' $(verfile) @if ! fgrep -xq 'vows.version = "$(DEB_UPSTREAM_VERSION)"' $(verfile); then \ echo "Failed to hardcode version."; \ exit 1; \ fi touch $@ clean:: [ ! -e debian/bak/$(verfile) ] || mv -f debian/bak/$(verfile) $(verfile) rm -rf debian/bak rm -f debian/stamp-upstreamtmpstuff debian/control.in0000644000000000000000000000201312173457360011202 0ustar Source: vows Section: web Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Jonas Smedegaard Build-Depends: @cdbs@ Standards-Version: 3.9.4 Homepage: http://vowsjs.org/ Vcs-Git: git://anonscm.debian.org/git/collab-maint/vows Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/vows.git Package: node-vows Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends} Recommends: ${cdbs:Recommends} Description: asynchronous BDD & continuous integration for Node Node is an event-based server-side JavaScript engine. . Vows is a behavior driven development (BDD) framework for Node. . Vows was built from the ground up to test asynchronous code. It executes your tests in parallel when it makes sense, and sequentially when there are dependencies. . Emphasis was put on speed of execution, clarity and user experience. . This package contains the vows library for Node, and the script vows for running tests from the commandline.