--- libtheschwartz-perl-1.07.orig/t/server-time.t +++ libtheschwartz-perl-1.07/t/server-time.t @@ -8,7 +8,7 @@ use TheSchwartz; use Test::More tests => 4; -run_tests(4, sub { +run_tests(2, sub { my $client = test_client(dbs => ['ts1']); my $driver = $client->driver_for( ($client->shuffled_databases)[0] ); --- libtheschwartz-perl-1.07.orig/t/api.t +++ libtheschwartz-perl-1.07/t/api.t @@ -9,7 +9,7 @@ use TheSchwartz; use Test::More tests => 108; -run_tests(42, sub { +run_tests(54, sub { foreach my $pfx ("", "testprefix_") { my $client = test_client(dbs => ['ts1'], --- libtheschwartz-perl-1.07.orig/debian/compat +++ libtheschwartz-perl-1.07/debian/compat @@ -0,0 +1 @@ +5 --- libtheschwartz-perl-1.07.orig/debian/rules +++ libtheschwartz-perl-1.07/debian/rules @@ -0,0 +1,82 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + + # As this is a architecture independent package, we are not + # supposed to install stuff to /usr/lib. MakeMaker creates + # the dirs, we prevent this by setting the INSTALLVENDORARCH + # and VENDORARCHEXP environment variables. + + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor \ + INSTALLVENDORARCH=/usr/share/perl5/ \ + VENDORARCHEXP=/usr/share/perl5/ + $(MAKE) + $(MAKE) test + + touch $@ + +clean: + dh_testdir + dh_testroot + + dh_clean build-stamp install-stamp + + # Add commands to clean up after the build process here + [ ! -f Makefile ] || $(MAKE) realclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + + # Add commands to install the package into debian/$PACKAGE_NAME here + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + + touch $@ + +binary-arch: +# We have nothing to do here for an architecture-independent package + +binary-indep: build install + dh_testdir + dh_testroot + dh_installexamples extras/check_schwartz extras/thetop + dh_installdocs doc/* + dh_installman debian/schwartzmon.1 + dh_installchangelogs CHANGES + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- libtheschwartz-perl-1.07.orig/debian/watch +++ libtheschwartz-perl-1.07/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://www.cpan.org/modules/by-authors/id/B/BR/BRADFITZ/TheSchwartz-(\d*\.\d*)\.tar\.gz --- libtheschwartz-perl-1.07.orig/debian/changelog +++ libtheschwartz-perl-1.07/debian/changelog @@ -0,0 +1,16 @@ +libtheschwartz-perl (1.07-1) unstable; urgency=low + + * New upstream release + * Update Standards-Version (no changes) + * Includes patch from https://rt.cpan.org/Ticket/Display.html?id=38570 + to fix test failure. + + -- Dominic Hargreaves Wed, 04 Mar 2009 19:02:32 +0000 + +libtheschwartz-perl (1.04-1) unstable; urgency=low + + * Initial Release. (Closes: #456255) + * Includes patch from https://rt.cpan.org/Ticket/Display.html?id=31505 + to fix test failure. + + -- Dominic Hargreaves Thu, 20 Dec 2007 23:23:18 +0000 --- libtheschwartz-perl-1.07.orig/debian/schwartzmon.1 +++ libtheschwartz-perl-1.07/debian/schwartzmon.1 @@ -0,0 +1,53 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH SCHWARTZMON 1 "December 20, 2007" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +schwartzmon \- monitors TheSchwartz job queues +.SH SYNOPSIS +.B schwartzmon +.RI +.RI [options] +.SH DESCRIPTION +This manual page documents briefly the +.B schwartzmon +command. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBschwartzmon\fP is a program to monitor TheSchwartz job queues. +.SH COMMANDS +Possible commands: +.TP +.B +.B queues +View past-due job queue depths. (default cmd) +.TP +.B +.B errors +View errors. + +.SH OPTIONS +Not all options are listed. +.TP +.B \-\-help +Show summary of options. +.SH AUTHOR +schwartzmon was written by Six Apart. +.PP +This manual page was written by Dominic Hargreaves , +for the Debian project (but may be used by others). --- libtheschwartz-perl-1.07.orig/debian/control +++ libtheschwartz-perl-1.07/debian/control @@ -0,0 +1,26 @@ +Source: libtheschwartz-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 5.0.0) +Build-Depends-Indep: perl (>= 5.8.8-12), perl-modules, libdata-objectdriver-perl +Maintainer: Dominic Hargreaves +Standards-Version: 3.8.0 +Homepage: http://search.cpan.org/dist/TheSchwartz/ + +Package: libtheschwartz-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, libdata-objectdriver-perl +Description: reliable job queue + TheSchwartz is a reliable job queue system. Your application can put jobs into + the system, and your worker processes can pull jobs from the queue atomically + to perform. Failed jobs can be left in the queue to retry later. + . + Abilities specify what jobs a worker process can perform. Abilities are the + names of TheSchwartz::Worker subclasses, as in the synopsis: the MyWorker + class name is used to specify that the worker script can perform the job. When + using the TheSchwartz client's work functions, the class-ability duality + is used to automatically dispatch to the proper class to do the actual work. + . + TheSchwartz clients will also prefer to do jobs for unused abilities before + reusing a particular ability, to avoid exhausting the supply of one kind of job + while jobs of other types stack up. --- libtheschwartz-perl-1.07.orig/debian/copyright +++ libtheschwartz-perl-1.07/debian/copyright @@ -0,0 +1,18 @@ +This is the debian package for the TheSchwartz module. +It was created by Dominic Hargreaves using dh-make-perl. + +It was downloaded from http://search.cpan.org/dist/TheSchwartz/ + +This software is Copyright 2007, Six Apart Ltd, cpan@sixapart.com. All +rights reserved. + +TheSchwartz is free software; you may redistribute it and/or modify it +under the same terms as Perl itself. + +Perl is distributed under your choice of the GNU General Public License or +the Artistic License. On Debian GNU/Linux systems, the complete text of the +GNU General Public License can be found in `/usr/share/common-licenses/GPL' +and the Artistic Licence in `/usr/share/common-licenses/Artistic'. + +The Debian packaging is (C) 2007, Dominic Hargreaves and +is licensed under the same terms as the software itself (see above).