public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] a little patch related to arrow in SRC_URI
@ 2008-11-28 11:17 Zhang Le
  2008-11-28 18:53 ` Zac Medico
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang Le @ 2008-11-28 11:17 UTC (permalink / raw
  To: gentoo-portage-dev

[-- Attachment #1: Type: text/plain, Size: 128 bytes --]

Hi, all,

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

Zhang, Le

[-- Attachment #2: SRC_URI-arrow.patch --]
[-- Type: text/plain, Size: 452 bytes --]

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)

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

* Re: [gentoo-portage-dev] a little patch related to arrow in SRC_URI
  2008-11-28 11:17 [gentoo-portage-dev] a little patch related to arrow in SRC_URI Zhang Le
@ 2008-11-28 18:53 ` Zac Medico
  2008-11-28 19:16   ` Zhang Le
  0 siblings, 1 reply; 3+ messages in thread
From: Zac Medico @ 2008-11-28 18:53 UTC (permalink / raw
  To: gentoo-portage-dev

-----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-----



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

* Re: [gentoo-portage-dev] a little patch related to arrow in SRC_URI
  2008-11-28 18:53 ` Zac Medico
@ 2008-11-28 19:16   ` Zhang Le
  0 siblings, 0 replies; 3+ messages in thread
From: Zhang Le @ 2008-11-28 19:16 UTC (permalink / raw
  To: gentoo-portage-dev

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



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

end of thread, other threads:[~2008-11-28 19:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-28 11:17 [gentoo-portage-dev] a little patch related to arrow in SRC_URI Zhang Le
2008-11-28 18:53 ` Zac Medico
2008-11-28 19:16   ` Zhang Le

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