The final of python32 port

Li-Wen Hsu lwhsu at FreeBSD.org
Wed Feb 23 20:15:16 UTC 2011


On Tue, Feb 22, 2011 at 06:46, Martin Wilke <miwi at 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 at 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


More information about the freebsd-python mailing list