From owner-freebsd-ports@FreeBSD.ORG Wed Jun 10 15:58:44 2009 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 3D441106567C for ; Wed, 10 Jun 2009 15:58:44 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from mail-pz0-f197.google.com (mail-pz0-f197.google.com [209.85.222.197]) by mx1.freebsd.org (Postfix) with ESMTP id 1179E8FC20 for ; Wed, 10 Jun 2009 15:58:38 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by pzk35 with SMTP id 35so148820pzk.3 for ; Wed, 10 Jun 2009 08:58:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=TR8/YxBYls48H1n5mNimmmXxit82AkzNVy8qcoUjh0s=; b=hZAlXwOOmrhRl/SGJwSj/kbQ42ZKQgWROq0lHh6bpjdd/28z4fn7tc6F72Pr9IQxcs 2vjqq56IlOWSQO+LwtqYex+7SmE2k9PyIomoyq9+ZpU2BzTmnuI0yUelSmFJuc2/nfW+ 9pB7EIe3ZDBmHZ8oiQCYQZgGGjV1MGwnrmIr8= 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=RTNU7GLHkYq2aDRGXW9mxpzN9JOcYnSpZQRJms+mBWFKxn5Tt1/lasenFBG3KY4CT/ Uoq7ku1+BQ1AjwQG1jLwzoXOowgePCMpFFXOTy/MEIiGJ3v0V4XXEjRFGVX9PTU5ApqL rHfsAHwg2LVaKSddnKWKobXQjDs/nDmjL7DsM= MIME-Version: 1.0 Received: by 10.220.97.67 with SMTP id k3mr1140411vcn.7.1244648117653; Wed, 10 Jun 2009 08:35:17 -0700 (PDT) In-Reply-To: <20090610112945.232dc33b@scorpio> References: <20090610132647.GC40713@atarininja.org> <20090610112945.232dc33b@scorpio> Date: Wed, 10 Jun 2009 17:35:17 +0200 Message-ID: From: Rene Ladan To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Python 2.6 update with portmaster 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, 10 Jun 2009 15:58:45 -0000 2009/6/10 Jerry : > On Wed, 10 Jun 2009 16:44:41 +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. >> >>Regards, >>Ren=E9 > > IMHO, it seems like there is a lot of energy being spent on this rather > trivial problem. Why not just use the 'portupgrade' solution and be > done with it. This is not like it happens everyday. After all, it is > only one port. Installing portupgrade just for this sounds like an overhead too, plus it needs to build all kinds of databases for only this occasion. It is not part of the base system either (neither is portmaster), and I thi= nk both are widely used. Ren=E9 --=20 http://www.rene-ladan.nl/ GPG fingerprint =3D E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)