debian/0000755000000000000000000000000011467055017007174 5ustar debian/control0000644000000000000000000000174611467054710010606 0ustar Source: libmonkey-patch-perl Section: perl Priority: optional Build-Depends: debhelper (>= 7) Build-Depends-Indep: perl, libsub-delete-perl, libsuper-perl Maintainer: Debian Perl Group Uploaders: Ernesto Hernández-Novich (USB) Standards-Version: 3.9.1 Homepage: http://search.cpan.org/dist/Monkey-Patch/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmonkey-patch-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libmonkey-patch-perl/ Package: libmonkey-patch-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libsub-delete-perl, libsuper-perl Description: scoped monkey-patching Perl module Monkey patching is a way to extend or modify the runtime code of a program or library without altering the original source code. . Monkey::Patch provides lexical scope monkey-patching so that you can wrap any other package's subroutine with your own code and still have access to the original subroutine. debian/copyright0000644000000000000000000000206511467054710011131 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Paul Driver Source: http://search.cpan.org/dist/Monkey-Patch/ Name: Monkey-Patch Files: * Copyright: 2010, Paul Driver License: Artistic or GPL-1+ Files: debian/* Copyright: 2010, Ernesto Hernández-Novich (USB) License: Artistic or GPL-1+ 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 GNU/Linux 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 GNU/Linux systems, the complete text of version 1 of the General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000016511467024605010226 0ustar version=3 http://search.cpan.org/dist/Monkey-Patch/ .*/Monkey-Patch-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000755000000000000000000000000011467054753010631 5ustar debian/patches/fix_pod.patch0000644000000000000000000000333711467054710013301 0ustar Description: Some of the infrastructure clases do not provide proper POD documentation, thus preventing the availability of man pages for them. This patch adds a minimal POD fragment describing the purpose of these infrastructural classes. Forwarded: Yes Author: Ernesto Hernández-Novich --- a/lib/Monkey/Patch/Handle.pm +++ b/lib/Monkey/Patch/Handle.pm @@ -111,6 +111,20 @@ 1; +=head1 NAME + +Monkey::Patch::Handle - Handle for monkey-patched functions + +=head1 DESCRIPTION + +Monkey::Patch::Handle keeps a stack of subroutine references for +each name (Foo::bar::baz type name), so that the coderef that lives +at that name is always the top of the stack, and if the wrappers get +uninstalled in a funky order all hell doesn't break loose. + +You should never need to use this directly, so read L(Monkey::Patch) +instead. + =pod =begin Pod::Coverage --- a/lib/Monkey/Patch/Handle/Class.pm +++ b/lib/Monkey/Patch/Handle/Class.pm @@ -18,6 +18,18 @@ 1; +=head1 NAME + +Monkey::Patch::Handle::Class - Handle for monkey-patching classes + +=head1 DESCRIPTION + +Monkey::Patch::Handle::Class provides the default Monkey::Patch::Handle +for monkey-patching a whole class. + +You should never need to use this directly, so read L(Monkey::Patch) +instead. + =pod =begin Pod::Coverage --- a/lib/Monkey/Patch/Handle/Object.pm +++ b/lib/Monkey/Patch/Handle/Object.pm @@ -15,6 +15,18 @@ 1; +=head1 NAME + +Monkey::Patch::Handle::Object - Handle for monkey-patching objects + +=head1 DESCRIPTION + +Monkey::Patch::Handle::Object provides the default Monkey::Patch::Handle +for monkey-patching a particular object. + +You should never need to use this directly, so read L(Monkey::Patch) +instead. + =pod =begin Pod::Coverage debian/patches/series0000644000000000000000000000001611467024605012034 0ustar fix_pod.patch debian/compat0000644000000000000000000000000211467024605010371 0ustar 7 debian/changelog0000644000000000000000000000026011467054710011043 0ustar libmonkey-patch-perl (0.03-1) unstable; urgency=low * Initial Release (Closes: #603039). -- Ernesto Hernández-Novich (USB) Thu, 11 Nov 2010 16:26:31 -0430 debian/source/0000755000000000000000000000000011467054753010502 5ustar debian/source/format0000644000000000000000000000001411467024604011700 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000003611467024605010252 0ustar #!/usr/bin/make -f %: dh $@