Hi there,

Currently default python versions are inconsistent:
- python 3.3 is the default python3 version
- python 3.4 is preferred over python 3.3 when a port needs a python
version in a specific range

The patch below should address this,  please review/test.

Cheers,

Antoine

Index: Mk/bsd.python.mk
===================================================================
--- Mk/bsd.python.mk    (revision 352778)
+++ Mk/bsd.python.mk    (working copy)
@@ -289,7 +289,7 @@
                     But you specified ${_PYTHON_VERSION}
 .else
 .undef _PYTHON_VERSION
-.for ver in ${_PYTHON_ALLBRANCHES}
+.for ver in ${PYTHON2_DEFAULT} ${PYTHON3_DEFAULT} ${_PYTHON_ALLBRANCHES}
 __VER=        ${ver}
 .if !defined(_PYTHON_VERSION) && \
     !(!empty(_PYTHON_VERSION_MINIMUM) && ( \
Index: Mk/bsd.python.mk
===================================================================
--- Mk/bsd.python.mk    (revision 352778)
+++ Mk/bsd.python.mk    (working copy)
@@ -289,7 +289,7 @@
                                        But you specified ${_PYTHON_VERSION}
 .else
 .undef _PYTHON_VERSION
-.for ver in ${_PYTHON_ALLBRANCHES}
+.for ver in ${PYTHON2_DEFAULT} ${PYTHON3_DEFAULT} ${_PYTHON_ALLBRANCHES}
 __VER=         ${ver}
 .if !defined(_PYTHON_VERSION) && \
        !(!empty(_PYTHON_VERSION_MINIMUM) && ( \
_______________________________________________
freebsd-python@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to