Gentoo Archives: gentoo-dev

From: "Tod M. Neidt" <tneidt@××××××.com>
To: "gentoo-dev@××××××××××.org" <gentoo-dev@××××××××××.org>
Subject: [gentoo-dev] python ebuild: use tcltk
Date: Sun, 24 Jun 2001 23:41:21
1 Hi!
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.
6 First, Modules/ is sed'ed to uncomment the relevant tkinter
7 lines if USE tcltk is set.
9 Second, if USE tcltk is set, then idle is also installed in
10 /usr/lib/python2.0/tools with a symlink of into /usr/bin
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 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.
20 Constructive criticism is appreciated.
22 tod


File name MIME type
python-2.0-r4.ebuild text/plain


Subject Author
Re: [gentoo-dev] python ebuild: use tcltk Daniel Robbins <drobbins@g.o>
Re: [gentoo-dev] premature posting :) "Tod M. Neidt" <tneidt@××××××.com>