From owner-freebsd-ports@FreeBSD.ORG Wed Sep 29 20:57:22 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AC1A1065675 for ; Wed, 29 Sep 2010 20:57:22 +0000 (UTC) (envelope-from lynx.ripe@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 024CF8FC22 for ; Wed, 29 Sep 2010 20:57:21 +0000 (UTC) Received: by ywt2 with SMTP id 2so511329ywt.13 for ; Wed, 29 Sep 2010 13:57:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=qUP3lBHxIqbb0+cd6fwSbpioWf7xAEVWOLP5EBaujb4=; b=FGbkrUEfkbV1rnncpept/VzUFcrGmrYDYe8iGYQ4tG36bYEnTXzlUQpjLc2HqN8ho/ a6sUagGxQTv4UWkUuv7vkK6QHJNvzjTDAWO1X41Q0YqP/vq9cd1K3Qo2OCAfjXLFSu9D nb8NWxskqQuNV1Sbs/y538sG9iH2d9WoI30iQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xxbX28IDttRIQsre4QyfedlB1gnQJGsOCreh9q64R2i5Wg3H2s6s3fyogWHWmPNBcA 8y0eI30HQq7gs0Q9H/1B40RB3ZKvfKl516ma2sXMbgiSpqOsa4DrCMifV0vJwV4+9kFF QwTOAYZaxhQUAzW8traryXLIzcSmblV/qgA6E= MIME-Version: 1.0 Received: by 10.231.11.69 with SMTP id s5mr2442167ibs.38.1285793840859; Wed, 29 Sep 2010 13:57:20 -0700 (PDT) Received: by 10.231.85.197 with HTTP; Wed, 29 Sep 2010 13:57:20 -0700 (PDT) In-Reply-To: <4CA256B6.5090908@FreeBSD.org> References: <4CA256B6.5090908@FreeBSD.org> Date: Wed, 29 Sep 2010 23:57:20 +0300 Message-ID: From: Dmitry Pryanishnikov To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports@freebsd.org Subject: Re: Using portmaster with different PYTHON_VERSION X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 20:57:22 -0000 Hello! 2010/9/28 Doug Barton : >> Those packages (py26-httplib2 vs py31-httplib2) do not >> conflict (they may be used simultaneously, don't overwrite each >> other's files etc.). But they have single origin, which seems to >> confuse the portmaster: >> >> PYTHON_VERSION=3Dpython2.6 portmaster www/py-httplib2 >> =3D=3D=3D>>> =A0Installation of www/py-httplib2 (py26-httplib2-0.6.0) co= mplete >> PYTHON_VERSION=3Dpython3.1 portmaster www/py-httplib2 >> =3D=3D=3D>>> =A0Upgrade of py26-httplib2-0.6.0 to py31-httplib2-0.6.0 co= mplete > > I would also argue that there is a fundamental assumption in the ports > infrastructure that what you're doing here (installing both versions on t= he > same system) is not supported. The ability to make the version of things > like python or perl variable is a great feature of the ports infrastructu= re, > but my understanding has always been that this would be a system-wide > option, and that installing different versions of the same language on th= e > same system is not supported. What problems (besides no support in portmaster) can arise due to parallel use of Python 2 and Python 3 in the same FreeBSD system? I see none: the resulting packages (python{26,31}-* and py{26,31}-*) install files in different locations (they use e.g. /usr/local/lib/python2.6 vs /usr/local/lib/python3.1). Moreover; during the current stage of the Python's development there are legitimate reasons for using Python 2 for some projects and Python 3 for the rest ( http://wiki.python.org/moin/Python2orPython3 ). And I don't expect that this situation will change soon (changes in Python 3 are rather essential, so many packages will stay Python2-only for some time)... Well, as for me - it's not difficult to manage python2/3 packages using just plain ports infrastructure. Thanks for explanation! --=20 Sincerely, Dmitry nic-hdl: LYNX-RIPE