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. 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. How-To-Repeat: For example try compiling databases/py-postgresql having lang/python32 installed - it will default to building lang/python31.
Responsible Changed From-To: freebsd-ports-bugs->freebsd-python Over to maintainer (via the GNATS Auto Assign Tool)
lwhsu 2011-07-22 15:38:11 UTC FreeBSD ports repository Modified files: Mk bsd.python.mk Log: - 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 http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!