From owner-freebsd-python@FreeBSD.ORG Mon Feb 23 07:49:01 2004 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9824116A4CE for ; Mon, 23 Feb 2004 07:49:01 -0800 (PST) Received: from postman.arcor.de (postman2.arcor-online.net [151.189.0.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F47443D2D for ; Mon, 23 Feb 2004 07:49:01 -0800 (PST) (envelope-from eikemeier@fillmore-labs.com) Received: from fillmore.dyndns.org (port-212-202-51-138.reverse.qsc.de [212.202.51.138]) (authenticated bits=0)i1NFmwf5008158 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 23 Feb 2004 16:48:58 +0100 (MET) Received: from [172.16.0.2] (helo=fillmore-labs.com) by fillmore.dyndns.org with esmtp (Exim 4.30; FreeBSD) id 1AvIKF-000FYD-Sa; Mon, 23 Feb 2004 16:48:55 +0100 Message-ID: <403A20E7.8080506@fillmore-labs.com> Date: Mon, 23 Feb 2004 16:48:55 +0100 From: Oliver Eikemeier Organization: Fillmore Labs GmbH - http://www.fillmore-labs.com/ MIME-Version: 1.0 To: Hye-Shik Chang References: <40387643.9040805@fillmore-labs.com> <20040223153219.GA92513@i18n.org> In-Reply-To: <20040223153219.GA92513@i18n.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: KMail/1.5.9 cc: FreeBSD Python cc: Khairil Yusof Subject: Re: USE_ZOPE vs. python modules X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 15:49:01 -0000 Hye-Shik Chang wrote: > On Sun, Feb 22, 2004 at 10:28:35AM +0100, Oliver Eikemeier wrote: > > [...] > > I'd like to see updating www/zope to 2.7 as soon as possible. I > heard that 2.7 has enough backward-compatibility and we can avoid > the problem then. Because current port infrastructure doesn't allow > multiple installations from a same origin, we'll need to introduce > "instance" concept for pkgdb. eg. > > this line on Makefile > > PYTHON_INSTALL_PERVERSION= yes You don't want to have a variable named like that ;) > applies bsd.python.mk > > .ifdef PYTHON_PERVERSION_INSTALLATION > PKGINSTANCE= ${PYTHON_VERSION} > .endif > > then check-already-installed target of bsd.pkg.mk checks > @comment INSTANCE:python2.3 > and if current port has different instance string, allows further > installation phases. > > This is still a rough sketch. And I think "instance" concept will > be useful for apache/perl/ruby ports, too. What do you think on > this? It looks like you need extensive patches for this, especially to the pkg_install in the base system, so this solution won't happen soon and is not backwards compatible to older systems. Apache and perl ports normally conflicts, so there can be only one, and you can solve it by requiring the port you want to live with. The point is that defaults should not change, depending on other options that can change during the build. Defaulting to different perl versions depending on OSREL is ok, since this doesn't change. Defaulting to different python versions depending on USE_ZOPE is problematic. Regards Oliver