--- libclass-autouse-perl-1.21.orig/debian/changelog +++ libclass-autouse-perl-1.21/debian/changelog @@ -0,0 +1,84 @@ +libclass-autouse-perl (1.21-1) unstable; urgency=low + + * New upstream release. (Closes: #329509) + + -- Steve Kowalik Mon, 14 Nov 2005 15:13:22 +1100 + +libclass-autouse-perl (1.17-1) unstable; urgency=low + + * New upstream release. + + -- Steve Kowalik Wed, 9 Mar 2005 09:30:20 +1100 + +libclass-autouse-perl (1.12-1) unstable; urgency=low + + * New upstream release. + * Add libextutils-autoinstall-perl to {Build-,}Depends. + + -- Steve Kowalik Sun, 2 Jan 2005 03:15:06 +1100 + +libclass-autouse-perl (1.04-1) unstable; urgency=low + + * New upstream release. + * Remove obselete local-variables from changelog. + * Move to Section perl. + * Bump to Standards-Version 3.6.1; no changes needed. + * Jump to debhelper version 4. + * Have fun with the rules fix and rip out about half of it. + * Run make test during build. + + -- Steve Kowalik Thu, 5 Aug 2004 18:42:45 +1000 + +libclass-autouse-perl (0.7-1) unstable; urgency=low + + * New upstream release. + * Late, as usual. + + -- Steve Kowalik Fri, 27 Dec 2002 17:05:28 +1100 + +libclass-autouse-perl (0.6-3) unstable; urgency=low + + * Fix up the copyright as well. (Closes: #157556) + + -- Steve Kowalik Sat, 24 Aug 2002 10:32:28 +1000 + +libclass-autouse-perl (0.6-2) unstable; urgency=low + + * Build using binary-indep target. (Closes: #157468) + + -- Steve Kowalik Wed, 21 Aug 2002 23:15:04 +1000 + +libclass-autouse-perl (0.6-1) unstable; urgency=low + + * New upstream release. + * Skipped uploading 0.5 on advice from upstream. + + -- Steve Kowalik Fri, 5 Apr 2002 11:11:04 +1000 + +libclass-autouse-perl (0.4-1) unstable; urgency=low + + * New upstream release + * Bumped Standards-Version to 3.5.6. + * Converted from Build-Depends to Build-Depends-Indep. + + -- Steve Kowalik Wed, 7 Nov 2001 16:11:57 +1100 + +libclass-autouse-perl (0.3-1) unstable; urgency=low + + * New upstream release + + -- Steve Kowalik Thu, 27 Sep 2001 16:28:34 +1000 + +libclass-autouse-perl (0.2-1) unstable; urgency=low + + * New upstream release + + -- Steve Kowalik Thu, 30 Aug 2001 05:18:13 +1000 + +libclass-autouse-perl (0.1-1) unstable; urgency=low + + * Initial Release. + + -- Steve Kowalik Wed, 29 Aug 2001 21:53:32 +1000 + + --- libclass-autouse-perl-1.21.orig/debian/control +++ libclass-autouse-perl-1.21/debian/control @@ -0,0 +1,15 @@ +Source: libclass-autouse-perl +Section: perl +Priority: optional +Build-Depends-Indep: debhelper (>= 4.0.0), perl (>= 5.6.0-17), libextutils-autoinstall-perl +Maintainer: Steve Kowalik +Standards-Version: 3.6.1 + +Package: libclass-autouse-perl +Architecture: all +Depends: ${perl:Depends}, libextutils-autoinstall-perl +Description: Defer loading ( 'use'ing ) of a class until run time + Class::Autouse allows you to specify a class the will only load when a + method of the class is called. For large classes that might not be used + during the running of a program, such as Date::Manip, this can save + you large amounts of memory, and decrease the script load time. --- libclass-autouse-perl-1.21.orig/debian/compat +++ libclass-autouse-perl-1.21/debian/compat @@ -0,0 +1 @@ +4 --- libclass-autouse-perl-1.21.orig/debian/copyright +++ libclass-autouse-perl-1.21/debian/copyright @@ -0,0 +1,16 @@ +This package was debianized by Steve Kowalik on +Wed, 29 Aug 2001 21:53:32 +1000. + +It was downloaded from http://www.cpan.org/authors/id/A/AD/ADAMK + +Upstream Author: Adam Kennedy + +Copyright: + +Class::Autouse is copyright 2001, Adam Kennedy, and is distributed under the +same terms as Perl itself (that is, either the Artistic License or GPL as +you prefer). + +The GPL and Artistic licenses can be found under +/usr/share/common-licenses/{GPL,Artistic} on Debian systems. + --- libclass-autouse-perl-1.21.orig/debian/docs +++ libclass-autouse-perl-1.21/debian/docs @@ -0,0 +1 @@ +README --- libclass-autouse-perl-1.21.orig/debian/rules +++ libclass-autouse-perl-1.21/debian/rules @@ -0,0 +1,66 @@ +#!/usr/bin/make -f +#-*- makefile -*- +# Made with the aid of dh_make, by Craig Small +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# Some lines taken from debmake, by Christoph Lameter. + +ifndef PERL +PERL = /usr/bin/perl +endif + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="-O2 -g -Wall" + $(MAKE) test + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) realclean + + dh_clean + +install: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + $(MAKE) install PREFIX=$(CURDIR)/debian/libclass-autouse-perl/usr + + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installman + dh_installchangelogs Changes + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_perl + dh_shlibdeps + 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 --- libclass-autouse-perl-1.21.orig/Makefile.PL +++ libclass-autouse-perl-1.21/Makefile.PL @@ -1,5 +1,15 @@ use inc::Module::Install; +## MakeMaker doesn't know about arch :( +sub MY::libscan { + my ($self, $path) = @_; + my ($dirs,$file) = ($self->splitpath($path))[1,2]; + + return '' if grep /^(?:\.arch-ids|{arch}|,,.*|\+\+.*)$/, + $self->splitdir($dirs), $file; + return $self->MM::libscan($path); +} + name ( 'Class-Autouse' ); abstract ( 'Run-time class loading on first method call' ); author ( 'Adam Kennedy' );