From owner-freebsd-gnome@FreeBSD.ORG Tue Jan 23 20:02:02 2007 Return-Path: X-Original-To: gnome@FreeBSD.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 39E7E16A401; Tue, 23 Jan 2007 20:02:02 +0000 (UTC) (envelope-from alexbl@FreeBSD.org) Received: from cherenkov.geekfire.com (cherenkov.geekfire.com [66.206.86.94]) by mx1.freebsd.org (Postfix) with ESMTP id 1B8C313C459; Tue, 23 Jan 2007 20:02:01 +0000 (UTC) (envelope-from alexbl@FreeBSD.org) Received: from localhost.my.domain (c038h213.dorm.reed.edu [134.10.38.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by cherenkov.geekfire.com (Postfix) with ESMTP id 8E47139F92; Tue, 23 Jan 2007 11:59:33 -0800 (PST) From: Alexander Botero-Lowry To: pav@FreeBSD.org In-reply-to: <1169578314.3659.6.camel@ikaros.oook.cz> References: <20070123104738.GA41157@qlovarnika.bg.datamax> <1169549704.6221.10.camel@pav.hide.vol.cz> <20070123112924.4023339F66@cherenkov.geekfire.com> <1169558939.6221.32.camel@pav.hide.vol.cz> <20070123183158.CD86E39C4C@cherenkov.geekfire.com> <1169578314.3659.6.camel@ikaros.oook.cz> Comments: In-reply-to Pav Lucistnik message dated "Tue, 23 Jan 2007 19:51:54 +0100." Date: Tue, 23 Jan 2007 12:01:38 -0800 Sender: alex@localhost X-Peer: 127.0.0.1 Message-Id: <20070123195937.8E47139F92@cherenkov.geekfire.com> Cc: gnome@FreeBSD.org, Alexander Botero-Lowry , vd@FreeBSD.org, python@FreeBSD.org, ports-developers@FreeBSD.org Subject: Re: The way to fix ports/104560 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2007 20:02:02 -0000 > > > Alexander Botero-Lowry p=3DED=3DB9e v =3DFAt 23. 01. 2007 v 03:31 -0800= > : > > > > > > Please take a look at ports/104560 (and also ports/105853 and > > > > > > ports/106120) and come to a consensus what is the right way to fi= > x th=3D > > > is > > > > > > issue. > > > > > >=3D3D20 > > > > > > I am sure we can come to an agreement and shortly commit a fix. > > > > >=3D20 > > > > > As I see it: > > > > >=3D20 > > > > > - lang/python metaport must be removed > > > > > - all lang/python2? ports will install $PREFIX/bin/python binary > > > > >=3D20 > > > > > How that sounds? > > > > >=3D20 > > > > > Or if people absolutely need to have several different pythons on a > > > > > system, make the bin/python automatical symlink, like in perl ports= > . > > >=20 > > > > This fails to deal with installing the site-packages in the appropria= > te > > > > site-package directories. > > >=20 > > > How so? You don't need to have interpreter called python2.5 to install > > > into 2.5's sitelibdir. > > > You absolutely do. THe pyc and pyo files are part of the package list and > > have to be generated by the installation process. So you must have python= > 2.5 > > to install to the python 2.5 site-packages. > > Unless your bin/python is actually 2.5 python. > > I see two possible ways out: > > 1) patch a lot of python using ports to call ${PYTHON} instead of python [SNIP] > Approach number one takes a lot of patching. Approach number two imposes > an administrative burden on end users. I think you're far overestimating the number of ports that don't use USE_PYDISTUTILS (which uses ${PYTHON}.) It is I guarentee the most common way to install A python port, and I will go out on a limb and say there are no more than 30 ports that install otherwise (a guess to be sure, but I can't imagine it's a very high number).