Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2016 03:30:48 +1100
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        clutton <clutton@zoho.com>, freebsd-python@freebsd.org
Subject:   Re: pkg-plist %%PYVER%%.%%PYOEXTENSION%% handling. patch included, feedback needed
Message-ID:  <568A9E38.3000305@FreeBSD.org>
In-Reply-To: <1451922616.31882.32.camel@zoho.com>
References:  <1451920422.31882.24.camel@zoho.com> <568A8F12.2090006@FreeBSD.org> <1451921751.31882.26.camel@zoho.com> <568A91BF.5080306@FreeBSD.org> <1451922616.31882.32.camel@zoho.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/01/2016 2:50 AM, clutton wrote:
> On Tue, 2016-01-05 at 02:37 +1100, Kubilay Kocak wrote:
>> On 5/01/2016 2:35 AM, clutton wrote:
>>> On Tue, 2016-01-05 at 02:26 +1100, Kubilay Kocak wrote:
>>>> On 5/01/2016 2:13 AM, clutton wrote:
>>>>> Hi list.
>>>>>
>>>>> As I can see there are two ways of doing pkg-plist routine.
>>>>>
>>>>> For pkg-plist which was made for python2 just including
>>>>> USE_PYTHON=	
>>>>> py3kplist would do the trick.
>>>>>
>>>>> For new python3 ports it's not so straight forward, and when
>>>>> they
>>>>> don't
>>>>> use setup.py conventions people usually do something like this:
>>>>>
>>>>> .if ${PYTHON_REL} < 3500
>>>>> PYOEXTENSION=	pyo
>>>>> .else
>>>>> PYOEXTENSION=	opt-1.pyc
>>>>> .endif
>>>>>
>>>>> PLIST_SUB+=	PYOEXTENSION=${PYOEXTENSION} \
>>>>> 		PYVER=${PYTHON_VER:S/.//}
>>>>>
>>>>>
>>>>
>>>> Currently an in-progress issue:
>>>
>>> I see. The name convention and approach are even better then my.
>>> Thank you.
>>>
>>
>> You're welcome, and feel free to add your thoughts/comments to that
>> issue as well.
>>
>> ./koobs
> 
> Only porters-handbook updating, as soon it'll be commited. Handbook
> always goes behind ports tree and sometime it's hard to follow for
> people who contribute occasionally.
> 

That's the nature of a fast moving beast :)

You're welcome to join us on IRC (#freebsd-python) freenode if you like,
most of the FreeBSD/Python team is there, and there's always something
happening :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?568A9E38.3000305>