--- libclass-multimethods-perl-1.70.orig/demo/demo.ambig.pl +++ libclass-multimethods-perl-1.70/demo/demo.ambig.pl @@ -1,3 +1,4 @@ +#!/usr/bin/perl use 5.005; use Class::Multimethods; --- libclass-multimethods-perl-1.70.orig/demo/demo.analyse.pl +++ libclass-multimethods-perl-1.70/demo/demo.analyse.pl @@ -1,3 +1,5 @@ +#!/usr/bin/perl + use 5.005; # SET UP A WINDOW HIERARCHY --- libclass-multimethods-perl-1.70.orig/demo/demo.numstr.pl +++ libclass-multimethods-perl-1.70/demo/demo.numstr.pl @@ -1,4 +1,4 @@ -#! /usr/local/bin/perl -w +#!/usr/bin/perl -w use Class::Multimethods; --- libclass-multimethods-perl-1.70.orig/demo/demo.super.pl +++ libclass-multimethods-perl-1.70/demo/demo.super.pl @@ -1,4 +1,4 @@ -#! /usr/local/bin/perl -w +#!/usr/bin/perl -w package Ancestor; --- libclass-multimethods-perl-1.70.orig/demo/demo.multi.pl +++ libclass-multimethods-perl-1.70/demo/demo.multi.pl @@ -1,3 +1,4 @@ +#!/usr/bin/perl -w use 5.005; # SET UP A WINDOW HIERARCHY --- libclass-multimethods-perl-1.70.orig/demo/demo.global.pl +++ libclass-multimethods-perl-1.70/demo/demo.global.pl @@ -1,3 +1,4 @@ +#!/usr/bin/perl use 5.005; # SET UP A WINDOW HIERARCHY --- libclass-multimethods-perl-1.70.orig/debian/control +++ libclass-multimethods-perl-1.70/debian/control @@ -0,0 +1,27 @@ +Source: libclass-multimethods-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Jay Bonci , Gunnar Wolf +Build-Depends: debhelper (>= 5) +Build-Depends-Indep: perl (>= 5.6.0-16) +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Class-Multimethods/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libclass-multimethods-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-multimethods-perl/ + +Package: libclass-multimethods-perl +Architecture: all +Depends: ${perl:Depends} +Description: Support multimethods and subroutine overloading in Perl + Sometimes Perl's standard polymorphic method dispatch mechanism isn't + sophisticated enough to cope with the complexities of finding the right + method to handle a given situation. + . + Generally speaking, multiple dispatch is needed whenever two or more objects + belonging to different class hierarchies are going to interact, and we need to + do different things depending on the combination of actual types of those + objects. Typical applications that need this kind of ability include graphical + user interfaces, image processing libraries, mixed-precision numerical + computation systems, and most types of simulations. + --- libclass-multimethods-perl-1.70.orig/debian/rules +++ libclass-multimethods-perl-1.70/debian/rules @@ -0,0 +1,64 @@ +#!/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 + +PERL ?= /usr/bin/perl +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(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 $(TMP) here + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -d $(TMP)/usr/lib/perl5 ] || \ + rmdir --ignore-fail-on-non-empty --parents --verbose \ + $(TMP)/usr/lib/perl5 + touch $@ + +binary-arch: +# We have nothing to do here for an architecture-independent package + +binary-indep: build install + dh_testdir + dh_testroot + dh_installexamples + dh_installdocs + dh_installchangelogs Changes + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libclass-multimethods-perl-1.70.orig/debian/watch +++ libclass-multimethods-perl-1.70/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/Class-Multimethods/ .*/Class-Multimethods-([[:digit:]].*)\.tar\.gz --- libclass-multimethods-perl-1.70.orig/debian/changelog +++ libclass-multimethods-perl-1.70/debian/changelog @@ -0,0 +1,55 @@ +libclass-multimethods-perl (1.70-5) 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 + * Updated debhelper compat version to 5 + * Moved debhelper from b-d-indep to b-d + * Added myself as an uploader + * Replaced debian/rules with our more standardized dh-make-perl's version + * Rewrote debian/copyright to include missing information; + debian/copyright now in machine-parsable format + + -- Gunnar Wolf Mon, 12 May 2008 13:29:07 -0500 + +libclass-multimethods-perl (1.70-4) unstable; urgency=low + + * New Maintainer (Closes: #259586) + * Adds debian/watch file + * Adds build dependancy on perl per policy + * Adds dependancy on debhelper 4 (adds debian/compat) + * Changed to my standard rules template + * Adds demo files from distribution as examples + * Adds tutorial.html file from distribution as docs + * Fixes copyright file to explicate perl license + * Updates demo files to squash lintian warnings + + -- Jay Bonci Thu, 9 Sep 2004 05:30:04 -0400 + +libclass-multimethods-perl (1.70-3) unstable; urgency=low + + * QA Upload. + * Sect section to perl to agree with override file. + + -- Thomas Bushnell, BSG Sat, 7 Aug 2004 18:55:03 -0700 + +libclass-multimethods-perl (1.70-2) unstable; urgency=low + + * QA Upload. + * Set maintainer to Debian QA Group . + + -- Thomas Bushnell, BSG Sat, 7 Aug 2004 18:31:37 -0700 + +libclass-multimethods-perl (1.70-1) unstable; urgency=low + + * Initial Release. + + -- Sean 'Shaleh' Perry Thu, 8 Feb 2001 23:28:18 -0800 + + --- libclass-multimethods-perl-1.70.orig/debian/libclass-multimethods-perl.docs +++ libclass-multimethods-perl-1.70/debian/libclass-multimethods-perl.docs @@ -0,0 +1 @@ +tutorial.html --- libclass-multimethods-perl-1.70.orig/debian/compat +++ libclass-multimethods-perl-1.70/debian/compat @@ -0,0 +1 @@ +5 --- libclass-multimethods-perl-1.70.orig/debian/libclass-multimethods-perl.examples +++ libclass-multimethods-perl-1.70/debian/libclass-multimethods-perl.examples @@ -0,0 +1 @@ +demo/* --- libclass-multimethods-perl-1.70.orig/debian/copyright +++ libclass-multimethods-perl-1.70/debian/copyright @@ -0,0 +1,31 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Debianized-By: Sean Perry +Debianized-Date: Thu, 8 Feb 2001 23:28:18 -0800. +Original-Source: http://search.cpan.org/dist/Class-Multimethods + +Files: * +Copyright: Damian Conway +License: GPL-1+ | Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of either: + . + 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" + . + On Debian systems, the complete text for both files can be found at: + . + /usr/share/common-licenses/Artistic + /usr/share/common-licenses/GPL + +Files: debian/* +Copyright: © 2008 Debian Perl Group + © 2004 Jay Bonci + © 2004 Thomas Bushnell + © 2001 Sean Perry +License: other + It is assumed that all Debian maintainers used a license compatible with + upstream's. +