r57661 - in /trunk/libb-hooks-endofscope-perl: Changes LICENSE MANIFEST MANIFEST.SKIP META.json META.yml Makefile.PL README debian/changelog debian/copyright dist.ini inc/ lib/B/Hooks/EndOfScope.pm t/release-pod-coverage.t t/release-pod-syntax.t xt/
ansgar-guest at users.alioth.debian.org
ansgar-guest at users.alioth.debian.org
Sat May 8 11:42:30 UTC 2010
Author: ansgar-guest
Date: Sat May 8 11:42:14 2010
New Revision: 57661
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=57661
Log:
IGNORE-VERSION: 0.09-1
Meta-data changes.
* debian/copyright: Update years of copyright, remove information on ./inc/*
(removed upstream).
Added:
trunk/libb-hooks-endofscope-perl/LICENSE
- copied unchanged from r57659, branches/upstream/libb-hooks-endofscope-perl/current/LICENSE
trunk/libb-hooks-endofscope-perl/META.json
- copied unchanged from r57659, branches/upstream/libb-hooks-endofscope-perl/current/META.json
trunk/libb-hooks-endofscope-perl/dist.ini
- copied unchanged from r57659, branches/upstream/libb-hooks-endofscope-perl/current/dist.ini
trunk/libb-hooks-endofscope-perl/t/release-pod-coverage.t
- copied unchanged from r57659, branches/upstream/libb-hooks-endofscope-perl/current/t/release-pod-coverage.t
trunk/libb-hooks-endofscope-perl/t/release-pod-syntax.t
- copied unchanged from r57659, branches/upstream/libb-hooks-endofscope-perl/current/t/release-pod-syntax.t
Removed:
trunk/libb-hooks-endofscope-perl/MANIFEST.SKIP
trunk/libb-hooks-endofscope-perl/inc/
trunk/libb-hooks-endofscope-perl/xt/
Modified:
trunk/libb-hooks-endofscope-perl/Changes
trunk/libb-hooks-endofscope-perl/MANIFEST
trunk/libb-hooks-endofscope-perl/META.yml
trunk/libb-hooks-endofscope-perl/Makefile.PL
trunk/libb-hooks-endofscope-perl/README
trunk/libb-hooks-endofscope-perl/debian/changelog
trunk/libb-hooks-endofscope-perl/debian/copyright
trunk/libb-hooks-endofscope-perl/lib/B/Hooks/EndOfScope.pm
Modified: trunk/libb-hooks-endofscope-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-endofscope-perl/Changes?rev=57661&op=diff
==============================================================================
--- trunk/libb-hooks-endofscope-perl/Changes (original)
+++ trunk/libb-hooks-endofscope-perl/Changes Sat May 8 11:42:14 2010
@@ -1,3 +1,6 @@
+0.09 Fri, 07 May 2010 22:11:49 +0200
+ * Improve distribution metadata.
+
0.08 Sun, 19 Apr 2009 19:15:44 +0200
* Depend on Variable::Magic 0.34 so exceptions during compile time that
trigger a destructor don't cause an exception on 5.10 anymore.
Modified: trunk/libb-hooks-endofscope-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-endofscope-perl/MANIFEST?rev=57661&op=diff
==============================================================================
--- trunk/libb-hooks-endofscope-perl/MANIFEST (original)
+++ trunk/libb-hooks-endofscope-perl/MANIFEST Sat May 8 11:42:14 2010
@@ -1,21 +1,14 @@
Changes
-inc/Module/Install.pm
-inc/Module/Install/Base.pm
-inc/Module/Install/Can.pm
-inc/Module/Install/ExtraTests.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.json
+META.yml
+Makefile.PL
+README
+dist.ini
lib/B/Hooks/EndOfScope.pm
-Makefile.PL
-MANIFEST This list of files
-MANIFEST.SKIP
-META.yml
-README
t/basic.t
t/eval.t
t/exception.t
-xt/author/pod.t
-xt/author/podcoverage.t
+t/release-pod-coverage.t
+t/release-pod-syntax.t
Modified: trunk/libb-hooks-endofscope-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-endofscope-perl/META.yml?rev=57661&op=diff
==============================================================================
--- trunk/libb-hooks-endofscope-perl/META.yml (original)
+++ trunk/libb-hooks-endofscope-perl/META.yml Sat May 8 11:42:14 2010
@@ -3,25 +3,134 @@
author:
- 'Florian Ragwitz <rafl at debian.org>'
build_requires:
- ExtUtils::MakeMaker: 6.42
Test::More: 0
configure_requires:
- ExtUtils::MakeMaker: 6.42
-distribution_type: module
-generated_by: 'Module::Install version 0.84'
+ ExtUtils::MakeMaker: 6.31
+generated_by: 'Dist::Zilla version 2.101241'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: B-Hooks-EndOfScope
-no_index:
- directory:
- - inc
- - t
+recommends: {}
requires:
Sub::Exporter: 0
Variable::Magic: 0.34
- perl: 5.8.0
+ perl: 5.008000
resources:
- license: http://dev.perl.org/licenses/
-version: 0.08
+ bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=B-Hooks-EndOfScope
+ homepage: http://search.cpan.org/dist/B-Hooks-EndOfScope
+ repository: git://github.com/rafl/b-hooks-endofscope.git
+version: 0.09
+x_Dist_Zilla:
+ plugins:
+ -
+ class: Dist::Zilla::Plugin::GatherDir
+ name: '@FLORA/@Filter/GatherDir'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::PruneCruft
+ name: '@FLORA/@Filter/PruneCruft'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::ManifestSkip
+ name: '@FLORA/@Filter/ManifestSkip'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::MetaYAML
+ name: '@FLORA/@Filter/MetaYAML'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::License
+ name: '@FLORA/@Filter/License'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::Readme
+ name: '@FLORA/@Filter/Readme'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::PkgVersion
+ name: '@FLORA/@Filter/PkgVersion'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::PodCoverageTests
+ name: '@FLORA/@Filter/PodCoverageTests'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::PodSyntaxTests
+ name: '@FLORA/@Filter/PodSyntaxTests'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::ExtraTests
+ name: '@FLORA/@Filter/ExtraTests'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::ExecDir
+ name: '@FLORA/@Filter/ExecDir'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::ShareDir
+ name: '@FLORA/@Filter/ShareDir'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::MakeMaker
+ name: '@FLORA/@Filter/MakeMaker'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::Manifest
+ name: '@FLORA/@Filter/Manifest'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::ConfirmRelease
+ name: '@FLORA/@Filter/ConfirmRelease'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::UploadToCPAN
+ name: '@FLORA/@Filter/UploadToCPAN'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::MetaConfig
+ name: '@FLORA/MetaConfig'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::MetaJSON
+ name: '@FLORA/MetaJSON'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::MetaResources
+ name: '@FLORA/MetaResources'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::Authority
+ name: '@FLORA/Authority'
+ version: 0.01
+ -
+ class: Dist::Zilla::Plugin::PodWeaver
+ name: '@FLORA/PodWeaver'
+ version: 3.100710
+ -
+ class: Dist::Zilla::Plugin::AutoPrereq
+ name: '@FLORA/AutoPrereq'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':InstallModules'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':TestFiles'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':ExecFiles'
+ version: 2.101241
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':ShareFiles'
+ version: 2.101241
+ zilla:
+ class: Dist::Zilla
+ config:
+ is_trial: 0
+ version: 2.101241
+x_authority: cpan:FLORA
Modified: trunk/libb-hooks-endofscope-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-endofscope-perl/Makefile.PL?rev=57661&op=diff
==============================================================================
--- trunk/libb-hooks-endofscope-perl/Makefile.PL (original)
+++ trunk/libb-hooks-endofscope-perl/Makefile.PL Sat May 8 11:42:14 2010
@@ -1,16 +1,54 @@
+
use strict;
use warnings;
-use inc::Module::Install;
-name 'B-Hooks-EndOfScope';
-all_from 'lib/B/Hooks/EndOfScope.pm';
+ BEGIN { require 5.008000; }
-requires 'Variable::Magic' => '0.34';
-requires 'Sub::Exporter';
-test_requires 'Test::More';
+use ExtUtils::MakeMaker 6.31;
-extra_tests;
-makemaker_args(dist => { PREOP => 'pod2text lib/B/Hooks/EndOfScope.pm > README' });
-WriteAll;
+my %WriteMakefileArgs = (
+ 'ABSTRACT' => 'Execute code after a scope finished compilation',
+ 'AUTHOR' => 'Florian Ragwitz <rafl at debian.org>',
+ 'BUILD_REQUIRES' => {
+ 'Test::More' => '0'
+ },
+ 'CONFIGURE_REQUIRES' => {
+ 'ExtUtils::MakeMaker' => '6.31'
+ },
+ 'DISTNAME' => 'B-Hooks-EndOfScope',
+ 'EXE_FILES' => [],
+ 'LICENSE' => 'perl',
+ 'NAME' => 'B::Hooks::EndOfScope',
+ 'PREREQ_PM' => {
+ 'Sub::Exporter' => '0',
+ 'Variable::Magic' => '0.34'
+ },
+ 'VERSION' => '0.09',
+ 'test' => {
+ 'TESTS' => 't/*.t'
+ }
+);
+
+
+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/libb-hooks-endofscope-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-endofscope-perl/README?rev=57661&op=diff
==============================================================================
--- trunk/libb-hooks-endofscope-perl/README (original)
+++ trunk/libb-hooks-endofscope-perl/README Sat May 8 11:42:14 2010
@@ -1,36 +1,13 @@
-NAME
- B::Hooks::EndOfScope - Execute code after a scope finished compilation
-SYNOPSIS
- on_scope_end { ... };
-DESCRIPTION
- This module allows you to execute code when perl finished compiling the
- surrounding scope.
+This archive contains the distribution B-Hooks-EndOfScope,
+version 0.09:
-FUNCTIONS
- on_scope_end
- on_scope_end { ... };
+ Execute code after a scope finished compilation
- on_scope_end $code;
+This software is copyright (c) 2010 by Florian Ragwitz.
- Registers $code to be executed after the surrounding scope has been
- compiled.
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
- This is exported by default. See Sub::Exporter on how to customize it.
-SEE ALSO
- Sub::Exporter
-
- Variable::Magic
-
-AUTHOR
- Florian Ragwitz <rafl at debian.org>
-
-COPYRIGHT AND LICENSE
- Copyright (c) 2008 Florian Ragwitz
-
- This module is free software.
-
- You may distribute this code under the same terms as Perl itself.
-
Modified: trunk/libb-hooks-endofscope-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-endofscope-perl/debian/changelog?rev=57661&op=diff
==============================================================================
--- trunk/libb-hooks-endofscope-perl/debian/changelog (original)
+++ trunk/libb-hooks-endofscope-perl/debian/changelog Sat May 8 11:42:14 2010
@@ -1,8 +1,16 @@
-libb-hooks-endofscope-perl (0.08-2) UNRELEASED; urgency=low
+libb-hooks-endofscope-perl (0.09-1) UNRELEASED; urgency=low
+ IGNORE-VERSION: 0.09-1
+ Meta-data changes.
+
+ [ Nathan Handler ]
* debian/watch: Update to ignore development releases.
- -- Nathan Handler <nhandler at ubuntu.com> Sat, 06 Jun 2009 01:32:53 +0000
+ [ Ansgar Burchardt ]
+ * debian/copyright: Update years of copyright, remove information on ./inc/*
+ (removed upstream).
+
+ -- Ansgar Burchardt <ansgar at 43-1.org> Sat, 08 May 2010 20:34:10 +0900
libb-hooks-endofscope-perl (0.08-1) unstable; urgency=low
Modified: trunk/libb-hooks-endofscope-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-endofscope-perl/debian/copyright?rev=57661&op=diff
==============================================================================
--- trunk/libb-hooks-endofscope-perl/debian/copyright (original)
+++ trunk/libb-hooks-endofscope-perl/debian/copyright Sat May 8 11:42:14 2010
@@ -8,12 +8,7 @@
Original-Source-Depends: devscripts
Files: *
-Copyright: © 2008, Florian Ragwitz
-License-Alias: Perl
-License: GPL-1+ | Artistic
-
-Files: inc/*
-Copyright: © 2002-2009, Brian Ingerson, Audrey Tang and Adam Kennedy
+Copyright: © 2010, Florian Ragwitz
License-Alias: Perl
License: GPL-1+ | Artistic
Modified: trunk/libb-hooks-endofscope-perl/lib/B/Hooks/EndOfScope.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-endofscope-perl/lib/B/Hooks/EndOfScope.pm?rev=57661&op=diff
==============================================================================
--- trunk/libb-hooks-endofscope-perl/lib/B/Hooks/EndOfScope.pm (original)
+++ trunk/libb-hooks-endofscope-perl/lib/B/Hooks/EndOfScope.pm Sat May 8 11:42:14 2010
@@ -2,16 +2,48 @@
use warnings;
package B::Hooks::EndOfScope;
+BEGIN {
+ $B::Hooks::EndOfScope::AUTHORITY = 'cpan:FLORA';
+}
+BEGIN {
+ $B::Hooks::EndOfScope::VERSION = '0.09';
+}
+# ABSTRACT: Execute code after a scope finished compilation
use 5.008000;
-use Variable::Magic;
-
-our $VERSION = '0.08';
+use Variable::Magic 0.34;
use Sub::Exporter -setup => {
exports => ['on_scope_end'],
groups => { default => ['on_scope_end'] },
};
+
+
+
+{
+ my $wiz = Variable::Magic::wizard
+ data => sub { [$_[1]] },
+ free => sub { $_->() for @{ $_[1] }; () };
+
+ sub on_scope_end (&) {
+ my $cb = shift;
+
+ $^H |= 0x020000;
+
+ if (my $stack = Variable::Magic::getdata %^H, $wiz) {
+ push @{ $stack }, $cb;
+ }
+ else {
+ Variable::Magic::cast %^H, $wiz, $cb;
+ }
+ }
+}
+
+
+1;
+
+__END__
+=pod
=head1 NAME
@@ -39,27 +71,6 @@
This is exported by default. See L<Sub::Exporter> on how to customize it.
-=cut
-
-{
- my $wiz = Variable::Magic::wizard
- data => sub { [$_[1]] },
- free => sub { $_->() for @{ $_[1] }; () };
-
- sub on_scope_end (&) {
- my $cb = shift;
-
- $^H |= 0x020000;
-
- if (my $stack = Variable::Magic::getdata %^H, $wiz) {
- push @{ $stack }, $cb;
- }
- else {
- Variable::Magic::cast %^H, $wiz, $cb;
- }
- }
-}
-
=head1 SEE ALSO
L<Sub::Exporter>
@@ -68,16 +79,14 @@
=head1 AUTHOR
-Florian Ragwitz E<lt>rafl at debian.orgE<gt>
+ Florian Ragwitz <rafl at debian.org>
=head1 COPYRIGHT AND LICENSE
-Copyright (c) 2008 Florian Ragwitz
+This software is copyright (c) 2010 by Florian Ragwitz.
-This module is free software.
-
-You may distribute this code under the same terms as Perl itself.
+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;
More information about the Pkg-perl-cvs-commits
mailing list