debian/0000755000000000000000000000000012202150770007162 5ustar debian/shake.docs0000644000000000000000000000000512202150706011121 0ustar doc/ debian/shake.install0000644000000000000000000000003612202150706011643 0ustar usr/bin/* usr/share/lua/5.1/* debian/watch0000644000000000000000000000031412202150706010210 0ustar # test this watch file using: # uscan --watchfile debian/watch --upstream-version 0.0.1 --package lua-shake # version=3 http://luaforge.net/frs/?group_id=310 /frs/download.php/\d+/shake-([\d\.]*).tar.gz debian/shake.manpages0000644000000000000000000000001012202150706011760 0ustar shake.1 debian/rules0000755000000000000000000000145212202150706010243 0ustar #!/usr/bin/make -f %: dh $@ DEB_DESTDIR=debian/tmp/ override_dh_auto_build: mkdir -p $(DEB_DESTDIR)/usr/share/man/man1/ cd src; ln -s shake/shake.lua .; chmod a+x bin/shake; cd src; help2man -n "testing engine for lua" bin/shake -N -o ../shake.1 cd src; rm shake.lua; chmod a-x bin/shake override_dh_auto_install: # binary mkdir -p $(DEB_DESTDIR)/usr/bin/ cp src/bin/shake $(DEB_DESTDIR)/usr/bin/ # lib mkdir -p $(DEB_DESTDIR)/usr/share/lua/5.1/shake/ cp src/shake/*.lua $(DEB_DESTDIR)/usr/share/lua/5.1/shake/ cd $(DEB_DESTDIR)/usr/share/lua/5.1/shake/; mv shake.lua .. override_dh_auto_test: cd tests; ln -s ../src/shake .; ln -s shake/shake.lua . cd tests; lua5.1 test.lua @echo @echo '*** Tests passed ***' @echo cd tests; rm shake shake.lua override_dh_auto_clean: rm -f shake.1 debian/compat0000644000000000000000000000000212202150706010357 0ustar 8 debian/source/0000755000000000000000000000000012202150706010461 5ustar debian/source/format0000644000000000000000000000001412202150706011667 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000314712202150706011040 0ustar shake (1.0.2-1) unstable; urgency=low * New upstream snapshot * Packaging moved to git * Transitional packages removed * Depend on lua-leg >= 0.1.3 (Closes: #719374) -- Enrico Tassi Wed, 30 May 2012 21:42:49 +0200 shake (1.0.1-7) unstable; urgency=low * switch to dh 7 * bumped standards-version to 3.9.3, no changes * dependencies fixed -- Enrico Tassi Wed, 30 May 2012 21:41:25 +0200 shake (1.0.1-6) unstable; urgency=low * source format 3.0 quilt * bumped standards-version to 3.9.2, no changes -- Enrico Tassi Thu, 21 Jul 2011 17:37:53 +0200 shake (1.0.1-5) unstable; urgency=low * bumped standards-version to 3.8.2, no changes * lua -> Lua in control file * added misc:Depends to Depends -- Enrico Tassi Tue, 21 Jul 2009 18:24:57 +0200 shake (1.0.1-4) unstable; urgency=low * patch to fix the return code sync with upstream -- Enrico Tassi Wed, 19 Mar 2008 16:48:44 +0100 shake (1.0.1-3) unstable; urgency=low * Use lua5.1 as interpreter and not lua -- Enrico Tassi Mon, 21 Jan 2008 21:21:48 +0100 shake (1.0.1-2) unstable; urgency=low * better package description * added patch to make the script return 1 if fail count is greater then 0 (Closes: #457786) -- Enrico Tassi Sat, 19 Jan 2008 17:21:51 +0100 shake (1.0.1-1) unstable; urgency=low * Initial release. (Closes: #457220) -- Enrico Tassi Thu, 20 Dec 2007 14:51:12 +0100 debian/copyright0000644000000000000000000000230412202150706011113 0ustar This package was debianized by Enrico Tassi Thu Dec 20 19:07:41 CET 2007 It was downloaded from http://luaforge.net/projects/shake/ Copyright © 2007 Kepler Project. 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/control0000644000000000000000000000200012202150706010554 0ustar Source: shake Section: interpreters Priority: optional Maintainer: Enrico Tassi Build-Depends: debhelper (>= 8), lua-leg (>= 0.1.3), lua-filesystem, help2man, lua5.1 Standards-Version: 3.9.3 Homepage: http://shake.luaforge.net Vcs-Git: git://git.debian.org/git/pkg-lua/shake.git Vcs-Browser: http://git.debian.org/?p=pkg-lua/shake.git Package: shake Section: devel Architecture: all Depends: ${misc:Depends}, ${shlibs:Depends}, lua5.1-leg, lua-leg (>= 0.1.3), lua5.1-filesystem, lua5.1 Description: Testing engine for the Lua language version 5.1 The shake utility is a simple and transparent test engine for Lua. . Shake gives concise reports when the tests succeed, while it prints detailed traces when tests fail. . Regular Lua test files, if written using only standard assert and print calls, can be run with shake with no modifications. . This package contains the shake command line utility, the Lua modules that implement shake functionalities and the documentation for both. debian/patches/0000755000000000000000000000000012202150706010610 5ustar debian/patches/0002-return-1-on-failure.patch0000644000000000000000000000100412202150706015717 0ustar From: Enrico Tassi Date: Mon, 12 Aug 2013 14:10:58 +0200 Subject: return 1 on failure --- src/bin/shake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/shake b/src/bin/shake index 200e183..27a9f81 100644 --- a/src/bin/shake +++ b/src/bin/shake @@ -98,6 +98,6 @@ else print("No test files found") end -if run.results.errors > 0 then +if (run.results.errors > 0) or (run.results.failed > 0) then os.exit(1) -end \ No newline at end of file +end debian/patches/0001-use-lua5.1.patch0000644000000000000000000000072512202150706014012 0ustar From: Enrico Tassi Date: Mon, 12 Aug 2013 13:54:27 +0200 Subject: use-lua5.1 --- src/bin/shake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/shake b/src/bin/shake index 5ddd144..200e183 100644 --- a/src/bin/shake +++ b/src/bin/shake @@ -1,4 +1,4 @@ -#!/usr/bin/env lua +#!/usr/bin/env lua5.1 ------------------------------------------------------------------------------- -- Command line runner for Shake debian/patches/series0000644000000000000000000000006512202150706012026 0ustar 0001-use-lua5.1.patch 0002-return-1-on-failure.patch