Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2019 16:52:37 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: py27 ./. py3 version of ports
Message-ID:  <20190111155237.uz3xaz22iev6rzex@ogg.in.absolight.net>
In-Reply-To: <20190111134002.GA2987@c720-r342378>
References:  <20190110100452.GA3582@c720-r342378> <6d03967e-5a46-f39b-318b-ab1bc4467dc9@FreeBSD.org> <20190110115841.GA4108@c720-r342378> <7315ac13-bf3d-c1f9-a048-0e2f0f0633a2@FreeBSD.org> <20190111105309.wy6edzjyinewf3gz@atuin.in.mat.cc> <20190111134002.GA2987@c720-r342378>

next in thread | previous in thread | raw e-mail | index | archive | help

--tmywznda6hbt35ud
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jan 11, 2019 at 02:40:02PM +0100, Matthias Apitz wrote:
> El d=EDa viernes, enero 11, 2019 a las 11:53:09a. m. +0100, Mathieu Arnol=
d escribi=F3:
>=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 Pyt=
hon3.
> > > >=20
> > > > What I have to set in poudriere to get some required py3 packages b=
uilt as
> > > > well, but WITHOUT changing the dependency for my ~2000 packages whi=
ch pulled
> > > > somehow in the standard py27 ports?
> > >=20
> > > Sure.  You can build the py36 ports you want in addition to the regul=
ar py27
> > > ones.  Just add the port name(s) to your build list appended with '@p=
y36'.
> > > It's generally safe to have both python27 and python36 packages of th=
e same
> > > module installed simultaneously -- just remember to use 'python3' on =
the
> > > command line or in shebangs.
> >=20
> > python3.6.  python3 is only there if you install the lang/python3 port.
> > (Which you probably should not.)
>=20
> 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=3Dshebangfix to fix the offending
files.

--=20
Mathieu Arnold

--tmywznda6hbt35ud
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAlw4u8RfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB
QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD
zkgeqQ//aSlAQcaggcScSyVgUYsIiUt4cpiX7X1wRALzDUmPAnrtgMMp6TKq4vF4
jYxBLRNE/lIMFMEuNC7k25MaYWXsNEwfN0W62Q1daPp+7GRph54dFRx4A4kXetH1
Dxhba7BQvS3nwdAA3bd6pzslACDIKFJ4pwpzl+l6kNgQlVlb7mCSRyk274svpROK
XGjScWjh4Dbvr2yUrFOxMvSdSHS4MvN682gQLX7OHYpJJ1zyu9R/yBmAZaAiwNyD
ez0QMLfe7E3zSh31xgP098pIH+889f+iLzstvUd0JP8T673mhTmSmOboJgMW0TWr
yeoEzvDpP57o98QC+pFCNQ5FPAsmCCwJCyVor35caet844/moTtmXmFH4omQk0cs
z9yOkX3JIWRy1fhNMuNYMqilDf4smXgLYFbHgbrJbhf9RuA1lyjjzyI93OQ5Plfd
qdHEEXaPvki6vu3VH+y0kqZffI8j1Hy3A9W0gIajcnD9ShSvLd/SwWXUpXf3o/py
h377BoLdoO/RL9ANsaSd9oigi4jEJ5AjnE7XqSEQ+awwigVbpbIKcbqKy11au/CZ
WxOg7QjRSNdIexnOtc2aEWsDsLc4N0kFVHjzIbXRSKSnH0QuC2fxijKbWP8US0My
opRusfLsBnRJ9Lt4FN271bq11gsuAP4OfMj5EnZVppBVJTMnNEc=
=avMM
-----END PGP SIGNATURE-----

--tmywznda6hbt35ud--



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