tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Perl5 update



On Fri, 30 May 2014 18:57:09 +0900, Thomas Klausner <wiz%netbsd.org@localhost> 
wrote:

On Fri, May 30, 2014 at 09:42:32AM +0900, OBATA Akio wrote:
And following also should be done:
http://mail-index.netbsd.org/tech-pkg/2013/11/22/msg012262.html

I've done step 5 (or 1? what's the difference?) of that now -- for all
existing CONFLICTS lines, I've fixed the pattern to match the corelist
output. I had to remove one line because the package was removed from
core, and added one line, because it was added to core
(p5-experimental).

Thanks!

I don't understand the "old for" lines, so I didn't touch them. What
do they mean, can you please explain?

For example,

CONFLICTS+=    p5-CPAN-Meta<2.120921
#                       older for devel/p5-Module-CPANTS-Analyse

It means that CPAN::Meta in perl core is 2.120921, but
devel/p5-Module-CPANTS-Analyse require newer version (>=2.131490).

DEPENDS+=       p5-CPAN-Meta>=2.131490:../../devel/p5-CPAN-Meta

Now in perl5/Makefile,
CONFLICTS+=     p5-CPAN-Meta<2.140640

Then update dependency of devel/p5-Module-CPANTS-Analyse as following

DEPENDS+=       {perl>=5.19.1,p5-CPAN-Meta>=2.131490}:../../devel/p5-CPAN-Meta
(and drop "old for")

There are many more corelist changes than those for existing CONFLICTS
lines. How did you find out if any of them affect existing packages
when you last did that?

Find pkgsrc by name, ex, find IO::Compress::Gzip with p5-IO-Compress-Gzip.
If not found, try with p5-IO-Compress.
Then go to http://search.cpan.org/dist/IO-Compress/, and it is confirmed
that p5-IO-Compress contains IO::Compress::Gzip.
Moreover, it is noticed that this package also contains Compress::Zlib,
Then,
CONFLICTS+=    p5-IO-Compress<2.060            # IO::Compress::*, Compress::*

Are there volunteers for steps 2 and 3?

2: update p5-* packages that are now older than perl core (bulk builds
will tell us about them)

Yes, it should help us.

3: fix DEPENDS for packages depending on packages now in perl core

At least, for packages
* noted "older for" in lang/Makefile
* depending on modules removed from core
* depending on modules added to core

--
OBATA Akio / obata%lins.jp@localhost


Home | Main Index | Thread Index | Old Index