r42808 - in /trunk/libclass-insideout-perl: ./ debian/ lib/Class/ lib/Class/InsideOut/Manual/ t/ t/Object/
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Tue Aug 25 22:13:34 UTC 2009
Author: jawnsy-guest
Date: Tue Aug 25 22:13:27 2009
New Revision: 42808
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=42808
Log:
* New upstream release
+ Fix import to avoid confusing DProf
* Drop dependency on M::B, the Makefile.PL is a traditional EUMM one
* Bump to compat level 7, use short debhelper rules
* Update to new machine-readable copyright file
Modified:
trunk/libclass-insideout-perl/Build.PL
trunk/libclass-insideout-perl/Changes
trunk/libclass-insideout-perl/MANIFEST.SKIP
trunk/libclass-insideout-perl/META.yml
trunk/libclass-insideout-perl/Makefile.PL
trunk/libclass-insideout-perl/README
trunk/libclass-insideout-perl/debian/changelog
trunk/libclass-insideout-perl/debian/compat
trunk/libclass-insideout-perl/debian/control
trunk/libclass-insideout-perl/debian/copyright
trunk/libclass-insideout-perl/debian/rules
trunk/libclass-insideout-perl/lib/Class/InsideOut.pm
trunk/libclass-insideout-perl/lib/Class/InsideOut.pod
trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/About.pm
trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/About.pod
trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/Advanced.pm
trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/Advanced.pod
trunk/libclass-insideout-perl/t/15_no_weaken_fallback.t
trunk/libclass-insideout-perl/t/Object/Scalar.pm
Modified: trunk/libclass-insideout-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/Build.PL?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/Build.PL (original)
+++ trunk/libclass-insideout-perl/Build.PL Tue Aug 25 22:13:27 2009
@@ -49,10 +49,10 @@
$self->SUPER::ACTION_testpod;
}
- sub ACTION_distdir {
+ sub ACTION_distmeta {
my $self = shift;
$self->depends_on('wikidoc');
- $self->SUPER::ACTION_distdir;
+ $self->SUPER::ACTION_distmeta;
}
SUBCLASS
Modified: trunk/libclass-insideout-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/Changes?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/Changes (original)
+++ trunk/libclass-insideout-perl/Changes Tue Aug 25 22:13:27 2009
@@ -1,4 +1,15 @@
Revision history for Perl module Class::InsideOut
+
+1.10 Mon Aug 24 20:44:46 EDT 2009
+
+ Bug fixes:
+ - changed method of calling Exporter::import() to avoid confusing DProf
+ - fixed detection of missing 'weaken' function in newer Scalar::Util
+ (fixes test t/15_no_weaken_fallback.t) (RT#47623)
+
+ Other:
+ - cleanup: eliminate test warning from bogus superclass in a test class
+ - docs: Noted that set_hooks aren't called by new() (RT#48106)
1.09 Fri Jan 4 18:42:41 EST 2008
Modified: trunk/libclass-insideout-perl/MANIFEST.SKIP
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/MANIFEST.SKIP?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/MANIFEST.SKIP (original)
+++ trunk/libclass-insideout-perl/MANIFEST.SKIP Tue Aug 25 22:13:27 2009
@@ -3,6 +3,7 @@
\bCVS\b
,v$
.svn/
+.git
# ExtUtils::MakeMaker generated files and dirs.
^MANIFEST\.(?!SKIP)
Modified: trunk/libclass-insideout-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/META.yml?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/META.yml (original)
+++ trunk/libclass-insideout-perl/META.yml Tue Aug 25 22:13:27 2009
@@ -1,12 +1,12 @@
---
name: Class-InsideOut
-version: 1.09
+version: 1.10
author:
- 'David A. Golden <dagolden at cpan.org>'
abstract: 'a safe, simple inside-out object construction kit'
license: apache
resources:
- license: http://apache.org/licenses/LICENSE-2.0
+ license: http://www.apache.org/licenses/LICENSE-2.0.txt
requires:
Class::ISA: 0
Config: 0
@@ -15,20 +15,22 @@
Test::More: 0.45
base: 0
perl: 5.005
+configure_requires:
+ Module::Build: 0.34
provides:
Class::InsideOut:
file: lib/Class/InsideOut.pm
- version: 1.09
+ version: 1.10
Class::InsideOut::Manual::About:
file: lib/Class/InsideOut/Manual/About.pm
- version: 1.09
+ version: 1.10
Class::InsideOut::Manual::Advanced:
file: lib/Class/InsideOut/Manual/Advanced.pm
- version: 1.09
-generated_by: Module::Build version 0.280801
+ version: 1.10
+generated_by: Module::Build version 0.34
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.2.html
- version: 1.2
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
no_index:
directory:
- examples
Modified: trunk/libclass-insideout-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/Makefile.PL?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/Makefile.PL (original)
+++ trunk/libclass-insideout-perl/Makefile.PL Tue Aug 25 22:13:27 2009
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.2808_01
+# Note: this file was auto-generated by Module::Build::Compat version 0.34
require 5.005;
use ExtUtils::MakeMaker;
WriteMakefile
Modified: trunk/libclass-insideout-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/README?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/README (original)
+++ trunk/libclass-insideout-perl/README Tue Aug 25 22:13:27 2009
@@ -2,7 +2,7 @@
Class::InsideOut - a safe, simple inside-out object construction kit
VERSION
- This documentation refers to version 1.09
+ This documentation refers to version 1.10
SYNOPSIS
package My::Class;
@@ -247,6 +247,10 @@
inside-out class properties in the @ISA tree. The argument may be a hash
or hash reference.
+ Note: Properties are set directly, not via accessors. This means
+ "set_hook" functions will not be called. For more robust argument
+ checking, you will need to implement your own constructor.
+
"options"
Class::InsideOut::options( \%new_options );
%current_options = Class::InsideOut::options();
Modified: trunk/libclass-insideout-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/debian/changelog?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/debian/changelog (original)
+++ trunk/libclass-insideout-perl/debian/changelog Tue Aug 25 22:13:27 2009
@@ -1,4 +1,11 @@
-libclass-insideout-perl (1.09-2) UNRELEASED; urgency=low
+libclass-insideout-perl (1.10-1) UNRELEASED; urgency=low
+
+ [ Jonathan Yu ]
+ * New upstream release
+ + Fix import to avoid confusing DProf
+ * Drop dependency on M::B, the Makefile.PL is a traditional EUMM one
+ * Bump to compat level 7, use short debhelper rules
+ * Update to new machine-readable copyright file
[ gregor herrmann ]
* debian/copyright: point to /usr/share/common-licenses/Apache-2.0 instead
@@ -11,7 +18,7 @@
[ Nathan Handler ]
* debian/watch: Update to ignore development releases.
- -- gregor herrmann <gregoa at debian.org> Tue, 05 Aug 2008 00:51:35 -0300
+ -- Jonathan Yu <frequency at cpan.org> Tue, 25 Aug 2009 11:45:16 -0400
libclass-insideout-perl (1.09-1) unstable; urgency=low
Modified: trunk/libclass-insideout-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/debian/compat?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/debian/compat (original)
+++ trunk/libclass-insideout-perl/debian/compat Tue Aug 25 22:13:27 2009
@@ -1,1 +1,1 @@
-6
+7
Modified: trunk/libclass-insideout-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/debian/control?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/debian/control (original)
+++ trunk/libclass-insideout-perl/debian/control Tue Aug 25 22:13:27 2009
@@ -1,8 +1,8 @@
Source: libclass-insideout-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 6.0.0), libmodule-build-perl
-Build-Depends-Indep: perl (>= 5.8.0)
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Ernesto Hernández-Novich (USB) <emhn at usb.ve>
Standards-Version: 3.8.0
Modified: trunk/libclass-insideout-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/debian/copyright?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/debian/copyright (original)
+++ trunk/libclass-insideout-perl/debian/copyright Tue Aug 25 22:13:27 2009
@@ -1,21 +1,34 @@
-This package was debianized by Ernesto Hernández-Novich (USB) <emhn at usb.ve>
-using dh-make-perl on Thu, 10 Jan 2008 17:17:34 -0430.
+Format-Specification:
+ http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Jonathan Yu <frequency at cpan.org>
+Upstream-Source: http://search.cpan.org/dist/Class-InsideOut/
+Upstream-Name: Class-InsideOut
-Upstream source:
- http://search.cpan.org/dist/Class-InsideOut/
+Files: *
+Copyright: 2006-2007, David A. Golden <dagolden at cpan.org>
+License: Apache-2.0
-Upstream Author:
- David A. Golden <dagolden at cpan.org>
+Files: debian/*
+Copyright: 2009, Jonathan Yu <jonathan.i.yu at gmail.com>
+ 2008, Roberto C. Sanchez <roberto at connexer.com>
+License: Artistic | GPL-1+ | Apache-2.0
-Copyright:
- Copyright (c) 2006, 2007 by David A. Golden
+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'
-License:
- Licensed under the Apache License, Version 2.0 (the "License"); you may
- not use this file except in compliance with the License.
+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'
-The Debian packaging is (C) 2008, Ernesto Hernández-Novich (USB) <emhn at usb.ve>
-and is licensed under the same terms as the software itself (see above).
-
-On Debian systems the Apache License, Version 2 can be found at
-`/usr/share/common-licenses/Apache-2.0'.
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License"); you
+ may not use this file except in compliance with the License.
+ On Debian GNU/Linux systems, the complete text of the Apache License
+ can be found in `/usr/share/common-licenses/Apache-2.0'
Modified: trunk/libclass-insideout-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/debian/rules?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/debian/rules (original)
+++ trunk/libclass-insideout-perl/debian/rules Tue Aug 25 22:13:27 2009
@@ -1,76 +1,4 @@
#!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
-#
-# It was later modified by Jason Kohles <email at jasonkohles.com>
-# http://www.jasonkohles.com/ to support Module::Build installed modules
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
- dh_testdir
-
- # Add commands to compile the package here
- $(PERL) Build.PL installdirs=vendor
- $(PERL) Build
- $(PERL) Build test
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
-
- dh_clean build-stamp install-stamp
-
- # Add commands to clean up after the build process here
- [ ! -f Build ] || $(PERL) Build distclean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
-
- # Add commands to install the package into debian/$PACKAGE_NAME here
- $(PERL) Build install destdir=$(TMP) create_packlist=0
-
- touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs Todo
- dh_installchangelogs Changes
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+%:
+ dh $@
Modified: trunk/libclass-insideout-perl/lib/Class/InsideOut.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/lib/Class/InsideOut.pm?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/lib/Class/InsideOut.pm (original)
+++ trunk/libclass-insideout-perl/lib/Class/InsideOut.pm Tue Aug 25 22:13:27 2009
@@ -3,7 +3,7 @@
use vars qw/$VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS/;
-$VERSION = '1.09';
+$VERSION = '1.10';
@ISA = qw ( Exporter );
@EXPORT = qw ( ); # nothing by default
@EXPORT_OK = qw ( new id options private property public readonly register );
@@ -20,9 +20,10 @@
use Scalar::Util qw( refaddr reftype blessed );
# Check for XS Scalar::Util with weaken() or warn and fallback
+# syntax of error changed in Scalar::Util so we check both versions
BEGIN {
eval { Scalar::Util->import( "weaken" ) };
- if ( $@ =~ /\AWeak references/ ) {
+ if ( $@ =~ /\AWeak references|weaken is only available/ ) {
warn "Scalar::Util::weaken unavailable: "
. "Class::InsideOut will not be thread-safe and will leak memory\n";
*weaken = sub { return @_ };
@@ -78,7 +79,8 @@
*{ "$caller\::STORABLE_freeze" } = _gen_STORABLE_freeze( $caller, 0 );
*{ "$caller\::STORABLE_thaw" } = _gen_STORABLE_thaw( $caller );
}
- goto &Exporter::import;
+ local $Exporter::ExportLevel = $Exporter::ExportLevel + 1;
+ &Exporter::import;
}
BEGIN { *id = \&Scalar::Util::refaddr; }
@@ -796,6 +798,10 @@
scalar. Arguments will be used to initialize all matching inside-out class
properties in the {@ISA} tree. The argument may be a hash or hash reference.
+Note: Properties are set directly, not via accessors. This means {set_hook}
+functions will not be called. For more robust argument checking, you will
+need to implement your own constructor.
+
== {options}
Class::InsideOut::options( \%new_options );
Modified: trunk/libclass-insideout-perl/lib/Class/InsideOut.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/lib/Class/InsideOut.pod?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/lib/Class/InsideOut.pod (original)
+++ trunk/libclass-insideout-perl/lib/Class/InsideOut.pod Tue Aug 25 22:13:27 2009
@@ -8,7 +8,7 @@
=head1 VERSION
-This documentation refers to version 1.09
+This documentation refers to version 1.10
=head1 SYNOPSIS
@@ -295,6 +295,10 @@
scalar. Arguments will be used to initialize all matching inside-out class
properties in the C<<< @ISA >>> tree. The argument may be a hash or hash reference.
+Note: Properties are set directly, not via accessors. This means C<<< set_hook >>>
+functions will not be called. For more robust argument checking, you will
+need to implement your own constructor.
+
=head2 C<<< options >>>
Class::InsideOut::options( \%new_options );
Modified: trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/About.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/About.pm?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/About.pm (original)
+++ trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/About.pm Tue Aug 25 22:13:27 2009
@@ -3,7 +3,7 @@
# turned into .pod by the Build.PL
use strict; # make CPANTS happy
use vars /$VERSION/;
-$VERSION = '1.09';
+$VERSION = '1.10';
1;
__END__
Modified: trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/About.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/About.pod?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/About.pod (original)
+++ trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/About.pod Tue Aug 25 22:13:27 2009
@@ -9,7 +9,7 @@
=head1 VERSION
-This documentation refers to version 1.09
+This documentation refers to version 1.10
=head1 DESCRIPTION
Modified: trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/Advanced.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/Advanced.pm?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/Advanced.pm (original)
+++ trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/Advanced.pm Tue Aug 25 22:13:27 2009
@@ -3,7 +3,7 @@
# turned into .pod by the Build.PL
use strict; # make CPANTS happy
use vars /$VERSION/;
-$VERSION = '1.09';
+$VERSION = '1.10';
1;
__END__
Modified: trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/Advanced.pod
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/Advanced.pod?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/Advanced.pod (original)
+++ trunk/libclass-insideout-perl/lib/Class/InsideOut/Manual/Advanced.pod Tue Aug 25 22:13:27 2009
@@ -8,7 +8,7 @@
=head1 VERSION
-This documentation refers to version 1.09
+This documentation refers to version 1.10
=head1 DESCRIPTION
Modified: trunk/libclass-insideout-perl/t/15_no_weaken_fallback.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/t/15_no_weaken_fallback.t?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/t/15_no_weaken_fallback.t (original)
+++ trunk/libclass-insideout-perl/t/15_no_weaken_fallback.t Tue Aug 25 22:13:27 2009
@@ -33,7 +33,7 @@
}
}
-plan tests => 2;
+plan tests => 3;
#--------------------------------------------------------------------------#
@@ -52,7 +52,7 @@
is( $@, q{},
"require $class succeeded without XS"
);
-
+ok( $warning, "caught a warning" );
like( $warning, '/Scalar::Util::weaken/',
"Saw warning for Scalar::Util::weaken unavailable"
);
Modified: trunk/libclass-insideout-perl/t/Object/Scalar.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libclass-insideout-perl/t/Object/Scalar.pm?rev=42808&op=diff
==============================================================================
--- trunk/libclass-insideout-perl/t/Object/Scalar.pm (original)
+++ trunk/libclass-insideout-perl/t/Object/Scalar.pm Tue Aug 25 22:13:27 2009
@@ -1,5 +1,5 @@
package t::Object::Scalar;
- at ISA = qw( Bogus::Superclass );
+#@ISA = qw( Bogus::Superclass );
use strict;
More information about the Pkg-perl-cvs-commits
mailing list