From owner-freebsd-python@FreeBSD.ORG Wed Feb 23 20:15:15 2011 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 D6DBE106566B; Wed, 23 Feb 2011 20:15:15 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7AE098FC0A; Wed, 23 Feb 2011 20:15:15 +0000 (UTC) Received: by qwj8 with SMTP id 8so2090009qwj.13 for ; Wed, 23 Feb 2011 12:15:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=8gNoL6/0mZ6dpgX0sLS8t1TUVJEAOVjVwnKSWFsuIhQ=; b=GOI8dxHdu/w1XY79q5V/97bEEZBGQGo2WqAJ3MFxPOgxBMltMPt/sUmi6OuUxgoU3F S94VI6ZcNfNYB0gtJMlgfjKXem5yTyOMe6IOu5XSfKh7OqwTg2Lelkqkco9CQAMi4Z6A bdXs7AfkrfDyt8Hd9g2Du//yaQHtAcPXX7ih8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=qtpzpcm0AqxnJVFibTTsXeHFVXf+x0oNaZM4u9WT4E4fhIzUPD3H9zr7v6EWXpsk8f 5d2fDSdEPnVvDUTe7DgLlMzTrP0SDNSaOZ6aeEMxQ+leKqmsDN+nH1uyOZL4QQqfkV5H Rv/jiiyV+i7CUfyJ/NelqEgRVp7rDnl2s41+U= MIME-Version: 1.0 Received: by 10.224.204.137 with SMTP id fm9mr3897809qab.199.1298490690331; Wed, 23 Feb 2011 11:51:30 -0800 (PST) Sender: lwhsu.freebsd@gmail.com Received: by 10.229.41.148 with HTTP; Wed, 23 Feb 2011 11:51:29 -0800 (PST) In-Reply-To: References: <20110221182003.GA87163@FreeBSD.cs.nctu.edu.tw> Date: Thu, 24 Feb 2011 03:51:29 +0800 X-Google-Sender-Auth: 27GtVo6Fd5YtG5ZxPgfKhI6_uyo Message-ID: From: Li-Wen Hsu To: miwi@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: wen heping , python@freebsd.org Subject: Re: The final of python32 port 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, 23 Feb 2011 20:15:16 -0000 On Tue, Feb 22, 2011 at 06:46, Martin Wilke wrote: > so far is ok with me, but i still feel the include vodoo is wrong. > > On Tue, Feb 22, 2011 at 2:20 AM, Li-Wen Hsu wrote: >> >> On Mon, Feb 21, 2011 at 22:48:43 +0800, wen heping wrote: >> > Hi, all: >> > >> > =C2=A0 =C2=A0I finished the python32 port and I attached the new bsd.p= ython.mk and >> > shar file of python32 here. >> > >> > =C2=A0 =C2=A0One of my change is that I remove the code which generate= the .pyc >> > and >> > .pyo file name by the .py file name into ${PLIST}. It could reduce the >> > size of >> > pk-plist file, but It also bring inconvenient to maintain the port. >> > >> > =C2=A0 =C2=A0Any comments and improvements are welcomed. >> > >> >> I guess it's due to the size limitation of mailman, this mail doesn't sh= ow >> up >> on -python@ list. =C2=A0Since I received some private mails about python= 32 >> updating, I'll point they to this list and put wen's files at: >> >> http://people.freebsd.org/~lwhsu/python32/ >> >> (hope wen would not mind ;-) >> >> Currently I don't have time look into them, though.... >> >> -- >> Li-Wen Hsu >> http://lwhsu.org > > I still don't have time to take a deep look into python32 port until this weekend (and maybe I will still be busy in the weekend....) Here I just took some quick modifications to this port: Patch: http://people.freebsd.org/~lwhsu/python32.diff - Finish removal PLIST trick and OpenSSL 0.9.8 detection, currently this port will generate and leave pkg-plist.tmp in /usr/ports/lang/python32 while installing. (I think we can check OpenSSL in supported FreeBSD version. if all are greater than or equal to 0.9.8, I think it's safe to remove) - Add some PLIST_SUB anchors, which do: * Not being conflict with default python version (the one installed as /usr/local/bin/python) * Make life easier for later 3.2.x (and higher) updates (this) * Add NO_NIS back (2nd change might not be needed, but I like this style and I thought it is good for the future, but we can always do it later when we really need it :-) Please feel free to have your comment, I plan to commit this on Friday. Thanks, Li-Wen --=20 Li-Wen Hsu http://lwhsu.org