Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 May 2011 12:02:53 GMT
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/156811: lang/python32 has lower priority then lang/python31
Message-ID:  <201105041202.p44C2rCI010826@red.freebsd.org>
Resent-Message-ID: <201105041210.p44CA8rC013095@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         156811
>Category:       ports
>Synopsis:       lang/python32 has lower priority then lang/python31
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 04 12:10:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Volodymyr Kostyrko
>Release:        RELENG_8_2
>Organization:
>Environment:
FreeBSD pkunk.3501.lan 8.2-RELEASE FreeBSD 8.2-RELEASE #1 r218964: Tue Apr 26 10:44:39 EEST 2011     arcade@pkunk.3501.lan:/usr/obj/usr/src/sys/MINIMAL_8  amd64
>Description:
The default python version list defined in Mk/bsd.python.mk @205 lists version 3.1 higher then 3.2:

_PYTHON_PORTBRANCH=     2.7
_PYTHON_ALLBRANCHES=        2.7 2.6 2.5 2.4 3.1 3.2# preferred first
_ZOPE_PORTBRANCH=       2.7
_ZOPE_ALLBRANCHES=      2.7 2.8 2.9 2.10 3.2

This means for any package marked as 3.1+ 3.1 would be preferred version and 3.2 would be ignored.
>How-To-Repeat:
For example try compiling databases/py-postgresql having lang/python32 installed - it will default to building lang/python31.
>Fix:
Why not order list by version?

_PYTHON_ALLBRANCHES=        2.7 2.6 2.5 2.4 3.2 3.1# preferred first

This will revert to old behavior when higher version would be accepted if lesser version is required.

>Release-Note:
>Audit-Trail:
>Unformatted:



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