Date: Mon, 4 Dec 2017 11:07:10 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455505 - head/Mk/Uses Message-ID: <201712041107.vB4B7AAW026446@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Mon Dec 4 11:07:10 2017 New Revision: 455505 URL: https://svnweb.freebsd.org/changeset/ports/455505 Log: Deprecate USES=python:2 and USES=python:3 Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D13291 Modified: head/Mk/Uses/python.mk Modified: head/Mk/Uses/python.mk ============================================================================== --- head/Mk/Uses/python.mk Mon Dec 4 11:07:07 2017 (r455504) +++ head/Mk/Uses/python.mk Mon Dec 4 11:07:10 2017 (r455505) @@ -341,9 +341,11 @@ PYTHON3_DEFAULT_VERSION?= python${PYTHON3_DEFAULT} .if ${_PYTHON_ARGS} == "2" _PYTHON_ARGS= ${PYTHON2_DEFAULT_VERSION:S/^python//} _WANTS_META_PORT= 2 +DEV_WARNING+= "USES=python:2 is deprecated, use USES=python:2.7" .elif ${_PYTHON_ARGS} == "3" _PYTHON_ARGS= ${PYTHON3_DEFAULT_VERSION:S/^python//} _WANTS_META_PORT= 3 +DEV_WARNING+= "USES=python:3 is deprecated, use USES=python:3.4+ or an appropriate version range" .endif # ${_PYTHON_ARGS} == "2" .if defined(PYTHON_VERSION)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712041107.vB4B7AAW026446>