From b640d6c56f559e7e9d2ee5bfc1ca1ffecaa36a2d Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 23 Jun 2019 19:21:44 +0000 Subject: [PATCH] Use PY_ENUM34 With hat: python --- security/py-argon2-cffi/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/security/py-argon2-cffi/Makefile b/security/py-argon2-cffi/Makefile index 76c3de758d6a..a18f321600cc 100644 --- a/security/py-argon2-cffi/Makefile +++ b/security/py-argon2-cffi/Makefile @@ -16,6 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} LIB_DEPENDS= libargon2.so:security/libargon2 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR} \ + ${PY_ENUM34} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} @@ -34,10 +35,4 @@ post-install: do-test: @cd ${WRKSRC} && PYTHONPATH=src ${PYTHON_CMD} -m pytest -v -rs -.include - -.if ${PYTHON_VER} < 3.4 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34@${PY_FLAVOR} -.endif - -.include +.include