svn commit: r504985 - head/security/py-argon2-cffi
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jun 23 19:21:52 UTC 2019
Author: sunpoet
Date: Sun Jun 23 19:21:44 2019
New Revision: 504985
URL: https://svnweb.freebsd.org/changeset/ports/504985
Log:
Use PY_ENUM34
With hat: python
Modified:
head/security/py-argon2-cffi/Makefile
Modified: head/security/py-argon2-cffi/Makefile
==============================================================================
--- head/security/py-argon2-cffi/Makefile Sun Jun 23 19:21:39 2019 (r504984)
+++ head/security/py-argon2-cffi/Makefile Sun Jun 23 19:21:44 2019 (r504985)
@@ -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 <bsd.port.pre.mk>
-
-.if ${PYTHON_VER} < 3.4
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list