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:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205807
https://reviews.freebsd.org/D4758
_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to