Gentoo Archives: gentoo-dev

From: Torsten Veller <ml-en@××××××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-python/gnome-python-extras: ChangeLog gnome-python-extras-2.19.1-r1.ebuild
Date: Sat, 13 Oct 2007 09:24:02
Message-Id: 20071013110533.TA3b5cd.tv@veller.net
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-python/gnome-python-extras: ChangeLog gnome-python-extras-2.19.1-r1.ebuild by Donnie Berkholz
1 * Donnie Berkholz <dberkholz@g.o>:
2 > On 10:44 Sat 13 Oct , Torsten Veller wrote:
3 > > * Donnie Berkholz <dberkholz@g.o>:
4 > > > python_mod_optimize() and python_mod_cleanup() already tag ROOT on,
5 > >
6 > > python_mod_optimize() does not.
7 >
8 > Mine does:
9 >
10 > python_mod_optimize() {
11 > local myroot
12 > # strip trailing slash
13 > myroot="${ROOT%/}"
14 >
15 > ...
16 >
17 > ebegin "Byte compiling python modules for python-${PYVER} .."
18 python${PYVER} ${myroot}/usr/$(get_libdir)/python${PYVER}/compileall.py ${compileopts} $@
19 python${PYVER} -O ${myroot}/usr/$(get_libdir)/python${PYVER}/compileall.py ${compileopts} $@
20 > eend $?
21 > }
22
23 No. The arguments of python_mod_optimize are just passed to the ROOTed compileall.py.
24 --
25 .: Torsten Veller | :.
26 --
27 gentoo-dev@g.o mailing list

Replies