diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2019-05-31 10:00:20 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2019-05-31 10:00:20 +0000 |
commit | d8cff3e56b7f1643862133f4ce38dc516f62538b (patch) | |
tree | 24f5a9e916ed070890d7d4919c8341a505a53d3b /security/py-m2crypto | |
parent | fd68fbf5c0053862a60f5058ab2af059acae2755 (diff) |
Introduce PY_TYPING and simplify Makefile
Since devel/py-promise requires 3.6.4+, the minimal version is set to 3.6.4.
With hat: python
Notes
Notes:
svn path=/head/; revision=503133
Diffstat (limited to 'security/py-m2crypto')
-rw-r--r-- | security/py-m2crypto/Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile index 471ad0bfa81e..17db476879e2 100644 --- a/security/py-m2crypto/Makefile +++ b/security/py-m2crypto/Makefile @@ -15,6 +15,7 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENCE BUILD_DEPENDS= swig3.0:devel/swig30 +RUN_DEPENDS= ${PY_TYPING} USES= python ssl USE_PYTHON= autoplist concurrent distutils @@ -27,10 +28,4 @@ post-patch: post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/M2Crypto/_m2crypto.so -.include <bsd.port.pre.mk> - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing>=0:devel/py-typing@${PY_FLAVOR} -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |