summaryrefslogtreecommitdiff
path: root/irc/py-irc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'irc/py-irc/Makefile')
-rw-r--r--irc/py-irc/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/irc/py-irc/Makefile b/irc/py-irc/Makefile
index b21466f82c86..da5711f4f040 100644
--- a/irc/py-irc/Makefile
+++ b/irc/py-irc/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= irc
-PORTVERSION= 8.5.4
-PORTREVISION= 1
+PORTVERSION= 8.9.1
CATEGORIES= irc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +12,8 @@ COMMENT= IRC protocol client library for Python
LICENSE= MIT
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \
+ ${PYTHON_PKGNAMEPREFIX}jaraco.util>0:${PORTSDIR}/devel/py-jaraco.util
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hgtools>0:${PORTSDIR}/devel/py-hgtools \
${PYTHON_PKGNAMEPREFIX}pytest-runner>0:${PORTSDIR}/devel/py-pytest-runner
@@ -23,24 +23,16 @@ PYDISTUTILS_AUTOPLIST= yes
USES= zip
PORTEXAMPLES= irccat.py irccat2.py servermap.py testbot.py \
- dccreceive.py dccsend.py
+ dccreceive.py dccsend.py ssl-cat.py
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
OPTIONS_DEFINE= EXAMPLES
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 270
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}argparse>0:${PORTSDIR}/devel/py-argparse
-.endif
-
post-patch:
- @${REINPLACE_CMD} -e \
- 's|license="MIT",|license="MIT", zip_safe=False,|' ${WRKSRC}/setup.py
${CHMOD} -R o-w ${WRKSRC}/irc.egg-info
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${PORTEXAMPLES:S,^,${WRKSRC}/scripts/,} ${STAGEDIR}${EXAMPLESDIR}/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>