add py-irclib

IRC protocol client library for Python

PR:		26823
Submitted by:	Chang Hye-Shik <perky@python.or.kr>
This commit is contained in:
Ying-Chieh Liao 2001-05-24 13:20:32 +00:00
parent c9bfdc03bf
commit 71f287b5da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43013
6 changed files with 67 additions and 0 deletions

View file

@ -30,6 +30,7 @@
SUBDIR += party SUBDIR += party
SUBDIR += pure-emacs20 SUBDIR += pure-emacs20
SUBDIR += pure-xemacs21-mule SUBDIR += pure-xemacs21-mule
SUBDIR += py-irclib
SUBDIR += quirc SUBDIR += quirc
SUBDIR += roxirc SUBDIR += roxirc
SUBDIR += ruby-irc SUBDIR += ruby-irc

34
irc/py-irclib/Makefile Normal file
View file

@ -0,0 +1,34 @@
# New ports collection makefile for: py-irclib
# Date created: 25 April 2001
# Whom: Hye-Shik Chang <perky@python.or.kr>
#
# $FreeBSD$
#
PORTNAME= irclib
PORTVERSION= 0.3.1
CATEGORIES= irc python
MASTER_SITES= http://joel.rosdahl.net/hacks/ \
http://www3.kr.freebsd.org/~pekry/distfiles/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= perky@python.or.kr
USE_PYTHON= yes
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
EXAMPLEFILES= ircbot.py irccat irccat2 servermap testbot.py
do-build:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
do-install:
@${INSTALL_DATA} ${WRKSRC}/irclib.py* ${PYTHON_SITELIBDIR}/
@${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
.for file in ${EXAMPLEFILES}
@${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/share/examples/${PORTNAME}/
.endfor
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/${PORTNAME}/
.include <bsd.port.mk>

1
irc/py-irclib/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (irclib-0.3.1.tar.gz) = 65625f63a01af01da9de548c7ddfc14f

View file

@ -0,0 +1 @@
IRC protocol client library for Python

7
irc/py-irclib/pkg-descr Normal file
View file

@ -0,0 +1,7 @@
This library is intended to encapsulate the IRC protocol at a quite
low level. It provides an event-driven IRC client framework. It has
a fairly thorough support for the basic IRC protocol and CTCP, but DCC
connection support is not yet implemented. It actually does CTCP
parsing exactly as the CTCP specifications describe it.
WWW: http://joel.rosdahl.net/hacks/

23
irc/py-irclib/pkg-plist Normal file
View file

@ -0,0 +1,23 @@
%%PYTHON_SITELIBDIR%%/irclib.py
%%PYTHON_SITELIBDIR%%/irclib.pyc
share/doc/irclib/index.html
share/doc/irclib/indices.html
share/doc/irclib/ircbot.Channel.html
share/doc/irclib/ircbot.IRCDict.html
share/doc/irclib/ircbot.SingleServerIRCBot.html
share/doc/irclib/ircbot.html
share/doc/irclib/irclib.Connection.html
share/doc/irclib/irclib.DCCConnection.html
share/doc/irclib/irclib.Event.html
share/doc/irclib/irclib.IRC.html
share/doc/irclib/irclib.IRCError.html
share/doc/irclib/irclib.ServerConnection.html
share/doc/irclib/irclib.ServerConnectionError.html
share/doc/irclib/irclib.SimpleIRCClient.html
share/doc/irclib/irclib.html
share/doc/irclib/pythondoc.css
share/examples/irclib/ircbot.py
share/examples/irclib/irccat
share/examples/irclib/irccat2
share/examples/irclib/servermap
share/examples/irclib/testbot.py