r70680 - in /trunk/libclass-unload-perl: ./ debian/ debian/source/ lib/Class/ t/
ghedo-guest at users.alioth.debian.org
ghedo-guest at users.alioth.debian.org
Sun Mar 6 15:26:31 UTC 2011
Author: ghedo-guest
Date: Sun Mar 6 15:26:22 2011
New Revision: 70680
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=70680
Log:
* New upstream release 0.06
* New upstream release
* Switch to 3.0 (quilt)
* Bump debhelper to 8
* Fix upstream copyright
- Remove copyright for Module::Install (replaced by Dist::Zilla)
- Add upstream copyright year
* Update debian/copyright to latest DEP5 revision
- Replace 'Debian GNU/Linux' with just 'Debian'
- Fix copyright-refers-to-symlink-license lintian
* Use proper short-from dh
* Add myself to Uploaders
* Make (short) description a little more verbose
* Bump Standards-Version (no changes needed)
Added:
trunk/libclass-unload-perl/debian/source/
trunk/libclass-unload-perl/debian/source/format
Modified:
trunk/libclass-unload-perl/Changes
trunk/libclass-unload-perl/LICENSE
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/debian/compat
trunk/libclass-unload-perl/debian/control
trunk/libclass-unload-perl/debian/copyright
trunk/libclass-unload-perl/debian/rules
trunk/libclass-unload-perl/dist.ini
trunk/libclass-unload-perl/lib/Class/Unload.pm
trunk/libclass-unload-perl/t/01-unload.t
trunk/libclass-unload-perl/t/release-pod-coverage.t
trunk/libclass-unload-perl/t/release-pod-syntax.t
Modified: trunk/libclass-unload-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/Changes?rev=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/Changes (original)
+++ trunk/libclass-unload-perl/Changes Sun Mar 6 15:26:22 2011
@@ -1,4 +1,7 @@
Revision history for Class-Unload
+
+0.07 2011-01-26 23:27:56 Europe/London
+ - Clean up after Class::C3 on pre-5.10 perls.
0.06 2010-04-26 20:38:54 Europe/London
- Convert to Dist::Zilla
Modified: trunk/libclass-unload-perl/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/LICENSE?rev=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/LICENSE (original)
+++ trunk/libclass-unload-perl/LICENSE Sun Mar 6 15:26:22 2011
@@ -1,4 +1,4 @@
-This software is copyright (c) 2010 by Dagfinn Ilmari Mannsåker.
+This software is copyright (c) 2011 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.
@@ -12,7 +12,7 @@
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2010 by Dagfinn Ilmari Mannsåker.
+This software is Copyright (c) 2011 by Dagfinn Ilmari Mannsåker.
This is free software, licensed under:
@@ -270,7 +270,7 @@
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2010 by Dagfinn Ilmari Mannsåker.
+This software is Copyright (c) 2011 by Dagfinn Ilmari Mannsåker.
This is free software, licensed under:
Modified: trunk/libclass-unload-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/MANIFEST?rev=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/MANIFEST (original)
+++ trunk/libclass-unload-perl/MANIFEST Sun Mar 6 15:26:22 2011
@@ -15,4 +15,4 @@
t/lib/MyClass/Sub.pm
t/lib/MyClass/Sub/Sub.pm
t/release-pod-coverage.t
-t/release-pod-syntax.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=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/META.yml (original)
+++ trunk/libclass-unload-perl/META.yml Sun Mar 6 15:26:22 2011
@@ -6,15 +6,13 @@
Test::More: 0
configure_requires:
ExtUtils::MakeMaker: 6.31
-generated_by: 'Dist::Zilla version 2.101151'
+dynamic_config: 0
+generated_by: 'Dist::Zilla version 4.200001, CPAN::Meta::Converter version 2.102400'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: Class-Unload
-recommends: {}
requires:
Class::Inspector: 0
-resources:
- repository: http://github.com/ilmari/class-unload
-version: 0.06
+version: 0.07
Modified: trunk/libclass-unload-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/Makefile.PL?rev=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/Makefile.PL (original)
+++ trunk/libclass-unload-perl/Makefile.PL Sun Mar 6 15:26:22 2011
@@ -9,34 +9,34 @@
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'
- );
+ 'ABSTRACT' => 'Unload a class',
+ 'AUTHOR' => 'Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>;',
+ 'BUILD_REQUIRES' => {
+ 'Test::More' => '0'
+ },
+ 'CONFIGURE_REQUIRES' => {
+ 'ExtUtils::MakeMaker' => '6.31'
+ },
+ 'DISTNAME' => 'Class-Unload',
+ 'EXE_FILES' => [],
+ 'LICENSE' => 'perl',
+ 'NAME' => 'Class::Unload',
+ 'PREREQ_PM' => {
+ 'Class::Inspector' => '0'
+ },
+ 'VERSION' => '0.07',
+ 'test' => {
+ 'TESTS' => 't/*.t'
+ }
+);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
- my $pp = $WriteMakefileArgs{PREREQ_PM};
+ my $pp = $WriteMakefileArgs{PREREQ_PM};
for my $mod ( keys %$br ) {
if ( exists $pp->{$mod} ) {
- $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
+ $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
}
else {
$pp->{$mod} = $br->{$mod};
Modified: trunk/libclass-unload-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/README?rev=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/README (original)
+++ trunk/libclass-unload-perl/README Sun Mar 6 15:26:22 2011
@@ -1,11 +1,11 @@
This archive contains the distribution Class-Unload,
-version 0.06:
+version 0.07:
Unload a class
-This software is copyright (c) 2010 by Dagfinn Ilmari Mannsåker.
+This software is copyright (c) 2011 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.
Modified: trunk/libclass-unload-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/debian/changelog?rev=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/debian/changelog (original)
+++ trunk/libclass-unload-perl/debian/changelog Sun Mar 6 15:26:22 2011
@@ -1,7 +1,7 @@
-libclass-unload-perl (0.06-1) UNRELEASED; urgency=low
+libclass-unload-perl (0.07-1) UNRELEASED; urgency=low
- IGNORE-VERSION: 0.06-1
- Switch to Dist::Zilla.
+ [ Ansgar Burchardt ]
+ * New upstream release 0.06
[ Nathan Handler ]
* debian/watch: Update to ignore development releases.
@@ -11,7 +11,22 @@
perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as
permitted by Debian Policy 3.8.3).
- -- Ansgar Burchardt <ansgar at 43-1.org> Thu, 29 Apr 2010 13:44:37 +0900
+ [ Alessandro Ghedini ]
+ * New upstream release
+ * Switch to 3.0 (quilt)
+ * Bump debhelper to 8
+ * Fix upstream copyright
+ - Remove copyright for Module::Install (replaced by Dist::Zilla)
+ - Add upstream copyright year
+ * Update debian/copyright to latest DEP5 revision
+ - Replace 'Debian GNU/Linux' with just 'Debian'
+ - Fix copyright-refers-to-symlink-license lintian
+ * Use proper short-from dh
+ * Add myself to Uploaders
+ * Make (short) description a little more verbose
+ * Bump Standards-Version (no changes needed)
+
+ -- Alessandro Ghedini <al3xbio at gmail.com> Sun, 06 Mar 2011 16:02:07 +0100
libclass-unload-perl (0.05-1) unstable; urgency=low
Modified: trunk/libclass-unload-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/debian/compat?rev=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/debian/compat (original)
+++ trunk/libclass-unload-perl/debian/compat Sun Mar 6 15:26:22 2011
@@ -1,1 +1,1 @@
-7
+8
Modified: trunk/libclass-unload-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/debian/control?rev=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/debian/control (original)
+++ trunk/libclass-unload-perl/debian/control Sun Mar 6 15:26:22 2011
@@ -1,12 +1,13 @@
Source: libclass-unload-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 8)
Build-Depends-Indep: perl, libclass-inspector-perl,
libtest-pod-perl, libtest-pod-coverage-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Damyan Ivanov <dmn at debian.org>
-Standards-Version: 3.8.0
+Uploaders: Damyan Ivanov <dmn at debian.org>,
+ Alessandro Ghedini <al3xbio at gmail.com>
+Standards-Version: 3.9.1
Homepage: http://search.cpan.org/dist/Class-Unload/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libclass-unload-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libclass-unload-perl/
@@ -14,6 +15,7 @@
Package: libclass-unload-perl
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}, libclass-inspector-perl
-Description: Unload a class
- Class::Unload unloads the given class by clearing out its symbol table and
- removing it from %INC.
+Description: Perl module to unload a class at runtime
+ Class::Unload is a Perl module that unloads the given class by clearing out its
+ symbol table and removing it from %INC during runtime. The unloaded class may
+ then be reloaded later on using 'require'.
Modified: trunk/libclass-unload-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/debian/copyright?rev=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/debian/copyright (original)
+++ trunk/libclass-unload-perl/debian/copyright Sun Mar 6 15:26:22 2011
@@ -1,32 +1,28 @@
-Format-Specification:
- http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
-Upstream-Maintainer: Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>
-Upstream-Source: http://search.cpan.org/dist/Class-Unload/
+Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=166
Upstream-Name: Class-Unload
+Upstream-Contact: Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>
+Source: http://search.cpan.org/dist/Class-Unload/
Files: *
-Copyright: Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>
-License-Alias: Perl
-License: Artistic | GPL-1+
-
-Files: inc/*
-Copyright: 2002 - 2008 by Brian Ingerson, Audrey Tang and Adam Kennedy
-License: Artistic | GPL-1+
+Copyright: 2011, Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>
+License: Artistic or GPL-1+
Files: debian/*
Copyright: 2008, Damyan Ivanov <dmn at debian.org>
-License: Artistic | GPL-1+
+License: GPL-1+ or Artistic
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
+ 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 GNU/Linux systems, the complete text of the GNU General
- Public License can be found in `/usr/share/common-licenses/GPL'
+ 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'.
Modified: trunk/libclass-unload-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/debian/rules?rev=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/debian/rules (original)
+++ trunk/libclass-unload-perl/debian/rules Sun Mar 6 15:26:22 2011
@@ -1,23 +1,4 @@
#!/usr/bin/make -f
-build: build-stamp
-build-stamp:
- dh build
- touch $@
-
-clean:
+%:
dh $@
-
-install: install-stamp
-install-stamp: build-stamp
- dh install
- touch $@
-
-binary-arch:
-
-binary-indep: install
- dh $@
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build
Added: trunk/libclass-unload-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/debian/source/format?rev=70680&op=file
==============================================================================
--- trunk/libclass-unload-perl/debian/source/format (added)
+++ trunk/libclass-unload-perl/debian/source/format Sun Mar 6 15:26:22 2011
@@ -1,0 +1,1 @@
+3.0 (quilt)
Modified: trunk/libclass-unload-perl/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/dist.ini?rev=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/dist.ini (original)
+++ trunk/libclass-unload-perl/dist.ini Sun Mar 6 15:26:22 2011
@@ -5,7 +5,7 @@
[@Basic]
-[AutoPrereq]
+[AutoPrereqs]
[PodSyntaxTests]
[PodCoverageTests]
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=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/lib/Class/Unload.pm (original)
+++ trunk/libclass-unload-perl/lib/Class/Unload.pm Sun Mar 6 15:26:22 2011
@@ -1,6 +1,6 @@
package Class::Unload;
BEGIN {
- $Class::Unload::VERSION = '0.06';
+ $Class::Unload::VERSION = '0.07';
}
# ABSTRACT: Unload a class
@@ -22,7 +22,7 @@
my $symtab = $class.'::';
# Delete all symbols except other namespaces
for my $symbol (keys %$symtab) {
- next if substr($symbol, -2, 2) eq '::';
+ next if $symbol =~ /\A[^:]+::\z/;
delete $symtab->{$symbol};
}
@@ -44,7 +44,7 @@
=head1 VERSION
-version 0.06
+version 0.07
=head1 SYNOPSIS
@@ -76,11 +76,11 @@
=head1 AUTHOR
- Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>;
+Dagfinn Ilmari Mannsåker <ilmari at ilmari.org>;
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2010 by Dagfinn Ilmari Mannsåker.
+This software is copyright (c) 2011 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.
Modified: trunk/libclass-unload-perl/t/01-unload.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/t/01-unload.t?rev=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/t/01-unload.t (original)
+++ trunk/libclass-unload-perl/t/01-unload.t Sun Mar 6 15:26:22 2011
@@ -4,15 +4,19 @@
use Class::Unload;
use lib 't/lib';
-use Test::More tests => 14;
+use Test::More tests => 15;
for my $class ( qw/ MyClass MyClass::Sub MyClass::Sub::Sub / ) {
eval "require $class" or diag $@;
ok( Class::Inspector->loaded( $class ), "$class loaded" );
}
+# Class::C3 creates this sort of cruft on 5.8
+${'MyClass::'}{'::ISA::CACHE::'} = 42;
+
ok( Class::Unload->unload( 'MyClass' ), 'Unloading MyClass' );
ok( ! Class::Inspector->loaded( 'MyClass' ), 'MyClass is not loaded' );
+ok( ! exists(${'MyClass::'}{'::ISA::CACHE::'}), 'Stash cruft deleted' );
ok( Class::Inspector->loaded( 'MyClass::Sub' ), 'MyClass::Sub is still loaded' );
ok( Class::Unload->unload( 'MyClass::Sub' ), 'Unloading MyClass::Sub' );
Modified: trunk/libclass-unload-perl/t/release-pod-coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/t/release-pod-coverage.t?rev=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/t/release-pod-coverage.t (original)
+++ trunk/libclass-unload-perl/t/release-pod-coverage.t Sun Mar 6 15:26:22 2011
@@ -18,4 +18,4 @@
plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
if $@;
-all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
+all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
Modified: trunk/libclass-unload-perl/t/release-pod-syntax.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-unload-perl/t/release-pod-syntax.t?rev=70680&op=diff
==============================================================================
--- trunk/libclass-unload-perl/t/release-pod-syntax.t (original)
+++ trunk/libclass-unload-perl/t/release-pod-syntax.t Sun Mar 6 15:26:22 2011
@@ -9,7 +9,7 @@
use Test::More;
-eval "use Test::Pod 1.00";
-plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+eval "use Test::Pod 1.41";
+plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
-all_pod_files_ok();
+all_pod_files_ok();
More information about the Pkg-perl-cvs-commits
mailing list