Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 2015 15:41:41 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Thomas Zander <riggs@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r395628 - in head/www: . py-pyocclient
Message-ID:  <55E3E915.7060300@FreeBSD.org>
In-Reply-To: <CAFU734xKRBuFNQTKvb59v0eK4qmzFHwZiWWUBqahG5G5SJXyXw@mail.gmail.com>
References:  <201508301655.t7UGtEVx037588@repo.freebsd.org> <55E3CED6.3010703@FreeBSD.org> <CAFU734xKRBuFNQTKvb59v0eK4qmzFHwZiWWUBqahG5G5SJXyXw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 31/08/2015 3:26 PM, Thomas Zander wrote:
> On 31 August 2015 at 05:49, Kubilay Kocak <koobs@freebsd.org> wrote:
>> Given this port only supports 2.x, this should be set to python:-2.7,
>> unless it doesn't support 2.6 in which case it should be set to python:2.7
> 
> True, but somehow it feels wrong to set python:-2.7 if you mean "pre-3.x".
> 

Ports should be declarative rather than imperative in respect to
describing what Python versions are supported.

I'm not 100% sure whether USES=python supports the a.b,a.c format (I
don't think it does), but if not, the closest thing we have to
stipulating "< a.d" is "-a.c".

See Mk/Uses/python.mk header for more detail.

Either way the current BROKEN method is sub-optimal and doesn't provide
a good user experience (breaks on attempt, rather than installing a
valid Python version)

--
Regards,

./koobs




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