Commit 696c4194 authored by mat's avatar mat
Browse files

Automatically mark ports as DEPRECATED when they use Python 2.

Reviewed by:	antoine
Differential Revision:
parent 31a3b19b
......@@ -463,6 +463,11 @@ PYTHON_ABIVER= m
.if ${PYTHON_MAJOR_VER} == 2
DEPRECATED?= Uses Python 2.7 which is EOLed upstream
EXPIRATION_DATE?= 2020-12-31
.if !defined(PYTHONBASE)
PYTHONBASE!= (${PYTHON_CMD} -c 'import sys; print(sys.prefix)' \
2> /dev/null || ${ECHO_CMD} ${LOCALBASE}) | ${TAIL} -1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment