Gentoo Archives: gentoo-devhelp

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-devhelp@l.g.o
Subject: Re: [gentoo-devhelp] Re: package.env files error: unexpected EOF while looking for matching `}'
Date: Sun, 03 Jun 2012 18:25:48
Message-Id: 4FCBAC22.6000007@orlitzky.com
In Reply to: [gentoo-devhelp] Re: package.env files error: unexpected EOF while looking for matching `}' by Nikos Chantziaras
On 06/03/12 11:58, Nikos Chantziaras wrote:
> On 03/06/12 18:03, Michael Orlitzky wrote: >> >> Looks like you're getting the make.conf-like parser instead of the >> bashrc one. > > Simple assignment is the *only* thing that parser can do? >
I think it can do a little bit more, but not much. It's using Python's shlex module, and then checking for specific cases. It can handle simple variable substitution, it looks like. And maybe sourcing and 'export'. But that's about it.