[77250] trunk/dports/perl
l2g at macports.org
l2g at macports.org
Thu Mar 24 11:53:30 PDT 2011
Revision: 77250
http://trac.macports.org/changeset/77250
Author: l2g at macports.org
Date: 2011-03-24 11:53:26 -0700 (Thu, 24 Mar 2011)
Log Message:
-----------
p5-moosex-role-strict: New port for Perl module MooseX::Role::Strict
Added Paths:
-----------
trunk/dports/perl/p5-moosex-role-strict/
trunk/dports/perl/p5-moosex-role-strict/Portfile
trunk/dports/perl/p5-moosex-role-strict/files/
trunk/dports/perl/p5-moosex-role-strict/files/patch-test-fewer.diff
Added: trunk/dports/perl/p5-moosex-role-strict/Portfile
===================================================================
--- trunk/dports/perl/p5-moosex-role-strict/Portfile (rev 0)
+++ trunk/dports/perl/p5-moosex-role-strict/Portfile 2011-03-24 18:53:26 UTC (rev 77250)
@@ -0,0 +1,32 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup perl5 1.0
+
+perl5.setup MooseX-Role-Strict 0.04
+platforms darwin
+maintainers l2g openmaintainer
+license Artistic GPL
+
+description MooseX::Role::Strict - use strict \'roles\'
+
+long_description WARNING: this is ALPHA code. More features to be added \
+ later. \
+ \
+ \n\When using Moose::Role, a class which provides a \
+ method a role provides will silently override that \
+ method. This can cause strange, hard-to-debug errors \
+ when the role\'s methods are not called. Simple use \
+ MooseX::Role::Strict instead of Moose::Role and \
+ overriding a role\'s method becomes a composition-time \
+ failure.
+
+patchfiles patch-test-fewer.diff
+
+checksums sha1 6fb77c97af5f6028e133a7cc7e7267c9bdb08e77 \
+ rmd160 74564a5037c30f7ac7489e32d0058ede8eaa0718
+
+depends_lib-append port:p5-moose
+
+perl5.use_module_build
Property changes on: trunk/dports/perl/p5-moosex-role-strict/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/perl/p5-moosex-role-strict/files/patch-test-fewer.diff
===================================================================
--- trunk/dports/perl/p5-moosex-role-strict/files/patch-test-fewer.diff (rev 0)
+++ trunk/dports/perl/p5-moosex-role-strict/files/patch-test-fewer.diff 2011-03-24 18:53:26 UTC (rev 77250)
@@ -0,0 +1,38 @@
+# This patch is here just so we don't have to make a p5-test-most port when
+# all that's needed is Test::More. <l2g at macports.org>
+===============================================================================
+--- t/override.t.orig 2011-03-24 11:11:19.000000000 -0700
++++ t/override.t 2011-03-24 11:11:40.000000000 -0700
+@@ -3,7 +3,7 @@
+ use strict;
+ use warnings;
+
+-use Test::Most tests => 4;
++use Test::More tests => 4;
+ use lib 'lib';
+
+ {
+===============================================================================
+--- META.yml.orig 2011-03-24 11:21:12.000000000 -0700
++++ META.yml 2011-03-24 11:21:31.000000000 -0700
+@@ -3,7 +3,7 @@
+ author:
+ - "Curtis \"Ovid\" Poe <ovid at cpan.org>"
+ build_requires:
+- Test::Most: 0.21
++ Test::More: 0.96
+ configure_requires:
+ Module::Build: 0.36
+ generated_by: 'Module::Build version 0.3607'
+===============================================================================
+--- Build.PL.orig 2011-03-24 11:31:13.000000000 -0700
++++ Build.PL 2011-03-24 11:31:34.000000000 -0700
+@@ -7,7 +7,7 @@
+ license => 'perl',
+ dist_author => 'Curtis "Ovid" Poe <ovid at cpan.org>',
+ dist_version_from => 'lib/MooseX/Role/Strict.pm',
+- build_requires => { 'Test::Most' => 0.21, },
++ build_requires => { 'Test::More' => 0.96, },
+ requires => {
+ 'Moose' => 0.89, # for --metaclass, -excludes
+ },
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110324/034756ab/attachment.html>
More information about the macports-changes
mailing list