1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

irc/py-irc: update to 5.9.1

- Update to 5.9.1
- Remove obsolete python 2.6 check
- Remove obsolete zip_safe option
This commit is contained in:
William Grzybowski 2014-06-16 12:57:05 +00:00
parent b93cd63670
commit 09107dfdf0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357985
2 changed files with 7 additions and 15 deletions

View File

@ -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>

View File

@ -1,2 +1,2 @@
SHA256 (irc-8.5.4.zip) = 92eaa2287240e770ba5fd34327aa69612cf27caba9f51e3116d5951b438f470e
SIZE (irc-8.5.4.zip) = 113715
SHA256 (irc-8.9.1.zip) = 86f788293b2d924e1b71564a528f8e850135a271dcc45827577920188d4e5afc
SIZE (irc-8.9.1.zip) = 119769