Gentoo Archives: gentoo-user

From: shawn wilson <×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Changing cpan repo in emerge
Date: Sun, 06 Jul 2014 22:47:48
1 How do I change emerge/ebuild from using cpan to metacpan to a local repo?
3 I see mirror://cpan/foo and I figure SRC_URI gets scraped and changed
4 (I'm guessing this happens somewhere in python since I don't see
5 anything happening to SRC_URI in perl-module.eclass). I just want to
6 use metacpan for all of my packages, but I'm sure some would want to
7 use a local repo as well and I can't figure out how.
9 I tried using the old method of:
10 SRC_URI="mirror://${P}.tar.gz"
12 but that errors:
13 b89c521c6177 Chart-Gnuplot # ebuild Chart-Gnuplot-0.21.0.ebuild manifest
14 Appending /usr/local/src/gentoo-portage-overlay to PORTDIR_OVERLAY...
15 >>> Downloading ''
16 --2014-07-06 22:44:10--
18 Resolving,,
19, ...
20 Connecting to||:80... connected.
21 HTTP request sent, awaiting response... 404 Not Found
22 2014-07-06 22:44:10 ERROR 404: Not Found.
24 !!! Couldn't download 'Chart-Gnuplot-0.21.tar.gz'. Aborting.
25 !!! Fetch failed for Chart-Gnuplot-0.21.tar.gz, can't update Manifest
27 Maybe there's two questions here - first being why it's looking at
28 instead of the SRC_URI I provided and how to
29 change where cpan points.


Subject Author
Re: [gentoo-user] Changing cpan repo in emerge Stroller <stroller@××××××××××××××××××.uk>
Re: [gentoo-user] Changing cpan repo in emerge Alan McKinnon <alan.mckinnon@×××××.com>