1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Update to 4.0.2

This commit is contained in:
Mario Sergio Fujikawa Ferreira 2005-05-30 03:27:00 +00:00
parent 5a8b2663be
commit 6335722ac1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136405
10 changed files with 64 additions and 56 deletions

View File

@ -6,10 +6,12 @@
#
PORTNAME= BitTorrent
PORTVERSION= 4.0.1
PORTVERSION= 4.0.2
PORTEPOCH= 1
CATEGORIES?= net python
MASTER_SITES= http://www.bittorrent.com/dl/
MASTER_SITES= http://www.bittorrent.com/dl/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:L}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lioux@FreeBSD.org
@ -67,10 +69,12 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
EXTRA_PATCHES+= \
${FILESDIR}/extra-psyco-patch-btdownloadcurses.py \
${FILESDIR}/extra-psyco-patch-btdownloadgui.py \
${FILESDIR}/extra-psyco-patch-btdownloadheadless.py \
${FILESDIR}/extra-psyco-patch-btlaunchmany.py \
${FILESDIR}/extra-psyco-patch-btlaunchmanycurses.py \
${FILESDIR}/extra-psyco-patch-btmaketorrent.py \
${FILESDIR}/extra-psyco-patch-btmaketorrentgui.py \
${FILESDIR}/extra-psyco-patch-btreannouce.py \
${FILESDIR}/extra-psyco-patch-btrename.py \
${FILESDIR}/extra-psyco-patch-btshowmetainfo.py \

View File

@ -1,2 +1,2 @@
MD5 (BitTorrent-4.0.1.tar.gz) = e890d856d43b3d0af14b28714bc5801a
SIZE (BitTorrent-4.0.1.tar.gz) = 154427
MD5 (BitTorrent-4.0.2.tar.gz) = 4640b7c1bac3146d628f54b20afb87b7
SIZE (BitTorrent-4.0.2.tar.gz) = 155062

View File

@ -1,18 +0,0 @@
--- BitTorrent/launchmanycore.py.orig Sat Mar 12 10:00:19 2005
+++ BitTorrent/launchmanycore.py Sat Mar 12 10:00:40 2005
@@ -13,6 +13,15 @@
# Original version written by John Hoffman, heavily modified for different
# multitorrent architecture by Uoti Urpala (over 40% shorter than original)
+from BitTorrent import PSYCO
+if PSYCO.psyco:
+ try:
+ import psyco
+ assert psyco.__version__ >= 0x010300f0
+ psyco.full()
+ except:
+ pass
+
import os
from cStringIO import StringIO
from traceback import print_exc

View File

@ -0,0 +1,18 @@
--- btdownloadgui.py.orig Mon May 30 00:19:57 2005
+++ btdownloadgui.py Mon May 30 00:20:19 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
assert sys.version_info >= (2, 3), "Install Python 2.3 or greater"

View File

@ -1,8 +1,8 @@
--- BitTorrent/makemetafile.py.orig Sat Mar 12 09:58:42 2005
+++ BitTorrent/makemetafile.py Sat Mar 12 09:59:06 2005
@@ -12,6 +12,15 @@
--- btmaketorrentgui.py.orig Mon May 30 00:20:48 2005
+++ btmaketorrentgui.py Mon May 30 00:21:00 2005
@@ -14,6 +14,15 @@
# Written by Bram Cohen
from __future__ import division
+from BitTorrent import PSYCO
+if PSYCO.psyco:
@ -13,6 +13,6 @@
+ except:
+ pass
+
from __future__ import division
import os
import sys

View File

@ -6,10 +6,12 @@
#
PORTNAME= BitTorrent
PORTVERSION= 4.0.1
PORTVERSION= 4.0.2
PORTEPOCH= 1
CATEGORIES?= net python
MASTER_SITES= http://www.bittorrent.com/dl/
MASTER_SITES= http://www.bittorrent.com/dl/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:L}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lioux@FreeBSD.org
@ -67,10 +69,12 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
EXTRA_PATCHES+= \
${FILESDIR}/extra-psyco-patch-btdownloadcurses.py \
${FILESDIR}/extra-psyco-patch-btdownloadgui.py \
${FILESDIR}/extra-psyco-patch-btdownloadheadless.py \
${FILESDIR}/extra-psyco-patch-btlaunchmany.py \
${FILESDIR}/extra-psyco-patch-btlaunchmanycurses.py \
${FILESDIR}/extra-psyco-patch-btmaketorrent.py \
${FILESDIR}/extra-psyco-patch-btmaketorrentgui.py \
${FILESDIR}/extra-psyco-patch-btreannouce.py \
${FILESDIR}/extra-psyco-patch-btrename.py \
${FILESDIR}/extra-psyco-patch-btshowmetainfo.py \

View File

@ -1,2 +1,2 @@
MD5 (BitTorrent-4.0.1.tar.gz) = e890d856d43b3d0af14b28714bc5801a
SIZE (BitTorrent-4.0.1.tar.gz) = 154427
MD5 (BitTorrent-4.0.2.tar.gz) = 4640b7c1bac3146d628f54b20afb87b7
SIZE (BitTorrent-4.0.2.tar.gz) = 155062

View File

@ -1,18 +0,0 @@
--- BitTorrent/launchmanycore.py.orig Sat Mar 12 10:00:19 2005
+++ BitTorrent/launchmanycore.py Sat Mar 12 10:00:40 2005
@@ -13,6 +13,15 @@
# Original version written by John Hoffman, heavily modified for different
# multitorrent architecture by Uoti Urpala (over 40% shorter than original)
+from BitTorrent import PSYCO
+if PSYCO.psyco:
+ try:
+ import psyco
+ assert psyco.__version__ >= 0x010300f0
+ psyco.full()
+ except:
+ pass
+
import os
from cStringIO import StringIO
from traceback import print_exc

View File

@ -0,0 +1,18 @@
--- btdownloadgui.py.orig Mon May 30 00:19:57 2005
+++ btdownloadgui.py Mon May 30 00:20:19 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
assert sys.version_info >= (2, 3), "Install Python 2.3 or greater"

View File

@ -1,8 +1,8 @@
--- BitTorrent/makemetafile.py.orig Sat Mar 12 09:58:42 2005
+++ BitTorrent/makemetafile.py Sat Mar 12 09:59:06 2005
@@ -12,6 +12,15 @@
--- btmaketorrentgui.py.orig Mon May 30 00:20:48 2005
+++ btmaketorrentgui.py Mon May 30 00:21:00 2005
@@ -14,6 +14,15 @@
# Written by Bram Cohen
from __future__ import division
+from BitTorrent import PSYCO
+if PSYCO.psyco:
@ -13,6 +13,6 @@
+ except:
+ pass
+
from __future__ import division
import os
import sys