Date: Thu, 19 Nov 2015 21:25:40 +1100 From: Kubilay Kocak <koobs@FreeBSD.org> To: Muhammad Moinur Rahman <bofh@FreeBSD.org> Cc: "ports-committers@freebsd.org" <ports-committers@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org> Subject: Re: svn commit: r401923 - in head/devel: . py-pytz py-pytz3 Message-ID: <564DA3A4.60106@FreeBSD.org> In-Reply-To: <CA%2BnPUkzTzLgrjeiQUdDcC0kfFxfFB0HDLmBywmbM874Nqk___A@mail.gmail.com> References: <201511190954.tAJ9seJB090415@repo.freebsd.org> <564D9D9C.6080703@FreeBSD.org> <CA%2BnPUkzTzLgrjeiQUdDcC0kfFxfFB0HDLmBywmbM874Nqk___A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 19/11/2015 9:08 PM, Muhammad Moinur Rahman wrote: > In bsd.default-versions.mk <http://bsd.default-versions.mk> > PYTHON_DEFAULT=2.7 Whereas I need one from version 3 hence I have used > PYTHON3_DEFAULT=3.4. Advice please ? > > On Thu, Nov 19, 2015 at 3:59 PM, Kubilay Kocak <koobs@freebsd.org > <mailto:koobs@freebsd.org>> wrote: > > On 19/11/2015 8:54 PM, Muhammad Moinur Rahman wrote: > > +PYTHON_VERSION= python${PYTHON3_DEFAULT} > > This should probably be a different PYTHON_* variable too. > > The mechanism in bsd.default-versions.mk > <http://bsd.default-versions.mk> ends up setting the correct > "PYTHON_VERSION" variable (I believe, please check), which should be > used instead. > > I believe USES=python:3 is the way it's already being done: https://svnweb.freebsd.org/ports/head/audio/py3-pylast/Makefile?revision=376731&view=markup#l17 https://svnweb.freebsd.org/ports/head/accessibility/py3-atspi/Makefile?revision=401900&view=markup#l20 https://svnweb.freebsd.org/ports/head/multimedia/py3-gstreamer1/Makefile?revision=397984&view=markup#l20 https://svnweb.freebsd.org/ports/head/textproc/py3-libxml2/Makefile?revision=391332&view=markup#l19 Don't forget to rename :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?564DA3A4.60106>