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

Kubilay Kocak koobs at FreeBSD.org
Mon Aug 31 08:50:43 UTC 2015


On 31/08/2015 5:07 PM, Mathieu Arnold wrote:
> +--On 31 août 2015 16:08:59 +1000 Kubilay Kocak <koobs at 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




More information about the svn-ports-all mailing list