Lines 18-24
Link Here
|
18 |
# USES=python:3.3+ # Use Python 3.3 or newer |
18 |
# USES=python:3.3+ # Use Python 3.3 or newer |
19 |
# USES=python:3.3-3.4 # Use Python 3.3 or 3.4 |
19 |
# USES=python:3.3-3.4 # Use Python 3.3 or 3.4 |
20 |
# USES=python:-3.3 # Use any Python up to 3.3 |
20 |
# USES=python:-3.3 # Use any Python up to 3.3 |
21 |
# USES=python:2 # Use the Python 2 meta port |
|
|
22 |
# USES=python # Use the set default Python |
21 |
# USES=python # Use the set default Python |
23 |
# # version |
22 |
# # version |
24 |
# |
23 |
# |
Lines 310-320
Link Here
|
310 |
.if ${_PYTHON_ARGS} == "2" |
309 |
.if ${_PYTHON_ARGS} == "2" |
311 |
_PYTHON_ARGS= ${PYTHON2_DEFAULT} |
310 |
_PYTHON_ARGS= ${PYTHON2_DEFAULT} |
312 |
_WANTS_META_PORT= 2 |
311 |
_WANTS_META_PORT= 2 |
313 |
DEV_WARNING+= "USES=python:2 is deprecated, use USES=python:2.7" |
312 |
DEV_ERROR+= "USES=python:2 is unsupported, use USES=python:2.7 instead" |
314 |
.elif ${_PYTHON_ARGS} == "3" |
313 |
.elif ${_PYTHON_ARGS} == "3" |
315 |
_PYTHON_ARGS= ${PYTHON3_DEFAULT} |
314 |
_PYTHON_ARGS= ${PYTHON3_DEFAULT} |
316 |
_WANTS_META_PORT= 3 |
315 |
_WANTS_META_PORT= 3 |
317 |
DEV_WARNING+= "USES=python:3 is deprecated, use USES=python:3.4+ or an appropriate version range" |
316 |
DEV_ERROR+= "USES=python:3 is unsupported, use USES=python:3.4+ or an appropriate version range instead" |
318 |
.endif # ${_PYTHON_ARGS} == "2" |
317 |
.endif # ${_PYTHON_ARGS} == "2" |
319 |
|
318 |
|
320 |
.if defined(PYTHON_VERSION) |
319 |
.if defined(PYTHON_VERSION) |