Date: Thu, 24 Feb 2011 03:51:29 +0800 From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: miwi@freebsd.org Cc: wen heping <wenheping@gmail.com>, python@freebsd.org Subject: Re: The final of python32 port Message-ID: <AANLkTike7itdzsL6A=kud-5S15oTU1gn5iUA=E9=shR7@mail.gmail.com> In-Reply-To: <AANLkTimbeN8ja5JsNGeANTPP7T3bMqm2D1dt=Dde25Qa@mail.gmail.com> References: <AANLkTim3iaYep3otYLNboc5z4OoELoHdnnHOYJ_hSL=N@mail.gmail.com> <20110221182003.GA87163@FreeBSD.cs.nctu.edu.tw> <AANLkTimbeN8ja5JsNGeANTPP7T3bMqm2D1dt=Dde25Qa@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 22, 2011 at 06:46, Martin Wilke <miwi@freebsd.org> 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 <lwhsu@freebsd.org> wrote:
>>
>> On Mon, Feb 21, 2011 at 22:48:43 +0800, wen heping wrote:
>> > Hi, all:
>> >
>> > I finished the python32 port and I attached the new bsd.python.mk and
>> > shar file of python32 here.
>> >
>> > One 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.
>> >
>> > Any comments and improvements are welcomed.
>> >
>>
>> I guess it's due to the size limitation of mailman, this mail doesn't show
>> up
>> on -python@ list. Since I received some private mails about python32
>> 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 <lwhsu AT FreeBSD.org>
>> 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
--
Li-Wen Hsu
http://lwhsu.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTike7itdzsL6A=kud-5S15oTU1gn5iUA=E9=shR7>
