summaryrefslogtreecommitdiff
path: root/net/py-bittorrent-devel/files/extra-psyco-patch-launchmany-curses.py
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-08-28 18:23:02 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-08-28 18:23:02 +0000
commitb3ebc48ba2815aa11004aa788dc0d627729bc36f (patch)
tree08addacaaa7e562bafa8c50df3ab01e2ed71b13d /net/py-bittorrent-devel/files/extra-psyco-patch-launchmany-curses.py
parentNew port ocaml-event version 0.5.0: An ocaml wrapper for the libevent API (diff)
o Update to 4.1.4
o Most command line scripts have been renamed, check http://www.bittorrent.com/bittorrent_versions.html
Notes
Notes: svn path=/head/; revision=141159
Diffstat (limited to 'net/py-bittorrent-devel/files/extra-psyco-patch-launchmany-curses.py')
-rw-r--r--net/py-bittorrent-devel/files/extra-psyco-patch-launchmany-curses.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/py-bittorrent-devel/files/extra-psyco-patch-launchmany-curses.py b/net/py-bittorrent-devel/files/extra-psyco-patch-launchmany-curses.py
new file mode 100644
index 000000000000..af976bfae13f
--- /dev/null
+++ b/net/py-bittorrent-devel/files/extra-psyco-patch-launchmany-curses.py
@@ -0,0 +1,18 @@
+--- launchmany-curses.py.orig Tue Aug 23 22:49:16 2005
++++ launchmany-curses.py Tue Aug 23 22:50:36 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')
+