perl5, perl5.* changes

Daniel J. Luke dluke at geeklair.net
Tue Mar 1 12:13:16 PST 2011


On Mar 1, 2011, at 2:28 PM, Ryan Schmidt wrote:
> 
> On Feb 28, 2011, at 20:33, Arno Hautala wrote:
> 
>> This would also be a good candidate for enhancing the perl5 PortGroup.
>> Automatically "revbump" when the perl5 port is updated. Though this
>> could probably be rolled into the version dependency work.
> 
> The portgroup isn't the appropriate place to do that.

Why not?

> I'm not even sure code to do what you're suggesting is possible in a portgroup. 

Why not?

Looks like portindex uses mportopen. I haven't tested it (yet), but a cursory look at the source seems to indicate that it should work.

The group file is basically just included into the portfile anyway.

> I think revbumps will have to continue to happen individually in each affected port.

I think it would actually make sense to just set the epoch in the p5 portgroup (say to something like YYYYMMDDxx). Then only ports that install perl modules that don't use the portgroup would need to be individually touched.

--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+





More information about the macports-dev mailing list