Gentoo Archives: gentoo-user

From: Wang Xuerui <idontknw.wang@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to appoint python version for a package
Date: Wed, 02 Apr 2014 12:30:12
Message-Id: CABK5mSbawY+pVKfqhesb1BBRBp4HR-uf_bu5s4CtqrR_GNGYOA@mail.gmail.com
In Reply to: Re: [gentoo-user] How to appoint python version for a package by Wang Xuerui
1 2014-04-02 20:26 GMT+08:00 Wang Xuerui <idontknw.wang@×××××.com>:
2 > 2014-04-02 19:56 GMT+08:00 林守磊 <linxiulei@×××××.com>:
3 >> return u'[%s-%s]' % (unichr(a), unichr(b))
4 > [snip]
5 > so the program will work in Python 3.3 but not 3.2
6
7 Oops, there is also unichr. Seems the program is Python 2.x only, in
8 which case you can try using package.env (google it) to override the
9 PYTHON_TARGETS variable (or really, any variable in the build
10 environment). Reporting to upstream is also welcomed, though.
11
12 Sorry for the noise~

Replies

Subject Author
Re: [gentoo-user] How to appoint python version for a package Tom Wijsman <TomWij@g.o>