aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-04-27 21:00:13 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-04-27 21:00:13 +0000
commit73bf22dcd41b3f58641642621caebeb633510890 (patch)
tree6975265758727a1ba24c55ce5228ca448870e411 /irc
parenta1f57cd410422cbd46bd8b30b914d48c3ab7ed93 (diff)
downloadports-73bf22dcd41b3f58641642621caebeb633510890.tar.gz
ports-73bf22dcd41b3f58641642621caebeb633510890.zip
Update RUN_DEPENDS for py-jaraco.util 14.0 update
- Bump PORTREVISION for dependency change
Notes
Notes: svn path=/head/; revision=533201
Diffstat (limited to 'irc')
-rw-r--r--irc/py-irc/Makefile13
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>