summaryrefslogtreecommitdiff
path: root/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-btmaketorrentgui.py
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-05-30 03:17:30 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-05-30 03:17:30 +0000
commit5a8b2663be28649cd59d13f90e769515ad0699e1 (patch)
tree95ae304373c6fb12d279cc66e2e8b9be6d90102d /net-p2p/py-bittorrent-devel/files/extra-psyco-patch-btmaketorrentgui.py
parentAdd mecab-razil , yet Another Part-of-Speech and Morphological Analyzer (diff)
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
Notes
Notes: svn path=/head/; revision=136404
Diffstat (limited to 'net-p2p/py-bittorrent-devel/files/extra-psyco-patch-btmaketorrentgui.py')
-rw-r--r--net-p2p/py-bittorrent-devel/files/extra-psyco-patch-btmaketorrentgui.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-btmaketorrentgui.py b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-btmaketorrentgui.py
new file mode 100644
index 000000000000..25d9dbbfe99f
--- /dev/null
+++ b/net-p2p/py-bittorrent-devel/files/extra-psyco-patch-btmaketorrentgui.py
@@ -0,0 +1,18 @@
+--- btmaketorrentgui.py.orig Sun May 29 23:28:15 2005
++++ btmaketorrentgui.py Sun May 29 23:31:51 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 gettext
+ gettext.install('bittorrent', 'locale')
+