From 5a8b2663be28649cd59d13f90e769515ad0699e1 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Mon, 30 May 2005 03:17:30 +0000 Subject: o Update to 4.1.1 development version which brings many new features [1] such as trackerless [2] support 1) http://www.bittorrent.com/bittorrent_versions.html 2) http://www.bittorrent.com/trackerless.html --- .../files/extra-psyco-patch-btdownloadheadless.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 net/py-bittorrent-devel/files/extra-psyco-patch-btdownloadheadless.py (limited to 'net/py-bittorrent-devel/files/extra-psyco-patch-btdownloadheadless.py') diff --git a/net/py-bittorrent-devel/files/extra-psyco-patch-btdownloadheadless.py b/net/py-bittorrent-devel/files/extra-psyco-patch-btdownloadheadless.py new file mode 100644 index 000000000000..93d08d1edb6a --- /dev/null +++ b/net/py-bittorrent-devel/files/extra-psyco-patch-btdownloadheadless.py @@ -0,0 +1,18 @@ +--- btdownloadheadless.py.orig Fri Mar 11 23:14:21 2005 ++++ btdownloadheadless.py Fri Mar 11 23:14:28 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 + import os + import threading -- cgit v1.2.3