diff options
author | imil <imil> | 2012-11-03 14:29:25 +0000 |
---|---|---|
committer | imil <imil> | 2012-11-03 14:29:25 +0000 |
commit | e90200fc32c132b99cb28ee1b123ec6ba3c781e4 (patch) | |
tree | 6db9e013374c6cab87f716b48f93162080b453ef /net/py-ptt | |
parent | 5f5be14a635c4885e9d0082846c78535980886fc (diff) | |
download | pkgsrc-e90200fc32c132b99cb28ee1b123ec6ba3c781e4.tar.gz |
Enabled IRC and fixed a wrong import in ircbot.py
Diffstat (limited to 'net/py-ptt')
-rw-r--r-- | net/py-ptt/Makefile | 4 | ||||
-rw-r--r-- | net/py-ptt/distinfo | 3 | ||||
-rw-r--r-- | net/py-ptt/patches/patch-twitter_ircbot.py | 15 |
3 files changed, 20 insertions, 2 deletions
diff --git a/net/py-ptt/Makefile b/net/py-ptt/Makefile index dd2d61f50fd..83a80f0bbe5 100644 --- a/net/py-ptt/Makefile +++ b/net/py-ptt/Makefile @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.1 2012/11/02 13:08:31 imil Exp $ +# $NetBSD: Makefile,v 1.2 2012/11/03 14:29:25 imil Exp $ # PTTVERS= 1.9.0 DISTNAME= twitter-${PTTVERS} PKGNAME= ${PYPKGPREFIX}-ptt-${PTTVERS} +PKGREVISION= 1 CATEGORIES= net python MASTER_SITES= http://pypi.python.org/packages/source/t/twitter/ @@ -16,5 +17,6 @@ PKG_DESTDIR_SUPPORT= user-destdir USE_LANGUAGES= # none +.include "../../net/py-irclib/buildlink3.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/py-ptt/distinfo b/net/py-ptt/distinfo index 8db9cd23b51..7839e952e0c 100644 --- a/net/py-ptt/distinfo +++ b/net/py-ptt/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1 2012/11/02 13:08:31 imil Exp $ +$NetBSD: distinfo,v 1.2 2012/11/03 14:29:25 imil Exp $ SHA1 (twitter-1.9.0.tar.gz) = e42089c4067498f7aefaf16f32062cefb4141f5a RMD160 (twitter-1.9.0.tar.gz) = 703821166ca80e757a2d806b6d4bd23e1cc1e676 Size (twitter-1.9.0.tar.gz) = 31441 bytes +SHA1 (patch-twitter_ircbot.py) = d477f7c3849f3486345f4be58fd9184b42ace855 diff --git a/net/py-ptt/patches/patch-twitter_ircbot.py b/net/py-ptt/patches/patch-twitter_ircbot.py new file mode 100644 index 00000000000..a4611ef296f --- /dev/null +++ b/net/py-ptt/patches/patch-twitter_ircbot.py @@ -0,0 +1,15 @@ +$NetBSD: patch-twitter_ircbot.py,v 1.1 2012/11/03 14:29:25 imil Exp $ + +Upstream imports "irclib" but that library has changed to "irc" + +--- twitter/ircbot.py.orig 2012-05-10 21:20:42.000000000 +0000 ++++ twitter/ircbot.py +@@ -81,7 +81,7 @@ def get_prefix(prefix_typ=None): + + + try: +- import irclib ++ import irc + except ImportError: + raise ImportError( + "This module requires python irclib available from " |