From owner-freebsd-python@FreeBSD.ORG Wed Jun 10 15:12:13 2009 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D9F7106566B; Wed, 10 Jun 2009 15:12:13 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 16FC08FC08; Wed, 10 Jun 2009 15:12:12 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 5E79C5C37; Wed, 10 Jun 2009 11:12:12 -0400 (EDT) Date: Wed, 10 Jun 2009 11:12:12 -0400 From: Wesley Shields To: Rene Ladan Message-ID: <20090610151212.GB61383@atarininja.org> References: <20090610132647.GC40713@atarininja.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Cc: ports@freebsd.org, python@freebsd.org, miwi@freebsd.org Subject: Re: Python 2.6 update with portmaster X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2009 15:12:13 -0000 On Wed, Jun 10, 2009 at 04:44:41PM +0200, Rene Ladan wrote: > 2009/6/10 Wesley Shields : > > Here's a patch[1] that allows you to use portmaster when doing the python > > upgrade. I intend to commit this tomorrow morning unless someone speaks > > up. I'll also be adding the instructions to the UPDATING entry. > > > > Once applied you should be able to use: > > > > cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER > > > > It will be quite slow compared to using pkg_which (the normal method) so > > be patient. I've used this patch to upgrade one lightly used machine and > > I know at least one other person has survived an upgrade of a machine > > with over 1000 ports installed. > > > > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff > > > I applied the patch, but there is something wrong: > > > # make upgrade-site-packages -DUSE_PORTMASTER > > Syntax error: end of file unexpected (expecting "}") > > *** Error code 2 > > > > Stop in /usr/ports/lang/python. Sorry, updated the patch to address this. Please revert and try again. -- WXS