public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Changing cpan repo in emerge
@ 2014-07-06 22:47 shawn wilson
  2014-07-07  9:27 ` Stroller
  2014-07-07 10:51 ` Alan McKinnon
  0 siblings, 2 replies; 5+ messages in thread
From: shawn wilson @ 2014-07-06 22:47 UTC (permalink / raw
  To: gentoo-user

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-07-07 13:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-06 22:47 [gentoo-user] Changing cpan repo in emerge shawn wilson
2014-07-07  9:27 ` Stroller
2014-07-07 10:32   ` shawn wilson
2014-07-07 10:51 ` Alan McKinnon
2014-07-07 13:31   ` Yohan Pereira

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox