Date: Fri, 11 Jan 2019 11:53:09 +0100 From: Mathieu Arnold <mat@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Re: py27 ./. py3 version of ports Message-ID: <20190111105309.wy6edzjyinewf3gz@atuin.in.mat.cc> In-Reply-To: <7315ac13-bf3d-c1f9-a048-0e2f0f0633a2@FreeBSD.org> References: <20190110100452.GA3582@c720-r342378> <6d03967e-5a46-f39b-318b-ab1bc4467dc9@FreeBSD.org> <20190110115841.GA4108@c720-r342378> <7315ac13-bf3d-c1f9-a048-0e2f0f0633a2@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--xxe6bzmwayj64mzr Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 10, 2019 at 01:00:27PM +0000, Matthew Seaman wrote: > On 10/01/2019 11:58, Matthias Apitz wrote: > > El d=EDa jueves, enero 10, 2019 a las 11:14:19a. m. +0000, Matthew Seam= an escribi=F3: > >=20 > > > 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: > > > >=20 > > > > $ ls -l /usr/PKGDIR.20181223/py27* | wc -l > > > > 157 > > > > $ ls -l /usr/PKGDIR.20181223/py3* | wc -l > > > > 4 > > > >=20 > > > > in my local repository? Perhaps I did something stupid wrong. > > > >=20 > > >=20 > > > 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 y= ou > > > 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. > > >=20 > > > 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=3Dyes to poudriere.conf > >=20 > > Thanks for the explanation and I'm fine with the py27 ports. > >=20 > > 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. > >=20 > > 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 p= ulled > > somehow in the standard py27 ports? >=20 > Sure. You can build the py36 ports you want in addition to the regular p= y27 > 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 sa= me > 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.) --=20 Mathieu Arnold --xxe6bzmwayj64mzr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAlw4dZVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD zkg92xAAgLPlHdAD8oQ3Fzyzv4KIU94FwBfOAebkMNC0Yk2W6nSTQ6ipF+AFB9WH J+s31hy46xd0eT/TzvzO8RBpkrtTPEnX0aWF10/VLV1SljMU3Kqq9yvHAgRHTvA5 G7WWe0uH5CK+CP7/YOPA/4NVnZH6eP0M8Cjm3nThX3vOjeZmm+kUvtED8Xlm2ejG Y5yTDa++uXecCeNyaLqI2zZhCoO7IVuJTEfw4Dg5lG7WSVTlf9IiazpLV05relVL rgmyUt1beas61979k8USE4J7JGcaAnMTakHqpT+FmhJZuXGvACaZ5bYdQ8puA2nj k4L3zdqplEB/wGoU4c5RBAyv6C6M0Qq1JR1eZxT0n6Q9HabcOHok0L/W9/eRgOry kk5p0A5fznMxvbVGYtfFX3Q87ww+cmV6XEtv00eh3kKR7z+pVpobQ1R8Ogea31f/ zcjWWKMKyVWSBqFE7aoPXmiALC+EIrFhc9CBJ9OvgtyV/4g0Qrf5gIbH2var9B9s wm7J/eF4M5mX/8BVYqBGfacNlxxSrvIbpkx+bL5nA0LyjnFE5MI9L06ReessfIfS naH/TNzJNg1ptHYrZ2ZeW9yDSgsNWeygvZuohwKrGVeC7P4EhXjJj+rqGuRCWWaW bN1mx/fhARqZ0VDfDWz2ziig8j10osUdHSUpLJypXvUfOm9dwVg= =BJdi -----END PGP SIGNATURE----- --xxe6bzmwayj64mzr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190111105309.wy6edzjyinewf3gz>