pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-ptt Enabled IRC and fixed a wrong import in irc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f4306305c33
branches:  trunk
changeset: 610696:7f4306305c33
user:      imil <imil%pkgsrc.org@localhost>
date:      Sat Nov 03 14:29:25 2012 +0000

description:
Enabled IRC and fixed a wrong import in ircbot.py

diffstat:

 net/py-ptt/Makefile                        |   4 +++-
 net/py-ptt/distinfo                        |   3 ++-
 net/py-ptt/patches/patch-twitter_ircbot.py |  15 +++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (52 lines):

diff -r b28e8e24e677 -r 7f4306305c33 net/py-ptt/Makefile
--- a/net/py-ptt/Makefile       Sat Nov 03 14:20:33 2012 +0000
+++ b/net/py-ptt/Makefile       Sat Nov 03 14:29:25 2012 +0000
@@ -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 @@
 
 USE_LANGUAGES= # none
 
+.include "../../net/py-irclib/buildlink3.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r b28e8e24e677 -r 7f4306305c33 net/py-ptt/distinfo
--- a/net/py-ptt/distinfo       Sat Nov 03 14:20:33 2012 +0000
+++ b/net/py-ptt/distinfo       Sat Nov 03 14:29:25 2012 +0000
@@ -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 -r b28e8e24e677 -r 7f4306305c33 net/py-ptt/patches/patch-twitter_ircbot.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-ptt/patches/patch-twitter_ircbot.py        Sat Nov 03 14:29:25 2012 +0000
@@ -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 "



Home | Main Index | Thread Index | Old Index