Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2019 12:58:41 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: py27 ./. py3 version of ports
Message-ID:  <20190110115841.GA4108@c720-r342378>
In-Reply-To: <6d03967e-5a46-f39b-318b-ab1bc4467dc9@FreeBSD.org>
References:  <20190110100452.GA3582@c720-r342378> <6d03967e-5a46-f39b-318b-ab1bc4467dc9@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

Thanks

	matthias

-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, Druschba
instead of Nazis, to live instead of to survive.



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