Gentoo Archives: gentoo-user

From: Tom Wijsman <TomWij@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to appoint python version for a package
Date: Wed, 02 Apr 2014 12:16:24
Message-Id: 20140402141545.18a6aff9@gentoo.org
In Reply to: [gentoo-user] How to appoint python version for a package by "林守磊"
1 On Wed, 2 Apr 2014 19:56:44 +0800
2 林守磊 <linxiulei@×××××.com> wrote:
3
4 > I just want emerge retext
5
6 Which version of retext are you trying to emerge?
7
8 > and run it by python3.3,
9
10 Python 3.3 is supported in retext 4.0.1-r2 and 4.1.1.
11
12 > how to set PYTHON_TAGETS just for this package
13
14 In package.use you can put:
15
16 app-editors/retext python_targets_python3_3
17
18 > If can't, tell me why python3.2 case problem below
19 ^^^
20
21 Did you intend to write 3.2 instead of 3.3 here?
22
23 > return u'[%s-%s]' % (unichr(a), unichr(b))
24 > ^
25 > SyntaxError: invalid syntax
26
27 Can you attach the complete build.log?
28
29 PS: Note that I'm the maintainer of app-editors/retext.
30
31 --
32 With kind regards,
33
34 Tom Wijsman (TomWij)
35 Gentoo Developer
36
37 E-mail address : TomWij@g.o
38 GPG Public Key : 6D34E57D
39 GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D