On 10/01/2019 11:58, Matthias Apitz wrote:
El día jueves, enero 10, 2019 a las 11:14:19a. m. +0000, Matthew Seaman 
escribió:

On 10/01/2019 10:04, Matthias Apitz wrote:
I've compiled on CURRENT the ports of December 23 from SVN with my
poudriere oven. ANd I have nothing set about FLAVOR in make.conf for
python. Why d I habe now some 157 py27 ports and only 4 py3:

$ ls -l /usr/PKGDIR.20181223/py27* | wc -l
       157
$ ls -l /usr/PKGDIR.20181223/py3* | wc -l
         4

in my local repository? Perhaps I did something stupid wrong.


Python 2.7 is still the default in ports -- that's the flavour you're
going to get unless you say otherwise.  You'ld get py36 flavours if you
had something that was python36 specific on your build list, or you'ld
configured some ports to build that way in the list of what you want
poudriere to build by appending @py36 to the port name.

You can get poudriere to generate packages for all of the different
standard(*) flavours by appending '@all' to the port name you give as
input to poudriere, or to build absolutely all standard flavours for
everything by adding FLAVOR_DEFAULT_ALL=yes to poudriere.conf

Thanks for the explanation and I'm fine with the py27 ports.

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.

        Cheers,

        Matthew

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to