On Fri, Jan 11, 2019 at 02:40:02PM +0100, Matthias Apitz wrote: > El día viernes, enero 11, 2019 a las 11:53:09a. m. +0100, Mathieu Arnold > escribió: > > > > > The background for my question is: I'm porting an AI system > > > > https://community.mycroft.ai/t/mycroft-on-freebsd/5119/8 > > > > to CURRENT which is written for Linux and make excessive use of Python3. > > > > > > > > What I have to set in poudriere to get some required py3 packages built > > > > as > > > > well, but WITHOUT changing the dependency for my ~2000 packages which > > > > pulled > > > > somehow in the standard py27 ports? > > > > > > Sure. You can build the py36 ports you want in addition to the regular > > > py27 > > > ones. Just add the port name(s) to your build list appended with '@py36'. > > > It's generally safe to have both python27 and python36 packages of the > > > same > > > module installed simultaneously -- just remember to use 'python3' on the > > > command line or in shebangs. > > > > python3.6. python3 is only there if you install the lang/python3 port. > > (Which you probably should not.) > > The above software in question needs python3 which I do have installed. > Why I should not?
If it is only on your local machine, it is absolutely not a problem. On the other hand, if you are porting an application, python3 is not a valid shebang, and you must use USES=shebangfix to fix the offending files. -- Mathieu Arnold
signature.asc
Description: PGP signature