debian/0000755000000000000000000000000011510704352007164 5ustar debian/control0000644000000000000000000000252211510701123010561 0ustar Source: libtest-mocktime-datecalc-perl Section: perl Priority: optional Build-Depends: debhelper (>= 7.0.50~) Build-Depends-Indep: perl, libdate-calc-perl, libtest-mocktime-perl, libsub-identify-perl Maintainer: Debian Perl Group Uploaders: Nicholas Bamber Standards-Version: 3.9.1 Homepage: http://search.cpan.org/dist/Test-MockTime-DateCalc/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libtest-mocktime-datecalc-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libtest-mocktime-datecalc-perl/ Package: libtest-mocktime-datecalc-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libdate-calc-perl Recommends: libtest-mocktime-perl Suggests: libsub-identify-perl, libtime-fake-perl, libtime-warp-perl Description: testing utility to fake time for Date::Calc Test::MockTime::DateCalc arranges for the functions in Date::Calc to follow the Perl level 'time' function, and in particular any fake date/time set there by Test::MockTime. The following Date::Calc functions are changed . System_Clock Today Now Today_and_Now This_Year Gmtime Localtime Timezone Time_to_Date . Gmtime, Localtime, Timezone and Time_to_Date are made to default to the Perl-level current time. When called with an explicit time argument they're unchanged. debian/copyright0000644000000000000000000000231111510701123011105 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Kevin Ryde Source: http://search.cpan.org/dist/Test-MockTime-DateCalc/ Name: Test-MockTime-DateCalc X-Comment: The +ds version is created by removing the debian directory provided by the upstream author. debian/repack.stub automates this process. Files: * Copyright: 2008-2010, Kevin Ryde License: GPL-3+ Files: debian/* Copyright: 2011, Nicholas Bamber License: GPL-3+ or Artistic 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; version 3 dated June, 2007, or (at your option) any later version. . On Debian systems, the complete text of version 3 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. debian/watch0000644000000000000000000000030211510470001010177 0ustar version=3 opts=dversionmangle=s/\+ds// \ http://search.cpan.org/dist/Test-MockTime-DateCalc/ .*/Test-MockTime-DateCalc-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian debian/repack.stub debian/libtest-mocktime-datecalc-perl.examples0000644000000000000000000000001111510470001016655 0ustar devel/* debian/compat0000644000000000000000000000000211510470001010351 0ustar 7 debian/repack.local0000644000000000000000000000004411510470001011432 0ustar MANIFEST=1 SUFFIX=+ds rm -rf debian debian/changelog0000644000000000000000000000026511510704217011041 0ustar libtest-mocktime-datecalc-perl (5+ds-1) unstable; urgency=low * Initial Release. (Closes: #608825) -- Nicholas Bamber Tue, 04 Jan 2011 20:29:01 +0000 debian/source/0000755000000000000000000000000011510704301010456 5ustar debian/source/format0000644000000000000000000000001411510470001011661 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000035511510470001010236 0ustar #!/usr/bin/make -f PACKAGE=libtest-mocktime-datecalc-perl #$(shell dh_listapckages) TMP=$(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_installexamples: dh_installexamples chmod 755 $(TMP)/usr/share/doc/$(PACKAGE)/examples/*.pl debian/repack.stub0000755000000000000000000000325111510470001011323 0ustar #!/bin/sh : <<=cut =pod =head1 NAME repack.stub - script to repack upstream tarballs from uscan =head1 INSTRUCTIONS put this in debian/repack.stub and add "debian sh debian/repack.stub" to the end of the line in debian/watch. you will also need to add a version mangle to debian/watch. then create a debian/repack.local. this is a shell script that is sources under "set -e", so be careful to check returns codes. =head1 FUNCTIONS =over 4 =item rm rm is replaced by a function that does some magic ("rm -rv" by default), but also changes MANIFEST if $MANIFEST is 1 =item mv mv is replaced by a function that just does mv (by default), but also changes MANIFEST if $MANIFEST is 1 =item requires_version requires_version is there for future usage for requiring certain versions of the script =back =head1 VARIABLES =over 4 =item SUFFIX defaults to +dfsg what to append to the upstream version =item RM_OPTS defaults to -vrf options to pass to rm =item MANIFEST defaults to 0, set to 1 to turn on. this will manipulate MANIFEST files in CPAN tarballs. =item UP_BASE this is the directory where the upstream source is. =back =cut if [ -z "$REPACK_SH" ]; then if [ -f ../../scripts/repack.sh ]; then REPACK_SH=../../scripts/repack.sh fi if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then REPACK_SH=$(which repack.sh) fi fi if [ ! -f "$REPACK_SH" ]; then echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable" echo "You can get it from http://svn.debian.org/viewsvn/pkg-perl/scripts/repack.sh" exit 1 fi exec "$REPACK_SH" "$@"