diff options
Diffstat (limited to 'devel/py-sip/Makefile')
-rw-r--r-- | devel/py-sip/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/devel/py-sip/Makefile b/devel/py-sip/Makefile index 5222061baa77..b6fdd0c87175 100644 --- a/devel/py-sip/Makefile +++ b/devel/py-sip/Makefile @@ -19,12 +19,17 @@ LICENSE_FILE_SIP= ${WRKSRC}/LICENSE LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE-GPL2 LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSE-GPL3 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ply>0:devel/py-ply@${PY_FLAVOR} USES= python pyqt:sip -USE_PYTHON= autoplist concurrent distutils flavors py3kplist +USE_PYTHON= autoplist concurrent distutils flavors USE_PYQT= # -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> |