From 52361aa6410fb6552a0708e9407159a70c2f3c27 Mon Sep 17 00:00:00 2001 From: lioux Date: Mon, 30 May 2005 03:27:00 +0000 Subject: Update to 4.0.2 --- net-p2p/py-bittorrent/Makefile | 8 ++++++-- net-p2p/py-bittorrent/distinfo | 4 ++-- .../extra-psyco-patch-BitTorrent::launchmanycore.py | 18 ------------------ .../extra-psyco-patch-BitTorrent::makemetafile.py | 18 ------------------ .../files/extra-psyco-patch-btdownloadgui.py | 18 ++++++++++++++++++ .../files/extra-psyco-patch-btmaketorrentgui.py | 18 ++++++++++++++++++ 6 files changed, 44 insertions(+), 40 deletions(-) delete mode 100644 net-p2p/py-bittorrent/files/extra-psyco-patch-BitTorrent::launchmanycore.py delete mode 100644 net-p2p/py-bittorrent/files/extra-psyco-patch-BitTorrent::makemetafile.py create mode 100644 net-p2p/py-bittorrent/files/extra-psyco-patch-btdownloadgui.py create mode 100644 net-p2p/py-bittorrent/files/extra-psyco-patch-btmaketorrentgui.py (limited to 'net-p2p') diff --git a/net-p2p/py-bittorrent/Makefile b/net-p2p/py-bittorrent/Makefile index 86a4ccfabf7a..ecbe998c7614 100644 --- a/net-p2p/py-bittorrent/Makefile +++ b/net-p2p/py-bittorrent/Makefile @@ -6,10 +6,12 @@ # PORTNAME= BitTorrent -PORTVERSION= 4.0.1 +PORTVERSION= 4.0.2 PORTEPOCH= 1 CATEGORIES?= net python -MASTER_SITES= http://www.bittorrent.com/dl/ +MASTER_SITES= http://www.bittorrent.com/dl/ \ + ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME:L} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= lioux@FreeBSD.org @@ -67,10 +69,12 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco EXTRA_PATCHES+= \ ${FILESDIR}/extra-psyco-patch-btdownloadcurses.py \ + ${FILESDIR}/extra-psyco-patch-btdownloadgui.py \ ${FILESDIR}/extra-psyco-patch-btdownloadheadless.py \ ${FILESDIR}/extra-psyco-patch-btlaunchmany.py \ ${FILESDIR}/extra-psyco-patch-btlaunchmanycurses.py \ ${FILESDIR}/extra-psyco-patch-btmaketorrent.py \ + ${FILESDIR}/extra-psyco-patch-btmaketorrentgui.py \ ${FILESDIR}/extra-psyco-patch-btreannouce.py \ ${FILESDIR}/extra-psyco-patch-btrename.py \ ${FILESDIR}/extra-psyco-patch-btshowmetainfo.py \ diff --git a/net-p2p/py-bittorrent/distinfo b/net-p2p/py-bittorrent/distinfo index 7cdeea842373..06dfeaa6a877 100644 --- a/net-p2p/py-bittorrent/distinfo +++ b/net-p2p/py-bittorrent/distinfo @@ -1,2 +1,2 @@ -MD5 (BitTorrent-4.0.1.tar.gz) = e890d856d43b3d0af14b28714bc5801a -SIZE (BitTorrent-4.0.1.tar.gz) = 154427 +MD5 (BitTorrent-4.0.2.tar.gz) = 4640b7c1bac3146d628f54b20afb87b7 +SIZE (BitTorrent-4.0.2.tar.gz) = 155062 diff --git a/net-p2p/py-bittorrent/files/extra-psyco-patch-BitTorrent::launchmanycore.py b/net-p2p/py-bittorrent/files/extra-psyco-patch-BitTorrent::launchmanycore.py deleted file mode 100644 index 5bea92e76323..000000000000 --- a/net-p2p/py-bittorrent/files/extra-psyco-patch-BitTorrent::launchmanycore.py +++ /dev/null @@ -1,18 +0,0 @@ ---- BitTorrent/launchmanycore.py.orig Sat Mar 12 10:00:19 2005 -+++ BitTorrent/launchmanycore.py Sat Mar 12 10:00:40 2005 -@@ -13,6 +13,15 @@ - # Original version written by John Hoffman, heavily modified for different - # multitorrent architecture by Uoti Urpala (over 40% shorter than original) - -+from BitTorrent import PSYCO -+if PSYCO.psyco: -+ try: -+ import psyco -+ assert psyco.__version__ >= 0x010300f0 -+ psyco.full() -+ except: -+ pass -+ - import os - from cStringIO import StringIO - from traceback import print_exc diff --git a/net-p2p/py-bittorrent/files/extra-psyco-patch-BitTorrent::makemetafile.py b/net-p2p/py-bittorrent/files/extra-psyco-patch-BitTorrent::makemetafile.py deleted file mode 100644 index ffdceda64a19..000000000000 --- a/net-p2p/py-bittorrent/files/extra-psyco-patch-BitTorrent::makemetafile.py +++ /dev/null @@ -1,18 +0,0 @@ ---- BitTorrent/makemetafile.py.orig Sat Mar 12 09:58:42 2005 -+++ BitTorrent/makemetafile.py Sat Mar 12 09:59:06 2005 -@@ -12,6 +12,15 @@ - - # Written by Bram Cohen - -+from BitTorrent import PSYCO -+if PSYCO.psyco: -+ try: -+ import psyco -+ assert psyco.__version__ >= 0x010300f0 -+ psyco.full() -+ except: -+ pass -+ - from __future__ import division - - import os diff --git a/net-p2p/py-bittorrent/files/extra-psyco-patch-btdownloadgui.py b/net-p2p/py-bittorrent/files/extra-psyco-patch-btdownloadgui.py new file mode 100644 index 000000000000..d6af343a19df --- /dev/null +++ b/net-p2p/py-bittorrent/files/extra-psyco-patch-btdownloadgui.py @@ -0,0 +1,18 @@ +--- btdownloadgui.py.orig Mon May 30 00:19:57 2005 ++++ btdownloadgui.py Mon May 30 00:20:19 2005 +@@ -14,6 +14,15 @@ + + from __future__ import division + ++from BitTorrent import PSYCO ++if PSYCO.psyco: ++ try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++ except: ++ pass ++ + import sys + + assert sys.version_info >= (2, 3), "Install Python 2.3 or greater" diff --git a/net-p2p/py-bittorrent/files/extra-psyco-patch-btmaketorrentgui.py b/net-p2p/py-bittorrent/files/extra-psyco-patch-btmaketorrentgui.py new file mode 100644 index 000000000000..a635ddfdd462 --- /dev/null +++ b/net-p2p/py-bittorrent/files/extra-psyco-patch-btmaketorrentgui.py @@ -0,0 +1,18 @@ +--- btmaketorrentgui.py.orig Mon May 30 00:20:48 2005 ++++ btmaketorrentgui.py Mon May 30 00:21:00 2005 +@@ -14,6 +14,15 @@ + + from __future__ import division + ++from BitTorrent import PSYCO ++if PSYCO.psyco: ++ try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++ except: ++ pass ++ + import os + import sys + -- cgit