r66874 - in /trunk/libtest-mocktime-datecalc-perl/debian: ./ changelog compat control copyright libtest-mocktime-datecalc-perl.examples patches/ patches/debian-changes-5+ds-1 patches/series repack.local repack.stub rules source/ source/format watch

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Mon Jan 3 20:54:50 UTC 2011


Author: periapt-guest
Date: Mon Jan  3 20:54:43 2011
New Revision: 66874

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=66874
Log:
[svn-inject] Applying Debian modifications (5+ds-1) to trunk

Added:
    trunk/libtest-mocktime-datecalc-perl/debian/
    trunk/libtest-mocktime-datecalc-perl/debian/changelog
    trunk/libtest-mocktime-datecalc-perl/debian/compat
    trunk/libtest-mocktime-datecalc-perl/debian/control
    trunk/libtest-mocktime-datecalc-perl/debian/copyright
    trunk/libtest-mocktime-datecalc-perl/debian/libtest-mocktime-datecalc-perl.examples
    trunk/libtest-mocktime-datecalc-perl/debian/patches/
    trunk/libtest-mocktime-datecalc-perl/debian/patches/debian-changes-5+ds-1
    trunk/libtest-mocktime-datecalc-perl/debian/patches/series
    trunk/libtest-mocktime-datecalc-perl/debian/repack.local
    trunk/libtest-mocktime-datecalc-perl/debian/repack.stub   (with props)
    trunk/libtest-mocktime-datecalc-perl/debian/rules   (with props)
    trunk/libtest-mocktime-datecalc-perl/debian/source/
    trunk/libtest-mocktime-datecalc-perl/debian/source/format
    trunk/libtest-mocktime-datecalc-perl/debian/watch

Added: trunk/libtest-mocktime-datecalc-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-mocktime-datecalc-perl/debian/changelog?rev=66874&op=file
==============================================================================
--- trunk/libtest-mocktime-datecalc-perl/debian/changelog (added)
+++ trunk/libtest-mocktime-datecalc-perl/debian/changelog Mon Jan  3 20:54:43 2011
@@ -1,0 +1,5 @@
+libtest-mocktime-datecalc-perl (5+ds-1) UNRELEASED; urgency=low
+
+  * Initial Release. (Closes: #608825)
+
+ -- Nicholas Bamber <nicholas at periapt.co.uk>  Mon, 3 Jan 2011 19:28:59 +0000

Added: trunk/libtest-mocktime-datecalc-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-mocktime-datecalc-perl/debian/compat?rev=66874&op=file
==============================================================================
--- trunk/libtest-mocktime-datecalc-perl/debian/compat (added)
+++ trunk/libtest-mocktime-datecalc-perl/debian/compat Mon Jan  3 20:54:43 2011
@@ -1,0 +1,1 @@
+7

Added: trunk/libtest-mocktime-datecalc-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-mocktime-datecalc-perl/debian/control?rev=66874&op=file
==============================================================================
--- trunk/libtest-mocktime-datecalc-perl/debian/control (added)
+++ trunk/libtest-mocktime-datecalc-perl/debian/control Mon Jan  3 20:54:43 2011
@@ -1,0 +1,31 @@
+Source: libtest-mocktime-datecalc-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 7.050~)
+Build-Depends-Indep: perl, libdate-calc-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Nicholas Bamber <nicholas at periapt.co.uk>
+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
+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.

Added: trunk/libtest-mocktime-datecalc-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-mocktime-datecalc-perl/debian/copyright?rev=66874&op=file
==============================================================================
--- trunk/libtest-mocktime-datecalc-perl/debian/copyright (added)
+++ trunk/libtest-mocktime-datecalc-perl/debian/copyright Mon Jan  3 20:54:43 2011
@@ -1,0 +1,30 @@
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Maintainer: Kevin Ryde <user42 at zip.com.au>
+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: 2009-2010, Kevin Ryde <user42 at zip.com.au>
+License: GPL-3+
+
+Files: debian/*
+Copyright: 2011, Nicholas Bamber <nicholas at periapt.co.uk>
+License: GPL-3+ or Artistic or GPL-1+
+
+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'.

Added: trunk/libtest-mocktime-datecalc-perl/debian/libtest-mocktime-datecalc-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-mocktime-datecalc-perl/debian/libtest-mocktime-datecalc-perl.examples?rev=66874&op=file
==============================================================================
--- trunk/libtest-mocktime-datecalc-perl/debian/libtest-mocktime-datecalc-perl.examples (added)
+++ trunk/libtest-mocktime-datecalc-perl/debian/libtest-mocktime-datecalc-perl.examples Mon Jan  3 20:54:43 2011
@@ -1,0 +1,1 @@
+devel/* 

Added: trunk/libtest-mocktime-datecalc-perl/debian/patches/debian-changes-5+ds-1
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-mocktime-datecalc-perl/debian/patches/debian-changes-5%2Bds-1?rev=66874&op=file
==============================================================================
--- trunk/libtest-mocktime-datecalc-perl/debian/patches/debian-changes-5+ds-1 (added)
+++ trunk/libtest-mocktime-datecalc-perl/debian/patches/debian-changes-5+ds-1 Mon Jan  3 20:54:43 2011
@@ -1,0 +1,41 @@
+Description: Upstream changes introduced in version 5+ds-1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ libtest-mocktime-datecalc-perl (5+ds-1) UNRELEASED; urgency=low
+ .
+   * Initial Release. (Closes: #608825)
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Nicholas Bamber <nicholas at periapt.co.uk>
+Bug-Debian: http://bugs.debian.org/608825
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- libtest-mocktime-datecalc-perl-5+ds.orig/MANIFEST
++++ libtest-mocktime-datecalc-perl-5+ds/MANIFEST
+@@ -1,5 +1,12 @@
+ Changes
+ COPYING
++debian/changelog
++debian/compat
++debian/control
++debian/copyright
++debian/rules
++debian/source/format
++debian/watch
+ devel/override.pl
+ devel/redef.pl
+ devel/run.pl

Added: trunk/libtest-mocktime-datecalc-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-mocktime-datecalc-perl/debian/patches/series?rev=66874&op=file
==============================================================================
--- trunk/libtest-mocktime-datecalc-perl/debian/patches/series (added)
+++ trunk/libtest-mocktime-datecalc-perl/debian/patches/series Mon Jan  3 20:54:43 2011
@@ -1,0 +1,1 @@
+debian-changes-5+ds-1

Added: trunk/libtest-mocktime-datecalc-perl/debian/repack.local
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-mocktime-datecalc-perl/debian/repack.local?rev=66874&op=file
==============================================================================
--- trunk/libtest-mocktime-datecalc-perl/debian/repack.local (added)
+++ trunk/libtest-mocktime-datecalc-perl/debian/repack.local Mon Jan  3 20:54:43 2011
@@ -1,0 +1,3 @@
+MANIFEST=1
+SUFFIX=+ds
+rm -rf debian

Added: trunk/libtest-mocktime-datecalc-perl/debian/repack.stub
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-mocktime-datecalc-perl/debian/repack.stub?rev=66874&op=file
==============================================================================
--- trunk/libtest-mocktime-datecalc-perl/debian/repack.stub (added)
+++ trunk/libtest-mocktime-datecalc-perl/debian/repack.stub Mon Jan  3 20:54:43 2011
@@ -1,0 +1,82 @@
+#!/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" "$@"

Propchange: trunk/libtest-mocktime-datecalc-perl/debian/repack.stub
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libtest-mocktime-datecalc-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-mocktime-datecalc-perl/debian/rules?rev=66874&op=file
==============================================================================
--- trunk/libtest-mocktime-datecalc-perl/debian/rules (added)
+++ trunk/libtest-mocktime-datecalc-perl/debian/rules Mon Jan  3 20:54:43 2011
@@ -1,0 +1,14 @@
+#!/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
+
+

Propchange: trunk/libtest-mocktime-datecalc-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libtest-mocktime-datecalc-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-mocktime-datecalc-perl/debian/source/format?rev=66874&op=file
==============================================================================
--- trunk/libtest-mocktime-datecalc-perl/debian/source/format (added)
+++ trunk/libtest-mocktime-datecalc-perl/debian/source/format Mon Jan  3 20:54:43 2011
@@ -1,0 +1,1 @@
+3.0 (quilt)

Added: trunk/libtest-mocktime-datecalc-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-mocktime-datecalc-perl/debian/watch?rev=66874&op=file
==============================================================================
--- trunk/libtest-mocktime-datecalc-perl/debian/watch (added)
+++ trunk/libtest-mocktime-datecalc-perl/debian/watch Mon Jan  3 20:54:43 2011
@@ -1,0 +1,3 @@
+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




More information about the Pkg-perl-cvs-commits mailing list