py-mccabe: BUILD_DEPEND on py-test-runner unconditionally

This commit is contained in:
tnn 2018-09-27 20:30:02 +00:00
parent 65e372f5ed
commit 18765fe15c

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2017/02/05 19:11:41 wiz Exp $
# $NetBSD: Makefile,v 1.9 2018/09/27 20:30:02 tnn Exp $
DISTNAME= mccabe-0.6.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@ -11,9 +11,7 @@ COMMENT= Mccabe plugin for the Python program checker flake8
LICENSE= mit
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} > 30
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
.endif
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"