Bug 156811 - lang/python32 has lower priority then lang/python31
Summary: lang/python32 has lower priority then lang/python31
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-python (Nobody)
Depends on:
Reported: 2011-05-04 13:10 UTC by c.kworr
Modified: 2011-07-22 16:40 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description c.kworr 2011-05-04 13:10:07 UTC
The default python version list defined in Mk/bsd.python.mk @205 lists version 3.1 higher then 3.2:

_PYTHON_ALLBRANCHES=        2.7 2.6 2.5 2.4 3.1 3.2# preferred first
_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.


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.
How-To-Repeat: For example try compiling databases/py-postgresql having lang/python32 installed - it will default to building lang/python31.
Comment 1 Edwin Groothuis freebsd_committer 2011-05-04 13:10:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2011-07-22 16:38:20 UTC
lwhsu       2011-07-22 15:38:11 UTC

  FreeBSD ports repository

  Modified files:
    Mk                   bsd.python.mk 
  - Make 3.2 higher priority than 3.1
  PR:             ports/156811
  Submitted by:   Volodymyr Kostyrko <c.kworr@gmail.com>
  Revision  Changes    Path
  1.136     +2 -2      ports/Mk/bsd.python.mk
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Li-Wen Hsu freebsd_committer 2011-07-22 16:39:01 UTC
State Changed
From-To: open->closed

Committed. Thanks!