diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2004-12-24 09:29:37 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2004-12-24 09:29:37 +0000 |
commit | e7fca6a53f75e40d0f4659c216363c56bc498f6b (patch) | |
tree | dfa441f9512be0111873f40380073a58e3dd7588 /net-p2p/py-bittorrent/files | |
parent | b908acd9c8358674fcaf72061f3d4653bd37a231 (diff) |
Notes
Diffstat (limited to 'net-p2p/py-bittorrent/files')
9 files changed, 162 insertions, 0 deletions
diff --git a/net-p2p/py-bittorrent/files/extra-psyco-patch-btcompletedir.py b/net-p2p/py-bittorrent/files/extra-psyco-patch-btcompletedir.py new file mode 100644 index 000000000000..7313c0b3b815 --- /dev/null +++ b/net-p2p/py-bittorrent/files/extra-psyco-patch-btcompletedir.py @@ -0,0 +1,18 @@ +--- btcompletedir.py Thu Dec 16 11:03:11 2004 ++++ btcompletedir.py Thu Dec 16 11:12:55 2004 +@@ -3,6 +3,15 @@ + # Written by Bram Cohen + # see LICENSE.txt for license information + ++from BitTorrent import PSYCO ++if PSYCO.psyco: ++ try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++ except: ++ pass ++ + from os.path import join, split + from threading import Event + from traceback import print_exc diff --git a/net-p2p/py-bittorrent/files/extra-psyco-patch-btcompletedirgui.py b/net-p2p/py-bittorrent/files/extra-psyco-patch-btcompletedirgui.py new file mode 100644 index 000000000000..750f7f3b4ff6 --- /dev/null +++ b/net-p2p/py-bittorrent/files/extra-psyco-patch-btcompletedirgui.py @@ -0,0 +1,18 @@ +--- btcompletedirgui.py Thu Dec 16 11:03:11 2004 ++++ btcompletedirgui.py Thu Dec 16 11:13:34 2004 +@@ -3,6 +3,15 @@ + # Written by Bram Cohen + # see LICENSE.txt for license information + ++from BitTorrent import PSYCO ++if PSYCO.psyco: ++ try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++ except: ++ pass ++ + from sys import argv, version + + from btcompletedir import completedir diff --git a/net-p2p/py-bittorrent/files/extra-psyco-patch-btdownloadcurses.py b/net-p2p/py-bittorrent/files/extra-psyco-patch-btdownloadcurses.py new file mode 100644 index 000000000000..f9914687c61b --- /dev/null +++ b/net-p2p/py-bittorrent/files/extra-psyco-patch-btdownloadcurses.py @@ -0,0 +1,18 @@ +--- btdownloadcurses.py Thu Dec 16 11:03:11 2004 ++++ btdownloadcurses.py Thu Dec 16 11:13:54 2004 +@@ -3,6 +3,15 @@ + # Written by Henry 'Pi' James + # see LICENSE.txt for license information + ++from BitTorrent import PSYCO ++if PSYCO.psyco: ++ try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++ except: ++ pass ++ + from BitTorrent.download import download + from threading import Event + from os.path import abspath 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..d9f8aa0300da --- /dev/null +++ b/net-p2p/py-bittorrent/files/extra-psyco-patch-btdownloadgui.py @@ -0,0 +1,18 @@ +--- btdownloadgui.py Thu Dec 16 11:03:11 2004 ++++ btdownloadgui.py Thu Dec 16 11:14:07 2004 +@@ -3,6 +3,15 @@ + # Written by Bram Cohen and Myers Carpenter + # see LICENSE.txt for license information + ++from BitTorrent import PSYCO ++if PSYCO.psyco: ++ try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++ except: ++ pass ++ + from sys import argv + from BitTorrent import version + from BitTorrent.download import download diff --git a/net-p2p/py-bittorrent/files/extra-psyco-patch-btdownloadheadless.py b/net-p2p/py-bittorrent/files/extra-psyco-patch-btdownloadheadless.py new file mode 100644 index 000000000000..ba6038187d07 --- /dev/null +++ b/net-p2p/py-bittorrent/files/extra-psyco-patch-btdownloadheadless.py @@ -0,0 +1,18 @@ +--- btdownloadheadless.py Thu Dec 16 11:03:11 2004 ++++ btdownloadheadless.py Thu Dec 16 11:14:16 2004 +@@ -3,6 +3,15 @@ + # Written by Bram Cohen + # see LICENSE.txt for license information + ++from BitTorrent import PSYCO ++if PSYCO.psyco: ++ try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++ except: ++ pass ++ + from BitTorrent.download import download + from threading import Event + from os.path import abspath diff --git a/net-p2p/py-bittorrent/files/extra-psyco-patch-btlaunchmany.py b/net-p2p/py-bittorrent/files/extra-psyco-patch-btlaunchmany.py new file mode 100644 index 000000000000..b52ef8d96737 --- /dev/null +++ b/net-p2p/py-bittorrent/files/extra-psyco-patch-btlaunchmany.py @@ -0,0 +1,18 @@ +--- btlaunchmany.py Thu Dec 16 11:03:11 2004 ++++ btlaunchmany.py Thu Dec 16 11:14:54 2004 +@@ -7,6 +7,15 @@ + # fmttime and fmtsize stolen from btdownloadcurses. + # see LICENSE.txt for license information + ++from BitTorrent import PSYCO ++if PSYCO.psyco: ++ try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++ except: ++ pass ++ + from BitTorrent.download import download + from threading import Thread, Event, Lock + from os import listdir diff --git a/net-p2p/py-bittorrent/files/extra-psyco-patch-btlaunchmanycurses.py b/net-p2p/py-bittorrent/files/extra-psyco-patch-btlaunchmanycurses.py new file mode 100644 index 000000000000..7cf9c34eefdb --- /dev/null +++ b/net-p2p/py-bittorrent/files/extra-psyco-patch-btlaunchmanycurses.py @@ -0,0 +1,18 @@ +--- btlaunchmanycurses.py Thu Dec 16 11:03:11 2004 ++++ btlaunchmanycurses.py Thu Dec 16 11:14:47 2004 +@@ -7,6 +7,15 @@ + # fmttime and fmtsize stolen from btdownloadcurses. + # see LICENSE.txt for license information + ++from BitTorrent import PSYCO ++if PSYCO.psyco: ++ try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++ except: ++ pass ++ + from BitTorrent.download import download + from threading import Thread, Event, Lock + from os import listdir diff --git a/net-p2p/py-bittorrent/files/extra-psyco-patch-btmakemetafile.py b/net-p2p/py-bittorrent/files/extra-psyco-patch-btmakemetafile.py new file mode 100644 index 000000000000..27caf5b03793 --- /dev/null +++ b/net-p2p/py-bittorrent/files/extra-psyco-patch-btmakemetafile.py @@ -0,0 +1,18 @@ +--- btmakemetafile.py Thu Dec 16 11:03:11 2004 ++++ btmakemetafile.py Thu Dec 16 11:15:10 2004 +@@ -3,6 +3,15 @@ + # Written by Bram Cohen + # see LICENSE.txt for license information + ++from BitTorrent import PSYCO ++if PSYCO.psyco: ++ try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++ except: ++ pass ++ + from sys import argv + from os.path import getsize, split, join, abspath, isdir + from os import listdir diff --git a/net-p2p/py-bittorrent/files/extra-psyco-patch-bttrack.py b/net-p2p/py-bittorrent/files/extra-psyco-patch-bttrack.py new file mode 100644 index 000000000000..eee72f22c626 --- /dev/null +++ b/net-p2p/py-bittorrent/files/extra-psyco-patch-bttrack.py @@ -0,0 +1,18 @@ +--- bttrack.py Thu Dec 16 11:03:11 2004 ++++ bttrack.py Thu Dec 16 11:15:33 2004 +@@ -3,6 +3,15 @@ + # Written by Bram Cohen + # see LICENSE.txt for license information + ++from BitTorrent import PSYCO ++if PSYCO.psyco: ++ try: ++ import psyco ++ assert psyco.__version__ >= 0x010300f0 ++ psyco.full() ++ except: ++ pass ++ + from sys import argv + from BitTorrent.track import track + |