debian/0000755000000000000000000000000012217401073007163 5ustar debian/rules0000755000000000000000000000037712217401073010252 0ustar #!/usr/bin/make -f PACKAGE := $(shell dh_listpackages) TMPDIR := debian/$(PACKAGE) override_dh_auto_install: dh_auto_install rm $(TMPDIR)/usr/share/perl5/Class/Prototyped/why.pod rm $(TMPDIR)/usr/share/man/man3/Class::Prototyped::why.3pm %: dh $@ debian/control0000644000000000000000000000325412217401073010572 0ustar Source: libclass-prototyped-perl Maintainer: Debian Perl Group Uploaders: Jose Luis Rivas Section: perl Priority: optional Build-Depends: debhelper (>= 8), perl, perl (>= 5.17.1) | libmodule-build-perl (>= 0.400000) Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libclass-prototyped-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libclass-prototyped-perl.git Homepage: https://metacpan.org/release/Class-Prototyped/ Package: libclass-prototyped-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends} Suggests: libgraphviz-perl Description: module for fast prototype-based OO programming in Perl Class:Prototyped provides for efficient and simple prototype-based programming in Perl. You can provide different subroutines for each object, and also have objects inherit their behavior and state from another object. . Class::Prototyped borrows heavily from the programming language Self. The structure of an object is inspected and modified through mirrors, which are created by calling "reflect" on an object or class that inherits from Class::Prototyped. . Prototype-based programming is most useful when the cleanest way for code to use a module is to subclass it, or when one finds oneself avoiding this by passing anonymous subroutines as parameters to "new". Prototype-based programming is also useful in situations that otherwise require storing anonymous subroutines in databases, configuration files, or text files, or when users of a module are expected to override subroutines to change its behabior. debian/libclass-prototyped-perl.examples0000644000000000000000000000002612217401073015664 0ustar examples/graphtest.pl debian/source/0000755000000000000000000000000012217401073010463 5ustar debian/source/format0000644000000000000000000000001412217401073011671 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001067512217401073011046 0ustar libclass-prototyped-perl (1.13-1) unstable; urgency=low * Team upload. [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * debian/control: update {versioned,alternative} (build) dependencies. [ Salvatore Bonaccorso ] * Change search.cpan.org based URIs to metacpan.org based URIs [ gregor herrmann ] * New upstream release. * Update build dependencies. * Improve short and long description. * Refresh patches (offset). * Update Format and years of packaging copyright in debian/copyright. * Declare compliance with Debian Policy 3.9.4. -- gregor herrmann Sat, 21 Sep 2013 22:31:36 +0200 libclass-prototyped-perl (1.11-3) unstable; urgency=low * Team upload. [ gregor herrmann ] * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). * debian/control: Added: ${misc:Depends} to Depends: field. * Change my email address. [ Salvatore Bonaccorso ] * debian/control: Changed: Replace versioned (build-)dependency on perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as permitted by Debian Policy 3.8.3). [ Russ Allbery ] * Remove myself from uploaders. * Update debhelper compatibility level to V8. - Switch from CDBS to pure dh debhelper. - Use debhelper rule minimization with overrides. * Install upstream example. * Change Debian source format to 3.0 (quilt). * Update debian/copyright to proposed DEP-5 format. * Merge Build-Depends and Build-Depends-Indep. The separation is pointless for a source package that only builds arch-independent binary packages. * Fix a spelling error in the POD documentation reported by Lintian. * Rephrase the profile() method description to avoid long, unwrappable lines. * Rewrite the package long description to digest and summarize the information and avoid long quotes from the module documentation. * Add Suggests for libgraphviz-perl, used by Class::Prototyped::Graph. * Update standards version to 3.9.1 (no changes required). -- Russ Allbery Sat, 05 Mar 2011 15:49:37 -0800 libclass-prototyped-perl (1.11-2) unstable; urgency=low [ gregor herrmann ] * debian/rules: delete /usr/lib/perl5 only if it exists. (Closes: #467718) [ Russ Allbery ] * debian/copyright: Don't use `' as matched quotes. They aren't in most fonts. -- Russ Allbery Mon, 03 Mar 2008 21:28:28 -0800 libclass-prototyped-perl (1.11-1) unstable; urgency=low [ gregor herrmann ] * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). * debian/watch: use dist-based URL. [ Martín Ferrari ] * New upstream release * debian/compat: set to 5. * debian/control: - Set the Perl Group as Maintainers, moved José to Uploaders. - Bumped Standards-Version (no changes needed). * debian/copyright: converted to new parseable format and put correct copyright notice. * debian/rules: use $(DEB_DESTDIR) instead of hardcoded path. * debian/watch: allow to match versions starting with "v". [ Russ Allbery ] * Add myself to Uploaders. * Remove empty /usr/lib/perl5 directory. -- Russ Allbery Wed, 26 Dec 2007 12:44:33 -0800 libclass-prototyped-perl (1.10-3) unstable; urgency=low * New maintainer (Closes: #317272) * debian/rules: Switch to CDBS * debian/control: + Updated to debhelper (>= 5) and moved to Build-Depends + Added cdbs Build-Depends dependency + Updated Standards-Version to 3.7.2 -- Jose Luis Rivas Sat, 31 Mar 2007 11:09:49 -0400 libclass-prototyped-perl (1.10-2) unstable; urgency=low * Orphaning package. * debian/control - Switched maintainer. * debian/changelog, debian/copyright - Changed my email address -- Stephen Quinney Thu, 07 Jul 2005 10:27:00 +0100 libclass-prototyped-perl (1.10-1) unstable; urgency=low * New upstream release - backwards incompatible alterations - read the upstream Changes file -- Stephen Quinney Fri, 18 Mar 2005 08:44:08 +0000 libclass-prototyped-perl (1.01-1) unstable; urgency=low * New upstream release * Now built using Module::Build -- Stephen Quinney Fri, 26 Mar 2004 09:11:20 +0000 libclass-prototyped-perl (0.98-1) unstable; urgency=low * Initial Release, closes: #231417. -- Stephen Quinney Sat, 20 Mar 2004 12:20:19 +0000 debian/compat0000644000000000000000000000000212217401073010361 0ustar 8 debian/patches/0000755000000000000000000000000012217401073010612 5ustar debian/patches/example-interpreter0000644000000000000000000000045112217401073014531 0ustar Author: Russ Allbery Description: Add a #! line to the graphtest.pl example so that it's executable when installed. --- a/examples/graphtest.pl +++ b/examples/graphtest.pl @@ -1,3 +1,5 @@ +#!/usr/bin/perl + use Class::Prototyped qw(:EZACCESS); use Class::Prototyped::Graph; debian/patches/pod-long-line0000644000000000000000000000203212217401073013176 0ustar Author: Russ Allbery Description: Avoid lines that are too long to be displayed by nroff by rephrasing the description of the profile() method. --- a/lib/Class/Prototyped.pm +++ b/lib/Class/Prototyped.pm @@ -2565,11 +2565,12 @@ =item C (C, rank 80) -If C is set to 1, increments C<< -$Class::Prototyped::Mirror::PROFILE::counts->{$package}->{$slotName} >> -everytime the slot is accessed. If C is set to 2, increments C<< -$Class::Prototyped::Mirror::PROFILE::counts->{$package}->{$slotName}->{$caller} >> -everytime the slot is accessed, where C<$caller> is C<"$file ($line)">. +Stores profiling information in C<< +$Class::Prototyped::Mirror::PROFILE::counts >>. If C is set to 1, +increments C<< $counts->{$package}->{$slotName} >> everytime the slot is +accessed. If C is set to 2, increments C<< +$counts->{$package}->{$slotName}->{$caller} >> everytime the slot is accessed, +where C<$caller> is C<"$file ($line)">. =item C (C, rank 90) debian/patches/pod-spelling0000644000000000000000000000111512217401073013130 0ustar Author: Russ Allbery Description: Fix spelling error in POD documentation --- a/lib/Class/Prototyped.pm +++ b/lib/Class/Prototyped.pm @@ -2321,7 +2321,7 @@ sub1 => sub { print "this is sub1 in p2" }, ); -It calls C to create the new object*, so if you have overriden C, +It calls C to create the new object*, so if you have overridden C, you should contemplate overriding C in order to ensure that behavioral changes made to C that would be applicable to C are implemented. Or simply override C. debian/patches/series0000644000000000000000000000005712217401073012031 0ustar pod-spelling pod-long-line example-interpreter debian/copyright0000644000000000000000000000246712217401073011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Class-Prototyped Upstream-Contact: Toby Ovod-Everett Source: https://metacpan.org/release/Class-Prototyped/ Files: * Copyright: 2001-2007 Ned Konz and Toby Ovod-Everett License: Artistic or GPL-1+ Files: debian/* Copyright: 2004, 2005, Stephen Quinney 2007, 2008, 2011, Russ Allbery 2007, Jose Luis Rivas 2008-2013, gregor herrmann License: Artistic or GPL-1+ Comment: We are assuming that all Debian maintainers intended a license compatible with the license used by upstream. 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. License: GPL-1+ 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; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in /usr/share/common-licenses/GPL-1. debian/watch0000644000000000000000000000015012217401073010210 0ustar version=3 https://metacpan.org/release/Class-Prototyped/ .*/Class-Prototyped-v?([[:digit:]].*)\.tar\.gz