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:
parent
b93cd63670
commit
09107dfdf0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357985
@ -2,8 +2,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= irc
|
PORTNAME= irc
|
||||||
PORTVERSION= 8.5.4
|
PORTVERSION= 8.9.1
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= irc python
|
CATEGORIES= irc python
|
||||||
MASTER_SITES= CHEESESHOP
|
MASTER_SITES= CHEESESHOP
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
@ -13,7 +12,8 @@ COMMENT= IRC protocol client library for Python
|
|||||||
|
|
||||||
LICENSE= MIT
|
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 \
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hgtools>0:${PORTSDIR}/devel/py-hgtools \
|
||||||
${PYTHON_PKGNAMEPREFIX}pytest-runner>0:${PORTSDIR}/devel/py-pytest-runner
|
${PYTHON_PKGNAMEPREFIX}pytest-runner>0:${PORTSDIR}/devel/py-pytest-runner
|
||||||
|
|
||||||
@ -23,24 +23,16 @@ PYDISTUTILS_AUTOPLIST= yes
|
|||||||
USES= zip
|
USES= zip
|
||||||
|
|
||||||
PORTEXAMPLES= irccat.py irccat2.py servermap.py testbot.py \
|
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}
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
||||||
|
|
||||||
OPTIONS_DEFINE= EXAMPLES
|
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:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e \
|
|
||||||
's|license="MIT",|license="MIT", zip_safe=False,|' ${WRKSRC}/setup.py
|
|
||||||
${CHMOD} -R o-w ${WRKSRC}/irc.egg-info
|
${CHMOD} -R o-w ${WRKSRC}/irc.egg-info
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
${INSTALL_SCRIPT} ${PORTEXAMPLES:S,^,${WRKSRC}/scripts/,} ${STAGEDIR}${EXAMPLESDIR}/
|
${INSTALL_SCRIPT} ${PORTEXAMPLES:S,^,${WRKSRC}/scripts/,} ${STAGEDIR}${EXAMPLESDIR}/
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
SHA256 (irc-8.5.4.zip) = 92eaa2287240e770ba5fd34327aa69612cf27caba9f51e3116d5951b438f470e
|
SHA256 (irc-8.9.1.zip) = 86f788293b2d924e1b71564a528f8e850135a271dcc45827577920188d4e5afc
|
||||||
SIZE (irc-8.5.4.zip) = 113715
|
SIZE (irc-8.9.1.zip) = 119769
|
||||||
|
Loading…
Reference in New Issue
Block a user