r51635 - in /branches/upstream/libtest-mockclass-perl/current: .emacs.desktop MANIFEST META.yml Makefile.PL lib/Test/MockClass.pm
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Wed Jan 27 01:51:55 UTC 2010
Author: jawnsy-guest
Date: Wed Jan 27 01:51:51 2010
New Revision: 51635
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=51635
Log:
[svn-upgrade] Integrating new upstream version, libtest-mockclass-perl (1.05)
Removed:
branches/upstream/libtest-mockclass-perl/current/.emacs.desktop
Modified:
branches/upstream/libtest-mockclass-perl/current/MANIFEST
branches/upstream/libtest-mockclass-perl/current/META.yml
branches/upstream/libtest-mockclass-perl/current/Makefile.PL
branches/upstream/libtest-mockclass-perl/current/lib/Test/MockClass.pm
Modified: branches/upstream/libtest-mockclass-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-mockclass-perl/current/MANIFEST?rev=51635&op=diff
==============================================================================
--- branches/upstream/libtest-mockclass-perl/current/MANIFEST (original)
+++ branches/upstream/libtest-mockclass-perl/current/MANIFEST Wed Jan 27 01:51:51 2010
@@ -1,4 +1,3 @@
-.emacs.desktop
lib/Test/MockClass/MyClass.pm
lib/Test/MockClass.pm
Makefile.PL
Modified: branches/upstream/libtest-mockclass-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-mockclass-perl/current/META.yml?rev=51635&op=diff
==============================================================================
--- branches/upstream/libtest-mockclass-perl/current/META.yml (original)
+++ branches/upstream/libtest-mockclass-perl/current/META.yml Wed Jan 27 01:51:51 2010
@@ -1,10 +1,26 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
-name: Test-MockClass
-version: 1.04
-version_from: lib/Test/MockClass.pm
-installdirs: site
+--- #YAML:1.0
+name: Test-MockClass
+version: 1.05
+abstract: A class to create mock classes and object for testing purposes
+author:
+ - Jeremiah Jordan <jjordan at perlreason.com>
+license: unknown
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
requires:
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+ Hook::WrapSub: 0.03
+ Scalar::Util: 1.14
+ Task::Weaken: 0
+ Test::SimpleUnit: 1.21
+ Tie::Watch: 1.1
+no_index:
+ directory:
+ - t
+ - inc
+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/libtest-mockclass-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-mockclass-perl/current/Makefile.PL?rev=51635&op=diff
==============================================================================
--- branches/upstream/libtest-mockclass-perl/current/Makefile.PL (original)
+++ branches/upstream/libtest-mockclass-perl/current/Makefile.PL Wed Jan 27 01:51:51 2010
@@ -1,66 +1,5 @@
#!/usr/bin/perl
-#
-# Perl Makefile for Test-Mockclass
-# $Id: Makefile.PL,v 1.1.1.1 2005/02/16 19:46:23 phaedrus Exp $
-#
-# Invocation:
-# $ perl Makefile.PL # interactive behaviour
-# $ perl Makefile.PL --defaultdeps # accept default value on prompts
-# $ perl Makefile.PL --checkdeps # check only, no Makefile produced
-# $ perl Makefile.PL --skipdeps # ignores all dependencies
-# $ perl Makefile.PL --testonly # don't write installation targets
-#
-# Then, to build:
-# $ make [all|test|install] # install dependencies first
-# $ make checkdeps # same as the --checkdeps above
-# $ make installdeps # install dependencies only
-#
-
-# ExtUtils::AutoInstall Bootstrap Code, version 7.
-BEGIN{my$p='ExtUtils::AutoInstall';my$v=0.45;$p->VERSION||0>=$v
-or+eval"use $p $v;1"or+do{my$e=$ENV{PERL_EXTUTILS_AUTOINSTALL};
-(!defined($e)||$e!~m/--(?:default|skip|testonly)/and-t STDIN or
-eval"use ExtUtils::MakeMaker;WriteMakefile(PREREQ_PM=>{'$p',$v}
-);1"and exit)and print"==> $p $v required. Install it from CP".
-"AN? [Y/n] "and<STDIN>!~/^n/i and print"*** Installing $p\n"and
-do{if (eval '$>' and lc(`sudo -V`) =~ /version/){system('sudo',
-$^X,"-MCPANPLUS","-e","CPANPLUS::install $p");eval"use $p $v;1"
-||system('sudo', $^X, "-MCPAN", "-e", "CPAN::install $p")}eval{
-require CPANPLUS;CPANPLUS::install$p};eval"use $p $v;1"or eval{
-require CPAN;CPAN::install$p};eval"use $p $v;1"||die"*** Please
-manually install $p $v from cpan.org first...\n"}}}
-
-use File::Find;
-
-# the above handlers must be declared before the 'use' statement
-use ExtUtils::AutoInstall (
-
- # required AutoInstall version
- -version => '0.40',
-
- # core modules; may also be 'all'
- -core => {
- Hook::WrapSub => 0.03,
- Scalar::Util => 1.14,
- Test::SimpleUnit => 1.21,
- Tie::Watch => 1.1,
- },
- );
-
-# Build a custom list of modules to install. This is because the parser module
-# generation happens because it's a target, so it doesn't exist before the
-# PM list is generated
-my %pm = ();
-
-
-File::Find::find(
- sub {
- if (/\.pm$/s) {
- my $name = "$File::Find::dir/$_";
- print "Adding: $_ => $name\n";
- ($pm{$name} = $name) =~ s{lib/}{\$(INST_LIBDIR)/}
- }
- }, "lib" );
+use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'MockClass',
@@ -68,15 +7,21 @@
VERSION_FROM => 'lib/Test/MockClass.pm',
AUTHOR => 'Jeremiah Jordan <jjordan at perlreason.com>',
ABSTRACT => 'A class to create mock classes and object for testing purposes',
- PM => \%pm,
+ PREREQ_PM => {
+ 'Hook::WrapSub' => 0.03,
+ 'Scalar::Util' => 1.14,
+ 'Task::Weaken' => 0,
+ 'Test::SimpleUnit' => 1.21,
+ 'Tie::Watch' => 1.1,
+ },
dist => {
- TARFLAGS => 'cvf',
- CI => "cvs commit",
- RCS_LABEL => 'cvs tag r$(VERSION_SYM)',
- SUFFIX => ".gz",
+ TARFLAGS => 'cvf',
+ CI => "cvs commit",
+ RCS_LABEL => 'cvs tag r$(VERSION_SYM)',
+ SUFFIX => ".gz",
DIST_CP => 'ln',
DIST_DEFAULT => 'all tardist',
- COMPRESS => "gzip",
+ COMPRESS => "gzip",
},
clean => { FILES => "*.tar.bz2 *.tar.gz" },
);
Modified: branches/upstream/libtest-mockclass-perl/current/lib/Test/MockClass.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libtest-mockclass-perl/current/lib/Test/MockClass.pm?rev=51635&op=diff
==============================================================================
--- branches/upstream/libtest-mockclass-perl/current/lib/Test/MockClass.pm (original)
+++ branches/upstream/libtest-mockclass-perl/current/lib/Test/MockClass.pm Wed Jan 27 01:51:51 2010
@@ -279,8 +279,8 @@
### Versioning stuff and custom includes
use vars qw{$VERSION $RCSID};
- $VERSION = do { my @r = (q$Revision: 1.4 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
- $RCSID = q$Id: MockClass.pm,v 1.4 2005/02/18 21:16:20 phaedrus Exp $;
+ $VERSION = do { my @r = (q$Revision: 1.5 $ =~ /\d+/g); sprintf "%d."."%02d" x $#r, @r };
+ $RCSID = q$Id: MockClass.pm,v 1.5 2005/02/18 21:16:20 phaedrus Exp $;
use Carp;
use Hook::WrapSub qw{wrap_subs unwrap_subs};
use Tie::Watch;
More information about the Pkg-perl-cvs-commits
mailing list