From owner-freebsd-python@FreeBSD.ORG Wed Jun 10 21:29:42 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 28F22106564A; Wed, 10 Jun 2009 21:29:42 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id CE9848FC1B; Wed, 10 Jun 2009 21:29:34 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id A0BC9A0755; Wed, 10 Jun 2009 23:00:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 94303A0713; Wed, 10 Jun 2009 23:00:27 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 806BDA070C; Wed, 10 Jun 2009 23:00:27 +0200 (CEST) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2FP1HF166) with ESMTP id 2009061023002708-17153 ; Wed, 10 Jun 2009 23:00:27 +0200 Received: by wep4035 (sSMTP sendmail emulation); Wed, 10 Jun 2009 23:00:27 +0200 Date: Wed, 10 Jun 2009 23:00:27 +0200 From: Alexey Shuvaev To: Wesley Shields Message-ID: <20090610210027.GA82406@wep4035.physik.uni-wuerzburg.de> References: <20090610132647.GC40713@atarininja.org> MIME-Version: 1.0 In-Reply-To: <20090610132647.GC40713@atarininja.org> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.19 (2009-01-05) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2FP1HF166 | March 12, 2009) at 06/10/2009 11:00:27 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2FP1HF166 | March 12, 2009) at 06/10/2009 11:00:27 PM, Serialize complete at 06/10/2009 11:00:27 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de 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 21:29:42 -0000 On Wed, Jun 10, 2009 at 09:26:47AM -0400, Wesley Shields wrote: > 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 think using "-f" switch with portmaster is not correct as it will unconditionally rebuild all dependencies also (often up to perl :). 0.02$, Alexey.