Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-perl
Navigation:
Lists: gentoo-perl: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: "Gentoo-perl" <gentoo-perl@g.o>
From: "Beau E. Cox" <beaucox@...>
Subject: CPAN ebuild moans and groans
Date: Thu, 12 Jan 2006 23:32:18 -1000
Hi Michael et. al.

I have spent the last two days implementing an 'automatic'
CPAN module update system. I had a similar scheme when I
used Sorcerer and found it quite usefull. The idea is that
I maintain a mirror of CPAN with a daily rsync, and then
automatically build .ebuilds in my local PORTDIR, which then are
installed during the daily emerge --sync && emerge -uD world.
So far so good, but there are several bothersome gentoo
'conventions' I feel I want to air:

1) Who is it that made some CPAN builds lowercase (module-build,
not Module-Build, net-server not Net-Server)? Bad idea. It would
be easier (for my system, at least) to leave the names in the
CPAN form.

2) Lots of trouble with modules that indicate major versions
with 2 digits and minor revisions with four; Module-Build
for example:
  ...
  Module-Build-0.26
  Module-Build-0.2610
  Module-Build-0.2611
  Module-Build-0.27
  ...
I bypassed this problem by making my ebuild file names as
follows:
  Foo-Bar-1137143770.0.2611.ebuild
where 1137143770 is the 'epoch second' date of the tarball.
I can then be sure the order is correct and put code
in all ebuilds to get rid of the date-seconds:
  MY_PV=${PV:11}  and so on.

3) I pull my tarballs from my local mirror. I am using my
apache server to do this via SRC_URI="http://localhost/..."
But sometimes the request goes to my defined gentoo mirror
anyway. Why?

4) How about adding file:/// and rsync:// support for
SRC_URI?

-- 
Aloha => Beau;


-- 
gentoo-perl@g.o mailing list


Replies:
Re: CPAN ebuild moans and groans
-- Michael Cummings
Navigation:
Lists: gentoo-perl: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Specific example of make test failure returning $? of 0
Next by thread:
Re: CPAN ebuild moans and groans
Previous by date:
Re: [SOLVED]Specific example of make test failure returning $? of 0
Next by date:
Re: CPAN ebuild moans and groans


Updated Jun 17, 2009

Summary: Archive of the gentoo-perl mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.