1 |
Hi! |
2 |
|
3 |
Attached is a modified python ebuild (python-2.0-r4.ebuild) that will |
4 |
include the tkinter module if USE tcltk is set. I made three changes. |
5 |
|
6 |
First, Modules/Setup.in is sed'ed to uncomment the relevant tkinter |
7 |
lines if USE tcltk is set. |
8 |
|
9 |
Second, if USE tcltk is set, then idle is also installed in |
10 |
/usr/lib/python2.0/tools with a symlink of idle.py into /usr/bin |
11 |
|
12 |
Third, the Makefile that is installed in /usr/lib/python2.0/config is |
13 |
sed'ed to put the value of CFLAGS from /etc/make.conf into the OPT |
14 |
variable. This appears to be the Makefile that the setup.py from |
15 |
distutils calls when building and installing the python module |
16 |
extensions for any modules installed later. Note: there is probably a |
17 |
better way to do it such as putting OPT=$CFLAGS instead of the actual |
18 |
value. |
19 |
|
20 |
Constructive criticism is appreciated. |
21 |
|
22 |
tod |