[105419] trunk/dports/perl

Joshua Root jmr at macports.org
Sat Apr 20 05:02:02 PDT 2013


On 2013-4-20 10:32 , Ryan Schmidt wrote:
> 
> On Apr 19, 2013, at 18:12, macsforever2000 at macports.org wrote:
> 
>> Revision: 105419
>>          https://trac.macports.org/changeset/105419
>> Author:   macsforever2000 at macports.org
>> Date:     2013-04-19 16:12:34 -0700 (Fri, 19 Apr 2013)
>> Log Message:
>> -----------
>> p5-moose p5-class-mop: p5-class-mop replaced_by p5-moose. Update p5-moose to version 2.0801, update dependencies and noarch.
>>
>> Modified Paths:
>> --------------
>>    trunk/dports/perl/p5-class-mop/Portfile
>>    trunk/dports/perl/p5-moose/Portfile
>>
>> Modified: trunk/dports/perl/p5-class-mop/Portfile
>> ===================================================================
>> --- trunk/dports/perl/p5-class-mop/Portfile	2013-04-19 22:46:06 UTC (rev 105418)
>> +++ trunk/dports/perl/p5-class-mop/Portfile	2013-04-19 23:12:34 UTC (rev 105419)
>> @@ -3,7 +3,7 @@
>> PortSystem            1.0
>> PortGroup             perl5 1.0
>>
>> -perl5.branches      5.8 5.10 5.12 5.14 5.16
>> +perl5.branches        5.8 5.10 5.12 5.14 5.16
>> perl5.setup           Class-MOP 1.12 ../by-authors/id/F/FL/FLORA/
>> revision              3
>> license               {Artistic-1 GPL}
>> @@ -11,23 +11,10 @@
>> description           A Meta Object Protocol for Perl 5
>> long_description      ${description}
>>
>> -platforms             darwin
>> -
>> -checksums             md5 685edbc1f388362f48ec67701b67acf6 \
>> -                      sha1 66ac64d98b618b26610ca1aa1dfa4215cb10e879 \
>> -                      rmd160 5f99cf47f769c736fd89abbce485dd176b918a88
>> -
>> if {${perl5.major} != ""} {
>> -depends_lib-append    port:p${perl5.major}-devel-globaldestruction \
>> -                      port:p${perl5.major}-mro-compat \
>> -                      port:p${perl5.major}-sub-name \
>> -                      port:p${perl5.major}-task-weaken \
>> -                      port:p${perl5.major}-package-deprecationmanager \
>> -                      port:p${perl5.major}-package-stash \
>> -                      port:p${perl5.major}-test-fatal \
>> -                      port:p${perl5.major}-test-simple \
>> -                      port:p${perl5.major}-try-tiny \
>> -                      port:p${perl5.major}-data-optlist \
>> -                      port:p${perl5.major}-list-moreutils \
>> -                      port:p${perl5.major}-test-requires
>> +    replaced_by         ${perl5.major}-moose
>> +} else {
>> +    replaced_by         p5-moose
>> }
>> +
>> +PortGroup           obsolete 1.0
> 
> To get this replacement to show up for users, you have to increase the port's revision.

Also, you're missing a 'p' in the first replaced_by line.

- Josh


More information about the macports-dev mailing list