From owner-freebsd-ports@freebsd.org Fri Jan 11 10:53:13 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1DEB1489E3D for ; Fri, 11 Jan 2019 10:53:12 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 75BC193796 for ; Fri, 11 Jan 2019 10:53:12 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from atuin.in.mat.cc (unknown [IPv6:2a01:678:42:ffff:3e15:c2ff:fec4:452e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 2AEFC1C048 for ; Fri, 11 Jan 2019 10:53:12 +0000 (UTC) (envelope-from mat@FreeBSD.org) Date: Fri, 11 Jan 2019 11:53:09 +0100 From: Mathieu Arnold To: freebsd-ports@freebsd.org Subject: Re: py27 ./. py3 version of ports Message-ID: <20190111105309.wy6edzjyinewf3gz@atuin.in.mat.cc> References: <20190110100452.GA3582@c720-r342378> <6d03967e-5a46-f39b-318b-ab1bc4467dc9@FreeBSD.org> <20190110115841.GA4108@c720-r342378> <7315ac13-bf3d-c1f9-a048-0e2f0f0633a2@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xxe6bzmwayj64mzr" Content-Disposition: inline In-Reply-To: <7315ac13-bf3d-c1f9-a048-0e2f0f0633a2@FreeBSD.org> User-Agent: NeoMutt/20180716 X-Rspamd-Queue-Id: 75BC193796 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.965,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2019 10:53:13 -0000 --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--