Opened 8 years ago

Last modified 20 months ago

#51535 new defect

perl5 portgroup: revise version numbering — at Version 1

Reported by: mojca (Mojca Miklavec) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: portgroup Cc: devans@…
Port:

Description (last modified by mojca (Mojca Miklavec))

At some point it would be nice to revise the version numbers for Perl ports.

There are some "annoying" ports like p5-pod-readme which use v1.1.2 as version string (the letter "v" being part of the version string).

This means that comparisons should be different. Perl devs say that:

  • v1.10 > v1.9, but
  • 1.10 < 1.9

I should double-check how that is in MacPorts.

The advice would be to switch to different numbers altogether and use versions like 1.001002 rather than "1.1.2" for any version comparison.

Plus, they would specify something like

perl5.setup HTML-Formatter 2.014 NIGELM/HTML-Formatter-2.14.tar.gz

where the full dist name would be part of the specification.

The upstream information should come from https://metacpan.org.

See also #50000 and https://metacpan.org/pod/Gentoo::PerlMod::Version#gentooize_version.

Change History (1)

comment:1 Changed 8 years ago by mojca (Mojca Miklavec)

Description: modified (diff)
Note: See TracTickets for help on using tickets.