diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-04-27 21:00:13 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-04-27 21:00:13 +0000 |
commit | 73bf22dcd41b3f58641642621caebeb633510890 (patch) | |
tree | 6975265758727a1ba24c55ce5228ca448870e411 /irc/py-irc | |
parent | a1f57cd410422cbd46bd8b30b914d48c3ab7ed93 (diff) |
Notes
Diffstat (limited to 'irc/py-irc')
-rw-r--r-- | irc/py-irc/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/irc/py-irc/Makefile b/irc/py-irc/Makefile index 2a9099d2c5de..9d98e915f171 100644 --- a/irc/py-irc/Makefile +++ b/irc/py-irc/Makefile @@ -3,7 +3,7 @@ PORTNAME= irc PORTVERSION= 13.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= irc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,7 +17,6 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hgtools>0:devel/py-hgtools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}jaraco.util>0:devel/py-jaraco.util@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} USES= python shebangfix @@ -38,4 +37,12 @@ post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${PORTEXAMPLES:S,^,${WRKSRC}/scripts/,} ${STAGEDIR}${EXAMPLESDIR}/ -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3600 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}jaraco.util13>0:devel/py-jaraco.util13@${PY_FLAVOR} +.else +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}jaraco.util>0:devel/py-jaraco.util@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> |