aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--irc/py-irclib/Makefile16
-rw-r--r--irc/py-irclib/distinfo4
-rw-r--r--irc/py-irclib/pkg-descr5
-rw-r--r--irc/py-irclib/pkg-plist25
4 files changed, 31 insertions, 19 deletions
diff --git a/irc/py-irclib/Makefile b/irc/py-irclib/Makefile
index 5a836b06af9a..1cc8bd88c1d7 100644
--- a/irc/py-irclib/Makefile
+++ b/irc/py-irclib/Makefile
@@ -6,18 +6,23 @@
#
PORTNAME= irclib
-PORTVERSION= 0.4.8
+PORTVERSION= 0.6.4
CATEGORIES= irc python
-MASTER_SITES= SF/python-${PORTNAME}/python-${PORTNAME}/${PORTVERSION}
+MASTER_SITES= SF/python-${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-irclib-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= william88@gmail.com
COMMENT= IRC protocol client library for Python
-USE_PYTHON= yes
+USE_PYTHON= -2.7
+USE_ZIP= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= python-irclib
+PYDISTUTILS_NOEGGINFO=yes
+
+PLIST_SUB= VERSION=${PORTVERSION} PYVER=${PYTHON_VERSION:S/python//}
+
EXAMPLEFILES= irccat irccat2 servermap testbot.py \
dccreceive dccsend
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
@@ -26,8 +31,9 @@ EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
post-install:
@${MKDIR} ${EXAMPLESDIR}
.for file in ${EXAMPLEFILES}
- @${INSTALL_SCRIPT} ${WRKSRC}/${file} ${EXAMPLESDIR}/
+ @${INSTALL_SCRIPT} ${WRKSRC}/scripts/${file} ${EXAMPLESDIR}/
.endfor
+ @${FIND} ${PYTHONPREFIX_SITELIBDIR}/${PYDISTUTILS_EGGINFO} -type f -exec ${CHMOD} 644 {} +;
.endif
.include <bsd.port.mk>
diff --git a/irc/py-irclib/distinfo b/irc/py-irclib/distinfo
index 707ed9bbfe62..5be728a907fd 100644
--- a/irc/py-irclib/distinfo
+++ b/irc/py-irclib/distinfo
@@ -1,2 +1,2 @@
-SHA256 (python-irclib-0.4.8.tar.gz) = 81ee3a6401d4f4d1af1975913438a32fa453b4220bd2e509b7b5af4cbc29a4f4
-SIZE (python-irclib-0.4.8.tar.gz) = 34657
+SHA256 (python-irclib-0.6.4.zip) = f18205c0d7b25b6f5e5acb1d13e35be930434590585acc2b701a7dd498839dc1
+SIZE (python-irclib-0.6.4.zip) = 74319
diff --git a/irc/py-irclib/pkg-descr b/irc/py-irclib/pkg-descr
index 6d734cb38cc6..2e502c586a76 100644
--- a/irc/py-irclib/pkg-descr
+++ b/irc/py-irclib/pkg-descr
@@ -1,7 +1,6 @@
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.
+a fairly thorough support for the basic IRC protocol, CTCP and DCC.
+It actually does CTCP parsing exactly as the CTCP specifications describe it.
WWW: http://sourceforge.net/projects/python-irclib/
diff --git a/irc/py-irclib/pkg-plist b/irc/py-irclib/pkg-plist
index 416a7e35ff7f..f7c503543dd6 100644
--- a/irc/py-irclib/pkg-plist
+++ b/irc/py-irclib/pkg-plist
@@ -1,13 +1,20 @@
-%%PYTHON_SITELIBDIR%%/ircbot.py
-%%PYTHON_SITELIBDIR%%/ircbot.pyc
-%%PYTHON_SITELIBDIR%%/ircbot.pyo
-%%PYTHON_SITELIBDIR%%/irclib.py
-%%PYTHON_SITELIBDIR%%/irclib.pyc
-%%PYTHON_SITELIBDIR%%/irclib.pyo
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dccreceive
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dccsend
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/irccat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dccreceive
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/irccat2
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/servermap
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/irccat
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testbot.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/servermap
+%%PYTHON_LIBDIR%%/site-packages/python_irclib-%%VERSION%%-py%%PYVER%%.egg-info/PKG-INFO
+%%PYTHON_LIBDIR%%/site-packages/python_irclib-%%VERSION%%-py%%PYVER%%.egg-info/dependency_links.txt
+%%PYTHON_LIBDIR%%/site-packages/python_irclib-%%VERSION%%-py%%PYVER%%.egg-info/SOURCES.txt
+%%PYTHON_LIBDIR%%/site-packages/python_irclib-%%VERSION%%-py%%PYVER%%.egg-info/top_level.txt
+%%PYTHON_LIBDIR%%/site-packages/ircbot.pyc
+%%PYTHON_LIBDIR%%/site-packages/irclib.pyc
+%%PYTHON_LIBDIR%%/site-packages/ircbot.py
+%%PYTHON_LIBDIR%%/site-packages/ircbot.pyo
+%%PYTHON_LIBDIR%%/site-packages/irclib.pyo
+%%PYTHON_LIBDIR%%/site-packages/irclib.py
+@dirrm %%PYTHON_LIBDIR%%/site-packages/python_irclib-%%VERSION%%-py%%PYVER%%.egg-info
+@dirrmtry %%PYTHON_LIBDIR%%/site-packages
+@dirrmtry %%PYTHON_LIBDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%