r63159 - in /branches/upstream/libperl-version-perl/current: Build.PL Changes MANIFEST META.yml Makefile.PL Notes.txt README SIGNATURE inc/ inc/MyBuilder.pm lib/Perl/Version.pm t/manifest.t
periapt-guest at users.alioth.debian.org
periapt-guest at users.alioth.debian.org
Fri Oct 1 20:21:47 UTC 2010
Author: periapt-guest
Date: Fri Oct 1 20:21:31 2010
New Revision: 63159
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=63159
Log:
[svn-upgrade] new version libperl-version-perl (1.010)
Added:
branches/upstream/libperl-version-perl/current/Build.PL
branches/upstream/libperl-version-perl/current/inc/
branches/upstream/libperl-version-perl/current/inc/MyBuilder.pm
branches/upstream/libperl-version-perl/current/t/manifest.t
Modified:
branches/upstream/libperl-version-perl/current/Changes
branches/upstream/libperl-version-perl/current/MANIFEST
branches/upstream/libperl-version-perl/current/META.yml
branches/upstream/libperl-version-perl/current/Makefile.PL
branches/upstream/libperl-version-perl/current/Notes.txt
branches/upstream/libperl-version-perl/current/README
branches/upstream/libperl-version-perl/current/SIGNATURE
branches/upstream/libperl-version-perl/current/lib/Perl/Version.pm
Added: branches/upstream/libperl-version-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libperl-version-perl/current/Build.PL?rev=63159&op=file
==============================================================================
--- branches/upstream/libperl-version-perl/current/Build.PL (added)
+++ branches/upstream/libperl-version-perl/current/Build.PL Fri Oct 1 20:21:31 2010
@@ -1,0 +1,30 @@
+# Note: this file has been initially generated by Module::Build::Convert 0.49
+
+use Module::Build;
+
+use lib 'inc';
+use MyBuilder;
+
+my $build = MyBuilder->new
+ (
+ module_name => 'Perl::Version',
+ dist_author => 'Andy Armstrong <andy at hexten.net>',
+ dist_version_from => 'lib/Perl/Version.pm',
+ requires => {
+ 'File::Slurp' => '9999.12',
+ 'Getopt::Long' => '2.34',
+ 'Pod::Usage' => '1.3',
+ 'Scalar::Util' => 0,
+ 'Test::More' => 0,
+ },
+ PL_files => {},
+ add_to_cleanup => [
+ 'Perl-Version-*'
+ ],
+ sign => 1,
+ license => 'perl',
+ create_readme => 1,
+ create_makefile_pl => 'traditional',
+ );
+
+$build->create_build_script;
Modified: branches/upstream/libperl-version-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libperl-version-perl/current/Changes?rev=63159&op=diff
==============================================================================
--- branches/upstream/libperl-version-perl/current/Changes (original)
+++ branches/upstream/libperl-version-perl/current/Changes Fri Oct 1 20:21:31 2010
@@ -79,3 +79,5 @@
files and not getting confused by unstructured files (like
README). See #43946.
+1.010 2010-09-19
+ Install perl-reversion by default.
Modified: branches/upstream/libperl-version-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libperl-version-perl/current/MANIFEST?rev=63159&op=diff
==============================================================================
--- branches/upstream/libperl-version-perl/current/MANIFEST (original)
+++ branches/upstream/libperl-version-perl/current/MANIFEST Fri Oct 1 20:21:31 2010
@@ -1,5 +1,7 @@
+Build.PL
Changes
examples/perl-reversion
+inc/MyBuilder.pm
lib/Perl/Version.pm
Makefile.PL
MANIFEST
@@ -11,6 +13,7 @@
t/20.compare.t
t/30.vstring.t
t/40.perl-reversion.t
+t/manifest.t
t/pod-coverage.t
t/pod.t
META.yml Module meta-data (added by MakeMaker)
Modified: branches/upstream/libperl-version-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libperl-version-perl/current/META.yml?rev=63159&op=diff
==============================================================================
--- branches/upstream/libperl-version-perl/current/META.yml (original)
+++ branches/upstream/libperl-version-perl/current/META.yml Fri Oct 1 20:21:31 2010
@@ -1,12 +1,14 @@
--- #YAML:1.0
name: Perl-Version
-version: 1.009
+version: 1.010
abstract: Parse and manipulate Perl version strings
author:
- Andy Armstrong <andy at hexten.net>
license: perl
distribution_type: module
configure_requires:
+ ExtUtils::MakeMaker: 0
+build_requires:
ExtUtils::MakeMaker: 0
requires:
File::Slurp: 9999.12
@@ -18,7 +20,7 @@
directory:
- t
- inc
-generated_by: ExtUtils::MakeMaker version 6.48
+generated_by: ExtUtils::MakeMaker version 6.56
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
Modified: branches/upstream/libperl-version-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libperl-version-perl/current/Makefile.PL?rev=63159&op=diff
==============================================================================
--- branches/upstream/libperl-version-perl/current/Makefile.PL (original)
+++ branches/upstream/libperl-version-perl/current/Makefile.PL Fri Oct 1 20:21:31 2010
@@ -3,17 +3,6 @@
use ExtUtils::MakeMaker;
eval 'use ExtUtils::MakeMaker::Coverage';
-
-my %EXE = (
- 'perl-reversion' => {
- PREREQ_PM => {
- 'Getopt::Long' => '2.34',
- 'Pod::Usage' => '1.3',
- 'File::Slurp' => '9999.12',
- },
- EXE_FILES => ['examples/perl-reversion'],
- }
-);
my %ARGS = (
license( 'perl' ),
@@ -25,29 +14,16 @@
PREREQ_PM => {
'Test::More' => 0,
'Scalar::Util' => 0,
+ 'Getopt::Long' => '2.34',
+ 'Pod::Usage' => '1.3',
+ 'File::Slurp' => '9999.12',
},
- dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
- clean => { FILES => 'Perl-Version-*' },
+ EXE_FILES => ['examples/perl-reversion'],
+ dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
+ clean => { FILES => 'Perl-Version-*' },
);
$ARGS{SIGN} = 1 if MM->can( 'signature_target' );
-
-while ( my ( $exe, $spec ) = each %EXE ) {
- my $yn = prompt( "Install $exe script?", "N" );
- if ( $yn =~ /^y/i ) {
- while ( my ( $key, $val ) = each %$spec ) {
- if ( ref $val eq 'HASH' ) {
- $ARGS{$key} = { %{ $ARGS{$key} || {} }, %$val };
- }
- elsif ( ref $val eq 'ARRAY' ) {
- push @{ $ARGS{$key} }, @$val;
- }
- else {
- die "Can't merge $key: value not handled\n";
- }
- }
- }
-}
WriteMakefile( %ARGS );
Modified: branches/upstream/libperl-version-perl/current/Notes.txt
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libperl-version-perl/current/Notes.txt?rev=63159&op=diff
==============================================================================
--- branches/upstream/libperl-version-perl/current/Notes.txt (original)
+++ branches/upstream/libperl-version-perl/current/Notes.txt Fri Oct 1 20:21:31 2010
@@ -1,3 +1,6 @@
Bugs in version.pm
1._1 produces garbage
+
+xdg: AndyA, as-tuple (or whatever you want to call it) should put the output in $version->normal() form
+xdg: AndyA, more specifically -- when bumping, it should convert the current version to normal() form and then bump it.
Modified: branches/upstream/libperl-version-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libperl-version-perl/current/README?rev=63159&op=diff
==============================================================================
--- branches/upstream/libperl-version-perl/current/README (original)
+++ branches/upstream/libperl-version-perl/current/README Fri Oct 1 20:21:31 2010
@@ -1,4 +1,4 @@
-Perl-Version version 1.009
+Perl-Version version 1.010
INSTALLATION
Modified: branches/upstream/libperl-version-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libperl-version-perl/current/SIGNATURE?rev=63159&op=diff
==============================================================================
--- branches/upstream/libperl-version-perl/current/SIGNATURE (original)
+++ branches/upstream/libperl-version-perl/current/SIGNATURE Fri Oct 1 20:21:31 2010
@@ -1,5 +1,5 @@
This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.55.
+signed via the Module::Signature module, version 0.66.
To verify the content in this distribution, first make sure you have
Module::Signature installed, then type:
@@ -14,26 +14,29 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-SHA1 9339f9c6cee03d86c98e270abec031ad4593b793 Changes
-SHA1 5366d92fc4c901cba6f4875cfd8e0d1992f7d2b5 MANIFEST
-SHA1 4f63c1f80cb8f0f235c4b71e264c6299e921643e META.yml
-SHA1 ae204242f7d35bf167a1ec677fede33b1be7ba7c Makefile.PL
-SHA1 269f4419a576950afb71d1e9ad3418b2a90a824c Notes.txt
-SHA1 2e220d6fe04d7eaea9a5b242373ccf17a993adae README
+SHA1 83f5378a32733bd87552bf639e0466d6b88fe2a4 Build.PL
+SHA1 bcedf0013b936b55a1d3ce4cdf4360959db61f12 Changes
+SHA1 692f92ebb5701f09cc28c46a93423a59224b95ad MANIFEST
+SHA1 1fc366a2da7f07765ccc739bb48a80a21a635e92 META.yml
+SHA1 1b710a676c5e8b43f645d7fe9d4422a7a3c99d98 Makefile.PL
+SHA1 df4661cecee13af66d38c6db4f7a7c2f5543b011 Notes.txt
+SHA1 d480f9add98463f0600e26bded1cc3c7fd35cd9e README
SHA1 04e504f60ee07a3e34c794736834e00bb7756479 examples/perl-reversion
-SHA1 ddbcc01e6c1b3370bc90023805512ba4860020eb lib/Perl/Version.pm
+SHA1 8c97bbeb63b586ee9c722313c2ad7858e32ff52c inc/MyBuilder.pm
+SHA1 9f7c53ace0322612f0f2a045207d103532dc6194 lib/Perl/Version.pm
SHA1 971de73a2bff6e5c7540297c67abe34b44edcff6 t/00.load.t
SHA1 bf558d22ecaeb972056f5f7688222de665557e1f t/05.misc.t
SHA1 4921e1494d235523cfe2381cdba207cb8a3a78c5 t/10.regression.t
SHA1 74d1747a052aeed0c9d5f56741366dac04ce4ff2 t/20.compare.t
SHA1 b7f0172a33387d1c19d76ff118a75315c5db05be t/30.vstring.t
SHA1 9a481567413161104cab15df09811c5a3b85775e t/40.perl-reversion.t
+SHA1 8c049d1fe65af78a4c01ebcc7d81f37b65b15738 t/manifest.t
SHA1 cdb839a1f20c8c7f83565960e0da0b34ddbc87db t/pod-coverage.t
SHA1 0190346d7072d458c8a10a45c19f86db641dcc48 t/pod.t
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.9 (Darwin)
+Version: GnuPG v1.4.10 (GNU/Linux)
-iEYEARECAAYFAkm1Qf4ACgkQwoknRJZQnCG2JgCgrNateRhwzJzHk4nQ6tfWMHbn
-EHEAniT/T3GB/sIIudwD72RAKQjAR1fr
-=TiaO
+iEYEARECAAYFAkyWLg4ACgkQwoknRJZQnCEywQCfW8fSiV6b1WPAAMcpKBsCKQtX
+QpwAn2HH0kM7SYeAVD08peDGNZDb9k1q
+=OZXW
-----END PGP SIGNATURE-----
Added: branches/upstream/libperl-version-perl/current/inc/MyBuilder.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libperl-version-perl/current/inc/MyBuilder.pm?rev=63159&op=file
==============================================================================
--- branches/upstream/libperl-version-perl/current/inc/MyBuilder.pm (added)
+++ branches/upstream/libperl-version-perl/current/inc/MyBuilder.pm Fri Oct 1 20:21:31 2010
@@ -1,0 +1,88 @@
+package MyBuilder;
+
+use base qw( Module::Build );
+
+sub create_build_script {
+ my ( $self, @args ) = @_;
+ $self->_auto_mm;
+ return $self->SUPER::create_build_script( @args );
+}
+
+sub _auto_mm {
+ my $self = shift;
+ my $mm = $self->meta_merge;
+ my @meta = qw( homepage bugtracker MailingList repository );
+ for my $meta ( @meta ) {
+ next if exists $mm->{resources}{$meta};
+ my $auto = "_auto_$meta";
+ next unless $self->can( $auto );
+ my $av = $self->$auto();
+ $mm->{resources}{$meta} = $av if defined $av;
+ }
+ $self->meta_merge( $mm );
+}
+
+sub _auto_repository {
+ my $self = shift;
+ if ( -d '.svn' ) {
+ my $info = `svn info .`;
+ return $1 if $info =~ /^URL:\s+(.+)$/m;
+ }
+ elsif ( -d '.git' ) {
+ my $info = `git remote -v`;
+ return unless $info =~ /^origin\s+(.+)$/m;
+ my $url = $1;
+ # Special case: patch up github URLs
+ $url =~ s!^git\@github\.com:!git://github.com/!;
+ return $url;
+ }
+ return;
+}
+
+sub _auto_bugtracker {
+ 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=' . shift->dist_name;
+}
+
+sub ACTION_testauthor {
+ my $self = shift;
+ $self->test_files( 'xt/author' );
+ $self->ACTION_test;
+}
+
+sub ACTION_critic {
+ exec qw( perlcritic -1 -q -profile perlcriticrc lib/ ), glob 't/*.t';
+}
+
+sub ACTION_tags {
+ exec(
+ qw(
+ ctags -f tags --recurse --totals
+ --exclude=blib
+ --exclude=.svn
+ --exclude='*~'
+ --languages=Perl
+ t/ lib/
+ )
+ );
+}
+
+sub ACTION_tidy {
+ my $self = shift;
+
+ my @extra = qw( Build.PL );
+
+ my %found_files = map { %$_ } $self->find_pm_files,
+ $self->_find_file_by_type( 'pm', 't' ),
+ $self->_find_file_by_type( 'pm', 'inc' ),
+ $self->_find_file_by_type( 't', 't' );
+
+ my @files = ( keys %found_files,
+ map { $self->localize_file_path( $_ ) } @extra );
+
+ for my $file ( @files ) {
+ system 'perltidy', '-b', $file;
+ unlink "$file.bak" if $? == 0;
+ }
+}
+
+1;
Modified: branches/upstream/libperl-version-perl/current/lib/Perl/Version.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libperl-version-perl/current/lib/Perl/Version.pm?rev=63159&op=diff
==============================================================================
--- branches/upstream/libperl-version-perl/current/lib/Perl/Version.pm (original)
+++ branches/upstream/libperl-version-perl/current/lib/Perl/Version.pm Fri Oct 1 20:21:31 2010
@@ -5,7 +5,7 @@
use Carp;
use Scalar::Util qw( blessed );
-our $VERSION = '1.009';
+our $VERSION = '1.010';
use overload (
'""' => \&stringify,
@@ -371,7 +371,7 @@
=head1 VERSION
-This document describes Perl::Version version 1.009
+This document describes Perl::Version version 1.010
=head1 SYNOPSIS
Added: branches/upstream/libperl-version-perl/current/t/manifest.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libperl-version-perl/current/t/manifest.t?rev=63159&op=file
==============================================================================
--- branches/upstream/libperl-version-perl/current/t/manifest.t (added)
+++ branches/upstream/libperl-version-perl/current/t/manifest.t Fri Oct 1 20:21:31 2010
@@ -1,0 +1,19 @@
+#!perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+eval { require ExtUtils::Manifest };
+plan skip_all => 'No ExtUtils::Manifest' if $@;
+plan skip_all => 'No MANIFEST.SKIP' unless -f 'MANIFEST.SKIP';
+plan tests => 2;
+
+my ( $missing, $extra ) = ExtUtils::Manifest::fullcheck();
+
+is_deeply $missing, [], 'missing files';
+is_deeply $extra, [], 'extra files';
+
+# vim:ts=2:sw=2:et:ft=perl
+
More information about the Pkg-perl-cvs-commits
mailing list