summaryrefslogtreecommitdiff
path: root/net/py-bittorrent-devel/files/extra-psyco-patch-btmaketorrent.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/py-bittorrent-devel/files/extra-psyco-patch-btmaketorrent.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/py-bittorrent-devel/files/extra-psyco-patch-btmaketorrent.py')
-rw-r--r--net/py-bittorrent-devel/files/extra-psyco-patch-btmaketorrent.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/py-bittorrent-devel/files/extra-psyco-patch-btmaketorrent.py b/net/py-bittorrent-devel/files/extra-psyco-patch-btmaketorrent.py
new file mode 100644
index 000000000000..89e4cb15cf3d
--- /dev/null
+++ b/net/py-bittorrent-devel/files/extra-psyco-patch-btmaketorrent.py
@@ -0,0 +1,18 @@
+--- btmaketorrent.py.orig Fri Mar 11 23:15:38 2005
++++ btmaketorrent.py Fri Mar 11 23:15:43 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
++
+ import sys
+ from BitTorrent.makemetafile import make_meta_files
+ from BitTorrent.parseargs import parseargs, printHelp