archivers/py-lz4: fix path to py-test

The directory works only for py-test<5 since py-test>=5 lives in
devel/py-test5.
This commit is contained in:
rillig 2020-04-26 13:29:50 +00:00
parent 7dbea84c69
commit d5c609bca0

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.26 2019/09/16 08:53:00 adam Exp $
# $NetBSD: Makefile,v 1.27 2020/04/26 13:29:50 rillig Exp $
DISTNAME= lz4-2.2.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@ -14,7 +14,7 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-pkgconfig-[0-9]*:../../devel/py-pkgconfig
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
TEST_DEPENDS+= ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test<5:../../devel/py-test
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27