r33083 - in /trunk/libmoosex-strictconstructor-perl: ./ debian/ lib/MooseX/ lib/MooseX/StrictConstructor/Role/ lib/MooseX/StrictConstructor/Role/Meta/Method/

ansgar-guest at users.alioth.debian.org ansgar-guest at users.alioth.debian.org
Sun Apr 12 09:39:51 UTC 2009


Author: ansgar-guest
Date: Sun Apr 12 09:39:46 2009
New Revision: 33083

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=33083
Log:
* New upstream release.
  + Now (build-)depends on libmoose-perl (>= 0.74)
* Bump Standards Version to 3.8.1 (no changes).
* Refresh debian/rules for debhelper 7.

Modified:
    trunk/libmoosex-strictconstructor-perl/Build.PL
    trunk/libmoosex-strictconstructor-perl/Changes
    trunk/libmoosex-strictconstructor-perl/META.yml
    trunk/libmoosex-strictconstructor-perl/Makefile.PL
    trunk/libmoosex-strictconstructor-perl/README
    trunk/libmoosex-strictconstructor-perl/SIGNATURE
    trunk/libmoosex-strictconstructor-perl/debian/changelog
    trunk/libmoosex-strictconstructor-perl/debian/compat
    trunk/libmoosex-strictconstructor-perl/debian/control
    trunk/libmoosex-strictconstructor-perl/debian/rules
    trunk/libmoosex-strictconstructor-perl/lib/MooseX/StrictConstructor.pm
    trunk/libmoosex-strictconstructor-perl/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm
    trunk/libmoosex-strictconstructor-perl/lib/MooseX/StrictConstructor/Role/Object.pm

