How do I change emerge/ebuild from using cpan to metacpan to a local repo?
I see mirror://cpan/foo and I figure SRC_URI gets scraped and changed
(I'm guessing this happens somewhere in python since I don't see
anything happening to SRC_URI in perl-module.eclass). I just want to
use metacpan for all of my packages, but I'm sure some would want to
use a local repo as well and I can't figure out how.
I tried using the old method of:
SRC_URI="mirror://www.metacpan.org/authors/id/K/KW/KWMAK/Chart/Gnuplot/${P}.tar.gz"
but that errors:
b89c521c6177 Chart-Gnuplot # ebuild Chart-Gnuplot-0.21.0.ebuild manifest
Appending /usr/local/src/gentoo-portage-overlay to PORTDIR_OVERLAY...
>>> Downloading
>>> 'http://distfiles.gentoo.org/distfiles/Chart-Gnuplot-0.21.tar.gz'
--2014-07-06 22:44:10--
http://distfiles.gentoo.org/distfiles/Chart-Gnuplot-0.21.tar.gz
Resolving distfiles.gentoo.org... 216.165.129.135, 156.56.247.195,
64.50.236.52, ...
Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-07-06 22:44:10 ERROR 404: Not Found.
!!! Couldn't download 'Chart-Gnuplot-0.21.tar.gz'. Aborting.
!!! Fetch failed for Chart-Gnuplot-0.21.tar.gz, can't update Manifest
Maybe there's two questions here - first being why it's looking at
distfiles.gentoo.org instead of the SRC_URI I provided and how to
change where cpan points.