svn commit: r451509 - branches/2017Q4/devel/py-doit

Antoine Brodin antoine at FreeBSD.org
Sun Oct 8 08:19:57 UTC 2017


Author: antoine
Date: Sun Oct  8 08:19:55 2017
New Revision: 451509
URL: https://svnweb.freebsd.org/changeset/ports/451509

Log:
  MFH: r451505
  
  Ignore on the package builders
  
  Reported by:	pkg-fallout

Modified:
  branches/2017Q4/devel/py-doit/Makefile
Directory Properties:
  branches/2017Q4/   (props changed)

Modified: branches/2017Q4/devel/py-doit/Makefile
==============================================================================
--- branches/2017Q4/devel/py-doit/Makefile	Sun Oct  8 08:19:30 2017	(r451508)
+++ branches/2017Q4/devel/py-doit/Makefile	Sun Oct  8 08:19:55 2017	(r451509)
@@ -23,9 +23,14 @@ USE_PYTHON=	distutils autoplist
 
 NO_ARCH=	yes
 
-.include <bsd.port.pre.mk>
-
 do-test:
 	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+
+.include <bsd.port.pre.mk>
+
+.if defined(PACKAGE_BUILDING) && !defined(PACKAGE_BUILDING_FLAVORS) && \
+    ${PYTHON_VER} != ${PYTHON_DEFAULT}
+IGNORE=	you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER}
+.endif
 
 .include <bsd.port.post.mk>


More information about the svn-ports-branches mailing list