Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 May 2014 11:22:38 +0200
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        python@freebsd.org
Subject:   bsd.python.mk patch for review
Message-ID:  <CAALwa8mp%2BYGS_zxxYHGt73rtv-DSdDDJcqoFpjpeiJGSj3931g@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--20cf301b622b9e820804f86752be
Content-Type: text/plain; charset=UTF-8

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) && ( \

--20cf301b622b9e820804f86752be
Content-Type: text/plain; charset=US-ASCII; name="pythonmk.diff"
Content-Disposition: attachment; filename="pythonmk.diff"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hup97lkt0

SW5kZXg6IE1rL2JzZC5weXRob24ubWsKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gTWsvYnNkLnB5dGhvbi5tawko
cmV2aXNpb24gMzUyNzc4KQorKysgTWsvYnNkLnB5dGhvbi5tawkod29ya2luZyBjb3B5KQpAQCAt
Mjg5LDcgKzI4OSw3IEBACiAJCQkJCUJ1dCB5b3Ugc3BlY2lmaWVkICR7X1BZVEhPTl9WRVJTSU9O
fQogLmVsc2UKIC51bmRlZiBfUFlUSE9OX1ZFUlNJT04KLS5mb3IgdmVyIGluICR7X1BZVEhPTl9B
TExCUkFOQ0hFU30KKy5mb3IgdmVyIGluICR7UFlUSE9OMl9ERUZBVUxUfSAke1BZVEhPTjNfREVG
QVVMVH0gJHtfUFlUSE9OX0FMTEJSQU5DSEVTfQogX19WRVI9CQkke3Zlcn0KIC5pZiAhZGVmaW5l
ZChfUFlUSE9OX1ZFUlNJT04pICYmIFwKIAkhKCFlbXB0eShfUFlUSE9OX1ZFUlNJT05fTUlOSU1V
TSkgJiYgKCBcCg==
--20cf301b622b9e820804f86752be--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8mp%2BYGS_zxxYHGt73rtv-DSdDDJcqoFpjpeiJGSj3931g>