Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 2017 23:26:58 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443792 - head/Mk/Uses
Message-ID:  <201706172326.v5HNQwgP015683@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sat Jun 17 23:26:58 2017
New Revision: 443792
URL: https://svnweb.freebsd.org/changeset/ports/443792

Log:
  Specifying an invalid PYTHON_VERSION against its USES should be IGNORED.
  
  The port's own USES may note that is only supports certain versions.  If it
  is attempted to build an unsupported version there's no reason to even
  try.  Rather than giving a WARNING, actually mark it IGNORE.
  
  Currently this should only impact devel/py3-enum34 which does not support
  the default python3 version of 3.6.
  
  With hat:	portmgr

Modified:
  head/Mk/Uses/python.mk

Modified: head/Mk/Uses/python.mk
==============================================================================
--- head/Mk/Uses/python.mk	Sat Jun 17 22:34:29 2017	(r443791)
+++ head/Mk/Uses/python.mk	Sat Jun 17 23:26:58 2017	(r443792)
@@ -354,7 +354,7 @@ _PYTHON_VERSION_NONSUPPORTED=	${_PYTHON_VERSION_MAXIMU
 .if defined(_PYTHON_VERSION_NONSUPPORTED)
 .if defined(PYTHON_VERSION) || defined(PYTHON_CMD)
 _PV:=		${_PYTHON_VERSION}	# preserve the specified python version
-WARNING+=	"needs Python ${_PYTHON_VERSION_NONSUPPORTED}. But a port depending on this one specified ${_PV}"
+IGNORE=		needs Python ${_PYTHON_VERSION_NONSUPPORTED}, but ${_PV} was specified
 .endif # defined(PYTHON_VERSION) || defined(PYTHON_CMD)
 .undef _PYTHON_VERSION
 .for ver in ${PYTHON2_DEFAULT} ${PYTHON3_DEFAULT} ${_PYTHON_VERSIONS}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706172326.v5HNQwgP015683>