Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2019 19:21:44 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504985 - head/security/py-argon2-cffi
Message-ID:  <201906231921.x5NJLim0067476@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906231921.x5NJLim0067476>