svn commit: r395628 - in head/www: . py-pyocclient

Kubilay Kocak koobs at FreeBSD.org
Mon Aug 31 05:41:49 UTC 2015


On 31/08/2015 3:26 PM, Thomas Zander wrote:
> On 31 August 2015 at 05:49, Kubilay Kocak <koobs at 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



More information about the svn-ports-head mailing list