From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=DATE_IN_PAST_24_48,DMARC_NONE, INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from four.fidnet.com ([205.216.200.54] helo=mail.fidnet.com) by cvs.gentoo.org with smtp (Exim 3.30 #1) id 15KWpq-0002qR-00 for gentoo-dev@cvs.gentoo.org; Wed, 11 Jul 2001 21:08:15 -0600 Received: (qmail 11298 invoked from network); 12 Jul 2001 03:07:19 -0000 Received: from unknown (HELO fidnet.com) (216.229.82.7) by 0 with SMTP; 12 Jul 2001 03:07:19 -0000 Message-ID: <3B4D1522.1C11B719@fidnet.com> From: "Tod M. Neidt" X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.4-ac5 i686) X-Accept-Language: en MIME-Version: 1.0 To: "gentoo-dev@cvs.gentoo.org" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [gentoo-dev] Re: ebuild for pychecker Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Wed Jul 11 21:09:02 2001 X-Original-Date: Wed, 11 Jul 2001 22:10:26 -0500 X-Archives-Salt: 9420695a-691c-43c7-b269-8fbc904d24cf X-Archives-Hash: 33746afb3d79c15b12adfb34e82e1c01 Hi! >I had one question though. In the 'Numeric' ebuild there's a line >'PYTHON_VERSION=', what is that for? Sorry. This is my bad. :( It does nothing. I forgot to comment it out. The idea was to grab the current python version, so the ebuild would know where to put any "extras" I wanted it to install that were not automatically installed by setup.py. (this was in anticipation of a working python2.1 so the module ebuild would not have to be updated if the core python version was updated) Now that I think about it more. PYTHON_VERSION='python -c "import sys; print sys.version[:3]"' will give the version of the current running python. Then for example, the last line of the Numeric ebuild could have been mv Demo/NumTut ${D}/usr/lib/python${PYTHON_VERSION}/site-packages/ However, the "best" solution would probably be to sed setup.py and/or setup.cfg (although numeric-19.0 doesn't have this) to include any additional files you would like to install. tod I'm a good kid, just a little slow.