r57083 - in /trunk/libclass-unload-perl: .gitignore Changes LICENSE MANIFEST META.yml Makefile.PL README debian/changelog dist.ini inc/ lib/Class/Unload.pm t/pod-coverage.t t/pod.t t/release-pod-coverage.t t/release-pod-syntax.t
ansgar-guest at users.alioth.debian.org
ansgar-guest at users.alioth.debian.org
Thu Apr 29 04:50:25 UTC 2010
Author: ansgar-guest
Date: Thu Apr 29 04:50:16 2010
New Revision: 57083
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=57083
Log:
IGNORE-VERSION: 0.06-1
Switch to Dist::Zilla.
Added:
trunk/libclass-unload-perl/LICENSE
- copied unchanged from r57082, branches/upstream/libclass-unload-perl/current/LICENSE
trunk/libclass-unload-perl/dist.ini
- copied unchanged from r57082, branches/upstream/libclass-unload-perl/current/dist.ini
trunk/libclass-unload-perl/t/release-pod-coverage.t
- copied unchanged from r57082, branches/upstream/libclass-unload-perl/current/t/release-pod-coverage.t
trunk/libclass-unload-perl/t/release-pod-syntax.t
- copied unchanged from r57082, branches/upstream/libclass-unload-perl/current/t/release-pod-syntax.t
Removed:
trunk/libclass-unload-perl/.gitignore
trunk/libclass-unload-perl/inc/
trunk/libclass-unload-perl/t/pod-coverage.t
trunk/libclass-unload-perl/t/pod.t
Modified:
trunk/libclass-unload-perl/Changes
trunk/libclass-unload-perl/MANIFEST
trunk/libclass-unload-perl/META.yml
trunk/libclass-unload-perl/Makefile.PL
trunk/libclass-unload-perl/README
trunk/libclass-unload-perl/debian/changelog
trunk/libclass-unload-perl/lib/Class/Unload.pm
Modified: trunk/libclass-unload-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/Changes?rev=57083&op=diff
==============================================================================
--- trunk/libclass-unload-perl/Changes (original)
+++ trunk/libclass-unload-perl/Changes Thu Apr 29 04:50:16 2010
@@ -1,4 +1,7 @@
Revision history for Class-Unload
+
+0.06 2010-04-26 20:38:54 Europe/London
+ - Convert to Dist::Zilla
0.05 Mon Nov 1, 2008
- Set $VERSION in a way MakeMaker can detect.
Modified: trunk/libclass-unload-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/MANIFEST?rev=57083&op=diff
==============================================================================
--- trunk/libclass-unload-perl/MANIFEST (original)
+++ trunk/libclass-unload-perl/MANIFEST Thu Apr 29 04:50:16 2010
@@ -1,18 +1,11 @@
-.gitignore
Changes
-inc/Module/Install.pm
-inc/Module/Install/Base.pm
-inc/Module/Install/Can.pm
-inc/Module/Install/Fetch.pm
-inc/Module/Install/Makefile.pm
-inc/Module/Install/Metadata.pm
-inc/Module/Install/Win32.pm
-inc/Module/Install/WriteAll.pm
+LICENSE
+MANIFEST
+META.yml
+Makefile.PL
+README
+dist.ini
lib/Class/Unload.pm
-Makefile.PL
-MANIFEST This list of files
-META.yml
-README
t/00-load.t
t/01-unload.t
t/02-inheritance.t
@@ -21,5 +14,5 @@
t/lib/MyClass/Parent.pm
t/lib/MyClass/Sub.pm
t/lib/MyClass/Sub/Sub.pm
-t/pod-coverage.t
-t/pod.t
+t/release-pod-coverage.t
+t/release-pod-syntax.t
Modified: trunk/libclass-unload-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/META.yml?rev=57083&op=diff
==============================================================================
--- trunk/libclass-unload-perl/META.yml (original)
+++ trunk/libclass-unload-perl/META.yml Thu Apr 29 04:50:16 2010
@@ -1,23 +1,20 @@
---
abstract: 'Unload a class'
author:
- - 'Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>'
+ - 'Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>;'
build_requires:
Test::More: 0
-distribution_type: module
-generated_by: 'Module::Install version 0.77'
+configure_requires:
+ ExtUtils::MakeMaker: 6.31
+generated_by: 'Dist::Zilla version 2.101151'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: Class-Unload
-no_index:
- directory:
- - inc
- - t
+recommends: {}
requires:
Class::Inspector: 0
- perl: 5.005
resources:
- license: http://dev.perl.org/licenses/
-version: 0.05
+ repository: http://github.com/ilmari/class-unload
+version: 0.06
Modified: trunk/libclass-unload-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/Makefile.PL?rev=57083&op=diff
==============================================================================
--- trunk/libclass-unload-perl/Makefile.PL (original)
+++ trunk/libclass-unload-perl/Makefile.PL Thu Apr 29 04:50:16 2010
@@ -1,11 +1,53 @@
-use inc::Module::Install;
-name 'Class-Unload';
-all_from 'lib/Class/Unload.pm';
-author 'Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>';
+use strict;
+use warnings;
-requires 'Class::Inspector';
-build_requires 'Test::More';
-WriteAll;
+use ExtUtils::MakeMaker 6.31;
+
+
+
+my %WriteMakefileArgs = (
+ 'test' => {
+ 'TESTS' => 't/*.t'
+ },
+ 'NAME' => 'Class::Unload',
+ 'DISTNAME' => 'Class-Unload',
+ 'CONFIGURE_REQUIRES' => {
+ 'ExtUtils::MakeMaker' => '6.31'
+ },
+ 'AUTHOR' => 'Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>;',
+ 'BUILD_REQUIRES' => {
+ 'Test::More' => '0'
+ },
+ 'ABSTRACT' => 'Unload a class',
+ 'EXE_FILES' => [],
+ 'VERSION' => '0.06',
+ 'PREREQ_PM' => {
+ 'Class::Inspector' => '0'
+ },
+ 'LICENSE' => 'perl'
+ );
+
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
+ my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
+ my $pp = $WriteMakefileArgs{PREREQ_PM};
+ for my $mod ( keys %$br ) {
+ if ( exists $pp->{$mod} ) {
+ $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
+ }
+ else {
+ $pp->{$mod} = $br->{$mod};
+ }
+ }
+}
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+ unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+
+WriteMakefile(%WriteMakefileArgs);
+
+
+
Modified: trunk/libclass-unload-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/README?rev=57083&op=diff
==============================================================================
--- trunk/libclass-unload-perl/README (original)
+++ trunk/libclass-unload-perl/README Thu Apr 29 04:50:16 2010
@@ -1,41 +1,13 @@
-Class-Unload
-INSTALLATION
+This archive contains the distribution Class-Unload,
+version 0.06:
-To install this module, run the following commands:
+ Unload a class
- perl Makefile.PL
- make
- make test
- make install
+This software is copyright (c) 2010 by Dagfinn Ilmari Mannsåker.
-SUPPORT AND DOCUMENTATION
-
-After installing, you can find documentation for this module with the
-perldoc command.
-
- perldoc Class::Unload
-
-You can also look for information at:
-
- RT, CPAN's request tracker
- http://rt.cpan.org/NoAuth/Bugs.html?Dist=Class-Unload
-
- AnnoCPAN, Annotated CPAN documentation
- http://annocpan.org/dist/Class-Unload
-
- CPAN Ratings
- http://cpanratings.perl.org/d/Class-Unload
-
- Search CPAN
- http://search.cpan.org/dist/Class-Unload
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
-COPYRIGHT AND LICENCE
-
-Copyright (C) 2008 Dagfinn Ilmari Mannsåker
-
-This program is free software; you can redistribute it and/or modify it
-under the same terms as Perl itself.
-
Modified: trunk/libclass-unload-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/debian/changelog?rev=57083&op=diff
==============================================================================
--- trunk/libclass-unload-perl/debian/changelog (original)
+++ trunk/libclass-unload-perl/debian/changelog Thu Apr 29 04:50:16 2010
@@ -1,4 +1,7 @@
-libclass-unload-perl (0.05-2) UNRELEASED; urgency=low
+libclass-unload-perl (0.06-1) UNRELEASED; urgency=low
+
+ IGNORE-VERSION: 0.06-1
+ Switch to Dist::Zilla.
[ Nathan Handler ]
* debian/watch: Update to ignore development releases.
@@ -8,7 +11,7 @@
perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as
permitted by Debian Policy 3.8.3).
- -- Nathan Handler <nhandler at ubuntu.com> Sat, 06 Jun 2009 01:33:16 +0000
+ -- Ansgar Burchardt <ansgar at 43-1.org> Thu, 29 Apr 2010 13:44:37 +0900
libclass-unload-perl (0.05-1) unstable; urgency=low
Modified: trunk/libclass-unload-perl/lib/Class/Unload.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/lib/Class/Unload.pm?rev=57083&op=diff
==============================================================================
--- trunk/libclass-unload-perl/lib/Class/Unload.pm (original)
+++ trunk/libclass-unload-perl/lib/Class/Unload.pm Thu Apr 29 04:50:16 2010
@@ -1,4 +1,8 @@
package Class::Unload;
+BEGIN {
+ $Class::Unload::VERSION = '0.06';
+}
+# ABSTRACT: Unload a class
use warnings;
use strict;
@@ -6,45 +10,6 @@
use Class::Inspector;
-=head1 NAME
-
-Class::Unload - Unload a class
-
-=head1 VERSION
-
-Version 0.05
-
-=cut
-
-use 5.005;
-use vars qw($VERSION);
-
-BEGIN {
- $VERSION = '0.05';
-}
-
-=head1 SYNOPSIS
-
-Unload a class
-
- use Class::Unload;
- use Class::Inspector;
-
- use Some::Class;
-
- Class::Unload->unload( 'Some::Class' );
- Class::Inspector->loaded( 'Some::Class' ); # Returns false
-
- require Some::Class; # Reloads the class
-
-=head1 METHODDS
-
-=head2 unload $class
-
-Unloads the given class by clearing out its symbol table and removing it
-from %INC.
-
-=cut
sub unload {
my ($self, $class) = @_;
@@ -67,73 +32,58 @@
return 1;
}
-=head1 AUTHOR
-Dagfinn Ilmari Mannsåker, C<< <ilmari at ilmari.org> >>
+1; # End of Class::Unload
+
+__END__
+=pod
+
+=head1 NAME
+
+Class::Unload - Unload a class
+
+=head1 VERSION
+
+version 0.06
+
+=head1 SYNOPSIS
+
+ use Class::Unload;
+ use Class::Inspector;
+
+ use Some::Class;
+
+ Class::Unload->unload( 'Some::Class' );
+ Class::Inspector->loaded( 'Some::Class' ); # Returns false
+
+ require Some::Class; # Reloads the class
+
+=head1 METHODS
+
+=head2 unload $class
+
+Unloads the given class by clearing out its symbol table and removing it
+from %INC.
=head1 SEE ALSO
L<Class::Inspector>
-
-=head1 BUGS
-
-Please report any bugs or feature requests to C<bug-class-unload at
-rt.cpan.org>, or through the web interface at
-L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Class-Unload>. I will
-be notified, and then you'll automatically be notified of progress on
-your bug as I make changes.
-
-
-=head1 SUPPORT
-
-You can find documentation for this module with the perldoc command.
-
- perldoc Class::Unload
-
-
-You can also look for information at:
-
-=over 4
-
-=item * RT: CPAN's request tracker
-
-L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Class-Unload>
-
-=item * AnnoCPAN: Annotated CPAN documentation
-
-L<http://annocpan.org/dist/Class-Unload>
-
-=item * CPAN Ratings
-
-L<http://cpanratings.perl.org/d/Class-Unload>
-
-=item * Search CPAN
-
-L<http://search.cpan.org/dist/Class-Unload>
-
-=item * Git reposiory
-
-L<http://git.ilmari.org/?p=Class-Unload.git>
-
-C<git://git.ilmari.org/Class-Unload.git>
-
-
-=back
-
=head1 ACKNOWLEDGEMENTS
Thanks to Matt S. Trout, James Mastros and Uri Guttman for various tips
and pointers.
-=head1 COPYRIGHT & LICENSE
+=head1 AUTHOR
-Copyright 2008 Dagfinn Ilmari Mannsåker.
+ Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>;
-This program is free software; you can redistribute it and/or modify it
-under the same terms as Perl itself.
+=head1 COPYRIGHT AND LICENSE
+This software is copyright (c) 2010 by Dagfinn Ilmari Mannsåker.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
=cut
-1; # End of Class::Unload
More information about the Pkg-perl-cvs-commits
mailing list