Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 2015 18:50:35 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Mathieu Arnold <mat@FreeBSD.org>, Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        Thomas Zander <riggs@freebsd.org>, 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:  <55E4155B.9050508@FreeBSD.org>
In-Reply-To: <60AE5AFE75834B0EA7620055@atuin.in.mat.cc>
References:  <201508301655.t7UGtEVx037588@repo.freebsd.org> <55E3CED6.3010703@FreeBSD.org> <CAFU734xKRBuFNQTKvb59v0eK4qmzFHwZiWWUBqahG5G5SJXyXw@mail.gmail.com> <55E3E915.7060300@FreeBSD.org> <20150831055703.GA44646@FreeBSD.org> <55E3EF7B.2010404@FreeBSD.org> <60AE5AFE75834B0EA7620055@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
On 31/08/2015 5:07 PM, Mathieu Arnold wrote:
> +--On 31 août 2015 16:08:59 +1000 Kubilay Kocak <koobs@FreeBSD.org> wrote:
> | python:2 unfortunately implicitly means 'depend on the lang/python2'
> | metaport, "not any version of 2.x"
> | 
> | We have a little bit of work to do:
> | 
> |  1) Easy way to declare only 'any version' of 2.x / 3.x
> |  2) Support for a,b,c in USES:python:
> | 
> | With (2), (1) may not be needed, depending on how upstream specifies
> | their 'supported versions'
> 
> I was about to ask what's wrong with python:2, which does say "any version
> of 2.x" as we only support 2.7, "any version of 2.x" means [2.7] which is
> always true.
> 

That may be true (regarding the *result*), but is actually an implicit
(and incorrect in this case) declaration of a dependency on the
meta-port(s).

The correct (current) declarative method for "only/any 2.x" is python:-2.7.

The versions we do or dont support are orthogonal to correctly and
accurately describing the supported versions (as per upstream).

As mentioned, there is room for improvement.

./koobs





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