Modified: trunk/libmoosex-strictconstructor-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-strictconstructor-perl/Build.PL?rev=33083&op=diff
==============================================================================
--- trunk/libmoosex-strictconstructor-perl/Build.PL (original)
+++ trunk/libmoosex-strictconstructor-perl/Build.PL Sun Apr 12 09:39:46 2009
@@ -8,7 +8,7 @@
 my $builder = Module::Build->new
     ( module_name        => 'MooseX::StrictConstructor',
       license            => 'perl',
-      requires           => { 'Moose'      => '0.56',
+      requires           => { 'Moose'      => '0.74',
                               'Test::More' => '0',
                             },
       create_makefile_pl => 'passthrough',

Modified: trunk/libmoosex-strictconstructor-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-strictconstructor-perl/Changes?rev=33083&op=diff
==============================================================================
--- trunk/libmoosex-strictconstructor-perl/Changes (original)
+++ trunk/libmoosex-strictconstructor-perl/Changes Sun Apr 12 09:39:46 2009
@@ -1,3 +1,8 @@
+0.08     2009-04-07
+
+- Make this module work with Moose 0.73_01+.
+
+
 0.07     2008-09-01
 
 - No code changes, just a stable release for Moose 0.56.

Modified: trunk/libmoosex-strictconstructor-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-strictconstructor-perl/META.yml?rev=33083&op=diff
==============================================================================
--- trunk/libmoosex-strictconstructor-perl/META.yml (original)
+++ trunk/libmoosex-strictconstructor-perl/META.yml Sun Apr 12 09:39:46 2009
@@ -1,6 +1,6 @@
 ---
 name: MooseX-StrictConstructor
-version: 0.07
+version: 0.08
 author:
   - 'Dave Rolsky, C<< <autarch at urth.org> >>'
 abstract: Make your object constructors blow up on unknown attributes
@@ -8,17 +8,17 @@
 resources:
   license: http://dev.perl.org/licenses/
 requires:
-  Moose: 0.56
+  Moose: 0.74
   Test::More: 0
 provides:
   MooseX::StrictConstructor:
     file: lib/MooseX/StrictConstructor.pm
-    version: 0.07
+    version: 0.08
   MooseX::StrictConstructor::Role::Meta::Method::Constructor:
     file: lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm
   MooseX::StrictConstructor::Role::Object:
     file: lib/MooseX/StrictConstructor/Role/Object.pm
-generated_by: Module::Build version 0.2808
+generated_by: Module::Build version 0.32
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.2.html
   version: 1.2

Modified: trunk/libmoosex-strictconstructor-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-strictconstructor-perl/Makefile.PL?rev=33083&op=diff
==============================================================================
--- trunk/libmoosex-strictconstructor-perl/Makefile.PL (original)
+++ trunk/libmoosex-strictconstructor-perl/Makefile.PL Sun Apr 12 09:39:46 2009
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.03
+# Note: this file was auto-generated by Module::Build::Compat version 0.32
     
     unless (eval "use Module::Build::Compat 0.02; 1" ) {
       print "This module requires Module::Build to install itself.\n";
@@ -27,5 +27,6 @@
     eval "use Module::Build::Compat 0.02; 1" or die $@;
     
     Module::Build::Compat->run_build_pl(args => \@ARGV);
+    exit(0) unless(-e 'Build'); # cpantesters convention
     require Module::Build;
     Module::Build::Compat->write_makefile(build_class => 'Module::Build');

Modified: trunk/libmoosex-strictconstructor-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-strictconstructor-perl/README?rev=33083&op=diff
==============================================================================
--- trunk/libmoosex-strictconstructor-perl/README (original)
+++ trunk/libmoosex-strictconstructor-perl/README Sun Apr 12 09:39:46 2009
@@ -22,13 +22,14 @@
     to catch small typos.
 
   Subverting Strictness
+
     You may find yourself wanting to have your constructor accept a
     parameter which does not correspond to an attribute.
 
-    In that case, you'll probably also be writing a "BUILD()" or
-    "BUILDARGS()" method to deal with that parameter. In a "BUILDARGS()"
+    In that case, you'll probably also be writing a `BUILD()' or
+    `BUILDARGS()' method to deal with that parameter. In a `BUILDARGS()'
     method, you can simply make sure that this parameter is not included in
-    the hash reference you return. Otherwise, in a "BUILD()" method, you can
+    the hash reference you return. Otherwise, in a `BUILD()' method, you can
     delete it from the hash reference of parameters.
 
       sub BUILD {
@@ -41,13 +42,13 @@
       }
 
 AUTHOR
-    Dave Rolsky, "<autarch at urth.org>"
+    Dave Rolsky, `<autarch at urth.org>'
 
 BUGS
     Please report any bugs or feature requests to
-    "bug-moosex-strictconstructor at rt.cpan.org", or through the web interface
-    at <http://rt.cpan.org>. I will be notified, and then you'll
-    automatically be notified of progress on your bug as I make changes.
+    `bug-moosex-strictconstructor at rt.cpan.org', or through the web interface
+    at http://rt.cpan.org. I will be notified, and then you'll automatically
+    be notified of progress on your bug as I make changes.
 
 COPYRIGHT & LICENSE
     Copyright 2007-2008 Dave Rolsky, All Rights Reserved.

Modified: trunk/libmoosex-strictconstructor-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-strictconstructor-perl/SIGNATURE?rev=33083&op=diff
==============================================================================
--- trunk/libmoosex-strictconstructor-perl/SIGNATURE (original)
+++ trunk/libmoosex-strictconstructor-perl/SIGNATURE Sun Apr 12 09:39:46 2009
@@ -14,22 +14,22 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 9f70955c9be1dbf82d569d5059f9d06bb147b7ad Build.PL
-SHA1 41fe66bbb00146a5bf3db33d186983de92b85d4e Changes
+SHA1 4ce8426d76d1d3ab7811ebb9896627173b55c85b Build.PL
+SHA1 350804068ee8835bc1e5a7b06555c3867dec8fd9 Changes
 SHA1 b4b8ef7b7fc918602d52461e450759298c9594c4 MANIFEST
-SHA1 57202fbb2e09c695532728c1e739248a09ea9b06 META.yml
-SHA1 cd14ada78fb37a0d926edd86eddcdf7f939de582 Makefile.PL
-SHA1 0fe2fded7d23270318f32634a6dd419cd74f4b1e README
-SHA1 19c59ba4a26835c17ccd98cc2aa7c6755f5ca5cd lib/MooseX/StrictConstructor.pm
-SHA1 acae7436d8b8d45db622ac7e3101b876911bf1f3 lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm
-SHA1 15f941256c07bd10d47099c076cc571eaec0bfbe lib/MooseX/StrictConstructor/Role/Object.pm
+SHA1 78f5fd81a8c65f73fd4b11f21375e8cf3a2ff661 META.yml
+SHA1 319790c23e8ec93773a072982ab6a2f366ada3a1 Makefile.PL
+SHA1 cccdbdb0921c03a74b731006c39c9492804ad888 README
+SHA1 ffc1bd98ac9787ad833e4aa34e38ec079de7910b lib/MooseX/StrictConstructor.pm
+SHA1 d2cc948aca63d92be8c902945c037c88d03e2bb4 lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm
+SHA1 91e655e4f664051dd1511981bf497bc9e9452552 lib/MooseX/StrictConstructor/Role/Object.pm
 SHA1 99ccb73ee8acdb9c738646b8be1464fa56dd2b6b t/basic.t
 SHA1 1939a16163d1ced544e36670f17930f1cf75cdb1 t/pod-coverage.t
 SHA1 cec881e89926d320475f9de2b7fad02c2169f510 t/pod.t
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
+Version: GnuPG v1.4.9 (GNU/Linux)
 
-iD8DBQFIvB1v3Or3ZzQuifMRAoooAKDvRgLdSlqOo8DjjDtniH26gIniwgCgsFMF
-zwBvd+UZqJoHVpGApEu3DRM=
-=2saz
+iEYEARECAAYFAknbe40ACgkQ3Or3ZzQuifMKKgCgunOExeUViEh+jmTyruTHB1tR
+E74AoKObbdy8KTjYWyVKFWb7zlZvH7cR
+=VoO+
 -----END PGP SIGNATURE-----

Modified: trunk/libmoosex-strictconstructor-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-strictconstructor-perl/debian/changelog?rev=33083&op=diff
==============================================================================
--- trunk/libmoosex-strictconstructor-perl/debian/changelog (original)
+++ trunk/libmoosex-strictconstructor-perl/debian/changelog Sun Apr 12 09:39:46 2009
@@ -1,9 +1,16 @@
-libmoosex-strictconstructor-perl (0.07-2) UNRELEASED; urgency=low
+libmoosex-strictconstructor-perl (0.08-1) unstable; urgency=low
 
+  [ gregor herrmann ]
   * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
     (source stanza).
 
- -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:45:08 +0100
+  [ Ansgar Burchardt ]
+  * New upstream release.
+    + Now (build-)depends on libmoose-perl (>= 0.74)
+  * Bump Standards Version to 3.8.1 (no changes).
+  * Refresh debian/rules for debhelper 7.
+
+ -- Ansgar Burchardt <ansgar at 43-1.org>  Sun, 12 Apr 2009 11:39:14 +0200
 
 libmoosex-strictconstructor-perl (0.07-1) unstable; urgency=low
 

Modified: trunk/libmoosex-strictconstructor-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-strictconstructor-perl/debian/compat?rev=33083&op=diff
==============================================================================
--- trunk/libmoosex-strictconstructor-perl/debian/compat (original)
+++ trunk/libmoosex-strictconstructor-perl/debian/compat Sun Apr 12 09:39:46 2009
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libmoosex-strictconstructor-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-strictconstructor-perl/debian/control?rev=33083&op=diff
==============================================================================
--- trunk/libmoosex-strictconstructor-perl/debian/control (original)
+++ trunk/libmoosex-strictconstructor-perl/debian/control Sun Apr 12 09:39:46 2009
@@ -1,21 +1,21 @@
 Source: libmoosex-strictconstructor-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5), libmodule-build-perl
-Build-Depends-Indep: perl (>= 5.8), libmoose-perl (>= 0.56),
+Build-Depends: debhelper (>= 7.0.50), libmodule-build-perl
+Build-Depends-Indep: perl (>= 5.8), libmoose-perl (>= 0.74),
  libtest-pod-perl, libtest-pod-coverage-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Antony Gelberg <antony at wayforth.co.uk>,
  gregor herrmann <gregoa at debian.org>,
  Ansgar Burchardt <ansgar at 43-1.org>
-Standards-Version: 3.8.0
+Standards-Version: 3.8.1
 Homepage: http://search.cpan.org/dist/MooseX-StrictConstructor/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmoosex-strictconstructor-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libmoosex-strictconstructor-perl/
 
 Package: libmoosex-strictconstructor-perl
 Architecture: all
-Depends: ${perl:Depends}, ${misc:Depends}, libmoose-perl (>= 0.56)
+Depends: ${perl:Depends}, ${misc:Depends}, libmoose-perl (>= 0.74)
 Description: Make your object constructors blow up on unknown attributes
  "use MooseX::StrictConstructor" instead of just "use Moose" makes your
  constructors strict. If your constructor is called with an attribute

Modified: trunk/libmoosex-strictconstructor-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-strictconstructor-perl/debian/rules?rev=33083&op=diff
==============================================================================
--- trunk/libmoosex-strictconstructor-perl/debian/rules (original)
+++ trunk/libmoosex-strictconstructor-perl/debian/rules Sun Apr 12 09:39:46 2009
@@ -1,61 +1,27 @@
 #!/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
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp:
-	dh_testdir
-	$(PERL) Build.PL installdirs=vendor
-	$(PERL) Build
-# Run maintainer tests too
-	IS_MAINTAINER=1 $(PERL) Build test
+	IS_MAINTAINER=1 dh build
 	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
+	dh $@
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(PERL) Build install destdir=$(TMP) create_packlist=0
+	dh install
 	touch $@
 
+override_dh_auto_install:
+	perl Build install destdir=$(CURDIR)/debian/libmoosex-strictconstructor-perl \
+		create_packlist=0
+
 binary-arch:
-# We have nothing to do here for an architecture-independent package
 
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary-indep: install
+	dh $@
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build

Modified: trunk/libmoosex-strictconstructor-perl/lib/MooseX/StrictConstructor.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-strictconstructor-perl/lib/MooseX/StrictConstructor.pm?rev=33083&op=diff
==============================================================================
--- trunk/libmoosex-strictconstructor-perl/lib/MooseX/StrictConstructor.pm (original)
+++ trunk/libmoosex-strictconstructor-perl/lib/MooseX/StrictConstructor.pm Sun Apr 12 09:39:46 2009
@@ -3,11 +3,10 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.07';
+our $VERSION = '0.08';
 $VERSION = eval $VERSION;
 
-use Class::MOP ();
-use Moose 0.56 ();
+use Moose 0.74 ();
 use Moose::Exporter;
 use Moose::Util::MetaRole;
 use MooseX::StrictConstructor::Role::Object;

Modified: trunk/libmoosex-strictconstructor-perl/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-strictconstructor-perl/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm?rev=33083&op=diff
==============================================================================
--- trunk/libmoosex-strictconstructor-perl/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm (original)
+++ trunk/libmoosex-strictconstructor-perl/lib/MooseX/StrictConstructor/Role/Meta/Method/Constructor.pm Sun Apr 12 09:39:46 2009
@@ -19,7 +19,7 @@
         ( map { "$_ => 1," }
           grep { defined }
           map { $_->init_arg() }
-          @{ $self->attributes() }
+          @{ $self->_attributes() }
         );
 
     $source .= <<"EOF";

Modified: trunk/libmoosex-strictconstructor-perl/lib/MooseX/StrictConstructor/Role/Object.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-strictconstructor-perl/lib/MooseX/StrictConstructor/Role/Object.pm?rev=33083&op=diff
==============================================================================
--- trunk/libmoosex-strictconstructor-perl/lib/MooseX/StrictConstructor/Role/Object.pm (original)
+++ trunk/libmoosex-strictconstructor-perl/lib/MooseX/StrictConstructor/Role/Object.pm Sun Apr 12 09:39:46 2009
@@ -15,7 +15,7 @@
         ( map { $_ => 1 }
           grep { defined }
           map { $_->init_arg() }
-          $self->meta()->compute_all_applicable_attributes()
+          $self->meta()->get_all_attributes()
         );
 
     my @bad = sort grep { ! $attrs{$_} }  keys %{ $params };




More information about the Pkg-perl-cvs-commits mailing list