FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Portage Developer

 
 
LinkBack Thread Tools
 
Old 11-28-2008, 10:17 AM
Zhang Le
 
Default a little patch related to arrow in SRC_URI

Hi, all,

It seems that arrow in SRC_URI needs a little patch in order to work.
Please check the attachment.
Thanks!

Zhang, Le
Index: pym/portage/__init__.py
================================================== =================
--- pym/portage/__init__.py (revision 12119)
+++ pym/portage/__init__.py (working copy)
@@ -3991,7 +3991,7 @@
variables = {
"DISTDIR": mysettings["DISTDIR"],
"URI": loc,
- "FILE": myfile
+ "FILE": myfile_path
}
import shlex, StringIO
lexer = shlex.shlex(StringIO.StringIO(locfetch), posix=True)
 
Old 11-28-2008, 05:53 PM
Zac Medico
 
Default a little patch related to arrow in SRC_URI

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zhang Le wrote:
> It seems that arrow in SRC_URI needs a little patch in order to work.

Well, your patch doesn't work with the current default FETCHCOMMAND.
Instead of patching portage, you should adjust your FETCHCOMMAND
and RESUMECOMMAND to save the file at ${DISTDIR}/${FILE} like the
current defaults do.
- --
Thanks,
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkkwPhAACgkQ/ejvha5XGaO0ygCgnKXfAYB/03SGnDTeL0R6HRWR
fi0AnAqNiqBCdCfMNbiIMmPHM9OgkXIG
=cuEg
-----END PGP SIGNATURE-----
 
Old 11-28-2008, 06:16 PM
Zhang Le
 
Default a little patch related to arrow in SRC_URI

On 10:53 Fri 28 Nov , Zac Medico wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Zhang Le wrote:
> > It seems that arrow in SRC_URI needs a little patch in order to work.
>
> Well, your patch doesn't work with the current default FETCHCOMMAND.
> Instead of patching portage, you should adjust your FETCHCOMMAND
> and RESUMECOMMAND to save the file at ${DISTDIR}/${FILE} like the
> current defaults do.

oops, my bad, thank you, Zac, for pointing this out.

Zhang, Le
 

Thread Tools




All times are GMT. The time now is 05:24 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org