--- libcarp-assert-perl-0.20.orig/debian/control +++ libcarp-assert-perl-0.20/debian/control @@ -0,0 +1,17 @@ +Source: libcarp-assert-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Jay Bonci , Gunnar Wolf +Build-Depends: debhelper (>= 6), perl (>= 5.6.0-16) +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Carp-Assert/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcarp-assert-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libcarp-assert-perl/ + +Package: libcarp-assert-perl +Architecture: all +Depends: ${perl:Depends} +Description: Carp::Assert - executable comments for perl + Carp::Assert provides ANSI C assert.h style assertions for perl, + useful for debugging and commenting --- libcarp-assert-perl-0.20.orig/debian/rules +++ libcarp-assert-perl-0.20/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +# export DH_COMPAT=4 + +PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"` + + +build: + dh_testdir + # Add here commands to compile the package. + perl Makefile.PL verbose INSTALLDIRS=vendor +clean: + dh_testdir + dh_testroot + + [ ! -f Makefile ] || $(MAKE) clean + rm -f Makefile.old + dh_clean + +install: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr OPTIMIZE="-O2 -g -Wall" test install + [ ! -d $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5 + +binary-arch:; +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installman + dh_installchangelogs Changes + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_perl + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- libcarp-assert-perl-0.20.orig/debian/watch +++ libcarp-assert-perl-0.20/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Carp-Assert/ .*/Carp-Assert-([[:digit:]].*)\.tar\.gz --- libcarp-assert-perl-0.20.orig/debian/changelog +++ libcarp-assert-perl-0.20/debian/changelog @@ -0,0 +1,109 @@ +libcarp-assert-perl (0.20-2) unstable; urgency=low + + [ gregor herrmann ] + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). + * Set Maintainer to Debian Perl Group. + * Use dist-based URL in debian/watch. + * debian/rules: delete /usr/lib/perl5 only if it exists. + + [ Gunnar Wolf ] + * Bumped up standards-version to 3.7.3 (no changes needed) + * Upgraded debhelper compat level to 6 + * Fixed/clarified the copyright information + * Added myself as an uploader + + -- Gunnar Wolf Wed, 20 Feb 2008 16:04:34 -0600 + +libcarp-assert-perl (0.20-1) unstable; urgency=low + + * New upstream release + * Updated to policy-version 3.7.2.2. No other changes + * Changed Build-Depends-Indep to Build-Depends for lintian + * Makefile check and if so clean to quiet lintian check + * Fixed debian/watch so uscan will run uupdate + + -- Jay Bonci Fri, 29 Jun 2007 12:32:15 -0400 + +libcarp-assert-perl (0.18-2) unstable; urgency=low + + * Corrects debian/watch file for uscan version=2 + + -- Jay Bonci Sun, 12 Sep 2004 01:41:15 -0400 + +libcarp-assert-perl (0.18-1) unstable; urgency=low + + * New upstream version + + -- Jay Bonci Thu, 25 Mar 2004 15:21:13 -0500 + +libcarp-assert-perl (0.17-10) unstable; urgency=low + + * Debhelper version 4. Added compat file + * Section change: perl + * Updated maintainer address + * Changed policy version number to 3.6.1.0. Otherwise, no changes + * Changed download address to more appropriate URL + * Fixed POD errors in .pm file, as reported by podchecker + + -- Jay Bonci Mon, 29 Sep 2003 13:55:20 -0400 + +libcarp-assert-perl (0.17-9) unstable; urgency=low + + * Fix to perl manpage paths per policy + + -- Jay Bonci Wed, 15 Jan 2003 21:29:14 -0500 + +libcarp-assert-perl (0.17-8) unstable; urgency=low + + * More build and policy cleanups + * Removed ref to GPL-2 in copyright as it was unneeded + * Simplified debian/rules + + -- Jay Bonci Fri, 27 Dec 2002 23:04:02 -0500 + +libcarp-assert-perl (0.17-7) unstable; urgency=low + + * Fixes to copyright to be more in line for licencing. + + -- Jay Bonci Sun, 15 Dec 2002 23:30:16 -0500 + +libcarp-assert-perl (0.17-6) unstable; urgency=low + + * Fix to debhelper dependancy minimum version. Should be 3.0.18, + instead of 3.0.0, per Perl policy 3.43 + + -- Jay Bonci Mon, 9 Dec 2002 15:37:45 -0500 + +libcarp-assert-perl (0.17-5) unstable; urgency=low + + * Debian policy cleanups. Build-Depends-Indep fixes + * make test added to rules file + + -- Jay Bonci Mon, 9 Dec 2002 07:50:27 -0500 + +libcarp-assert-perl (0.17-4) unstable; urgency=low + + * Build and dpkg fixes after some excellent hints from Stephen + Quinney. Many thanks to him + + -- Jay Bonci Fri, 6 Dec 2002 09:41:50 -0500 + +libcarp-assert-perl (0.17-3) unstable; urgency=low + + * Build cleanups. Perl policy violation removals. + + -- Jay Bonci Mon, 21 Oct 2002 23:57:59 -0400 + +libcarp-assert-perl (0.17-2) unstable; urgency=low + + * Closes: bug#155879 + + -- Jay Bonci Thu, 8 Aug 2002 00:29:14 -0400 + +libcarp-assert-perl (0.17-1) unstable; urgency=low + + * Initial Release. + + -- Jay Bonci Thu, 25 Jul 2002 14:15:53 -0400 + --- libcarp-assert-perl-0.20.orig/debian/compat +++ libcarp-assert-perl-0.20/debian/compat @@ -0,0 +1 @@ +6 --- libcarp-assert-perl-0.20.orig/debian/copyright +++ libcarp-assert-perl-0.20/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Jay Bonci on +Thu, 25 Jul 2002 14:15:53 -0400. It is now group-maintained by the +Debian pkg-perl group. + +It was downloaded from: http://search.cpan.org/dist/Carp-Assert + +Upstream Author: Michael G Schwern + +Copyright: + Copyright 2001-2007 by Michael G Schwern + + This program is free software; you can redistribute it and/or modify + it under the same terms as Perl itself. + + Perl is licensed under: + + a) the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version, or + + b) the "Artistic License" + + In Debian systems, you can refer to said licenses at: + + /usr/share/common-licenses/Artistic + /usr/share/common-licenses/GPL --- libcarp-assert-perl-0.20.orig/Makefile.PL +++ libcarp-assert-perl-0.20/Makefile.PL @@ -15,70 +15,70 @@ }, ); -{ - package MY; - sub top_targets { - my($self) = @_; - - return $self->SUPER::top_targets(@_) unless - eval { require Pod::Tests; 1 }; - - my $out = "POD2TEST_EXE = pod2test\n"; - - $out .= $self->SUPER::top_targets(@_); - $out =~ s/^(pure_all\b.*)/$1 testifypods/m; - - foreach my $pod (keys %{$self->{MAN1PODS}}, - keys %{$self->{MAN3PODS}}) - { - (my $test = $pod) =~ s/\.(pm|pod)$//; - $test =~ s/^lib\W//; - $test =~ s/\W/-/; - $test = "t/embedded-$test.t"; - - $pod2test{$pod} = $test; - } - - $out .= <<"END_OF_MAKE"; - -testifypods : @{[ join " ", values %pod2test ]} -\t\$(NOECHO) \$(NOOP) - -END_OF_MAKE - - for my $pod (keys %pod2test) { - my $test = $pod2test{$pod}; - - $out .= <<"END_OF_MAKE"; -$test : $pod -\t\$(NOECHO) \$(ECHO) Testifying $pod to $test -\t\$(NOECHO) \$(POD2TEST_EXE) $pod $test - -END_OF_MAKE - } - - return $out; - } - - - sub test_via_harness { - my($self, $orig_perl, $tests) = @_; - - my @perls = ($orig_perl); - push @perls, qw(bleadperl - perl5.6.1 - perl5.005_03 - perl5.004_05 - perl5.004_04 - perl5.004 - ) - if $ENV{PERL_TEST_ALL}; - - my $out; - foreach my $perl (@perls) { - $out .= $self->SUPER::test_via_harness($perl, $tests); - } - - return $out; - } -} +#{ +# package MY; +# sub top_targets { +# my($self) = @_; +# +# return $self->SUPER::top_targets(@_) unless +# eval { require Pod::Tests; 1 }; +# +# my $out = "POD2TEST_EXE = pod2test\n"; +# +# $out .= $self->SUPER::top_targets(@_); +# $out =~ s/^(pure_all\b.*)/$1 testifypods/m; +# +# foreach my $pod (keys %{$self->{MAN1PODS}}, +# keys %{$self->{MAN3PODS}}) +# { +# (my $test = $pod) =~ s/\.(pm|pod)$//; +# $test =~ s/^lib\W//; +# $test =~ s/\W/-/; +# $test = "t/embedded-$test.t"; +# +# $pod2test{$pod} = $test; +# } +# +# $out .= <<"END_OF_MAKE"; +# +#testifypods : @{[ join " ", values %pod2test ]} +#\t\$(NOECHO) \$(NOOP) +# +#END_OF_MAKE +# +# for my $pod (keys %pod2test) { +# my $test = $pod2test{$pod}; +# +# $out .= <<"END_OF_MAKE"; +#$test : $pod +#\t\$(NOECHO) \$(ECHO) Testifying $pod to $test +#\t\$(NOECHO) \$(POD2TEST_EXE) $pod $test +# +#END_OF_MAKE +# } +# +# return $out; +# } +# +# +# sub test_via_harness { +# my($self, $orig_perl, $tests) = @_; +# +# my @perls = ($orig_perl); +# push @perls, qw(bleadperl +# perl5.6.1 +# perl5.005_03 +# perl5.004_05 +# perl5.004_04 +# perl5.004 +# ) +# if $ENV{PERL_TEST_ALL}; +# +# my $out; +# foreach my $perl (@perls) { +# $out .= $self->SUPER::test_via_harness($perl, $tests); +# } +# +# return $out; +# } +#}