1 |
How do I change emerge/ebuild from using cpan to metacpan to a local repo? |
2 |
|
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. |
8 |
|
9 |
I tried using the old method of: |
10 |
SRC_URI="mirror://www.metacpan.org/authors/id/K/KW/KWMAK/Chart/Gnuplot/${P}.tar.gz" |
11 |
|
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 'http://distfiles.gentoo.org/distfiles/Chart-Gnuplot-0.21.tar.gz' |
16 |
--2014-07-06 22:44:10-- |
17 |
http://distfiles.gentoo.org/distfiles/Chart-Gnuplot-0.21.tar.gz |
18 |
Resolving distfiles.gentoo.org... 216.165.129.135, 156.56.247.195, |
19 |
64.50.236.52, ... |
20 |
Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected. |
21 |
HTTP request sent, awaiting response... 404 Not Found |
22 |
2014-07-06 22:44:10 ERROR 404: Not Found. |
23 |
|
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 |
26 |
|
27 |
Maybe there's two questions here - first being why it's looking at |
28 |
distfiles.gentoo.org instead of the SRC_URI I provided and how to |
29 |
change where cpan points. |