diff options
author | Joshua Jackson <tsunam@gentoo.org> | 2006-02-11 02:31:25 +0000 |
---|---|---|
committer | Joshua Jackson <tsunam@gentoo.org> | 2006-02-11 02:31:25 +0000 |
commit | 5d4af229905ea1d928372bca1457d4b11f0152fd (patch) | |
tree | 9f260426fa0f2e0f3983a8610aa500fa96697563 /net-p2p/rufus | |
parent | New version. (diff) | |
download | gentoo-2-5d4af229905ea1d928372bca1457d4b11f0152fd.tar.gz gentoo-2-5d4af229905ea1d928372bca1457d4b11f0152fd.tar.bz2 gentoo-2-5d4af229905ea1d928372bca1457d4b11f0152fd.zip |
*** empty log message ***
Diffstat (limited to 'net-p2p/rufus')
-rw-r--r-- | net-p2p/rufus/ChangeLog | 10 | ||||
-rw-r--r-- | net-p2p/rufus/Manifest | 12 | ||||
-rw-r--r-- | net-p2p/rufus/files/digest-rufus-0.7.0 | 3 | ||||
-rw-r--r-- | net-p2p/rufus/files/rufus-0.7.0-gentoo.patch | 197 | ||||
-rw-r--r-- | net-p2p/rufus/metadata.xml | 10 | ||||
-rw-r--r-- | net-p2p/rufus/rufus-0.7.0.ebuild | 59 |
6 files changed, 291 insertions, 0 deletions
diff --git a/net-p2p/rufus/ChangeLog b/net-p2p/rufus/ChangeLog new file mode 100644 index 000000000000..423805a8f302 --- /dev/null +++ b/net-p2p/rufus/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-p2p/rufus +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/rufus/ChangeLog,v 1.1 2006/02/11 02:31:25 tsunam Exp $ + +*rufus-0.7.0 (11 Feb 2006) + + 11 Feb 2006; Joshua Jackson <tsunam@gentoo.org> + +files/rufus-0.7.0-gentoo.patch, +metadata.xml, +rufus-0.7.0.ebuild: + Initial commit to the tree + diff --git a/net-p2p/rufus/Manifest b/net-p2p/rufus/Manifest new file mode 100644 index 000000000000..1b2bf17daef2 --- /dev/null +++ b/net-p2p/rufus/Manifest @@ -0,0 +1,12 @@ +MD5 53735818a492283e4e0e7ef317d78650 files/digest-rufus-0.7.0 235 +RMD160 a830d9d2336b99e4d876b0c66ba54b8545bee624 files/digest-rufus-0.7.0 235 +SHA256 d656a8f73cdc30f9977d114993658f353b56fe0454e55e8e17ecb1083100e89c files/digest-rufus-0.7.0 235 +MD5 8800e003805fd336956205b3cf50a1aa files/rufus-0.7.0-gentoo.patch 7756 +RMD160 d1999a8c1cac7f1063a7f2ee9c660344fa56a167 files/rufus-0.7.0-gentoo.patch 7756 +SHA256 5a12131d9cd98facdd81f5da7f8609bb396976cb3d3c10b286cda944f70ceb90 files/rufus-0.7.0-gentoo.patch 7756 +MD5 69af2248cd5900914b771a78f9e6633f metadata.xml 322 +RMD160 4d82be6d9ba5af3d121e8b5e56bdf4c705e20dca metadata.xml 322 +SHA256 3664e944ab2b15e6a135290de6b6566bf26cfee5b72638f7f9ad4a6f2960400c metadata.xml 322 +MD5 439801a4eaedafcb934993904e420491 rufus-0.7.0.ebuild 1058 +RMD160 1d6c0cfbf50b8c9878f137474161dee6ade0d4af rufus-0.7.0.ebuild 1058 +SHA256 e212b2663b9bde869c2e0667d5d36163745a5d7a2c70e4765357fad8401d6b32 rufus-0.7.0.ebuild 1058 diff --git a/net-p2p/rufus/files/digest-rufus-0.7.0 b/net-p2p/rufus/files/digest-rufus-0.7.0 new file mode 100644 index 000000000000..52af6026172d --- /dev/null +++ b/net-p2p/rufus/files/digest-rufus-0.7.0 @@ -0,0 +1,3 @@ +MD5 071620747ac9d3c86aa8089dd5c82bb2 rufus-0.7.0.tar.gz 463406 +RMD160 960e78dd73bc8eab163ae2ff0302d13921b6a431 rufus-0.7.0.tar.gz 463406 +SHA256 14f0d0996a56b53349c9d21b6a3fd54849284fef1ee50db8f8a7defdf06bb131 rufus-0.7.0.tar.gz 463406 diff --git a/net-p2p/rufus/files/rufus-0.7.0-gentoo.patch b/net-p2p/rufus/files/rufus-0.7.0-gentoo.patch new file mode 100644 index 000000000000..7b2b75e56731 --- /dev/null +++ b/net-p2p/rufus/files/rufus-0.7.0-gentoo.patch @@ -0,0 +1,197 @@ +--- rufus.py.orig 2006-01-23 14:53:13.000000000 -0800 ++++ rufus.py 2006-01-23 14:59:28.000000000 -0800 +@@ -23,9 +23,9 @@ + win32_flag = False
+
+ if win32_flag:
+- from webbrowser import open_new
++ from Rufus.webbrowser import open_new
+ else:
+- from leoxv import open_new
++ from Rufus.leoxv import open_new
+
+ if not win32_flag:
+ oldStd = sys.stdout
+@@ -36,25 +36,25 @@ + from threading import Event, Thread, Lock
+ from os.path import dirname, join, split, splitext, exists, abspath, normpath
+ from traceback import print_exc
+-from btconfig import BTConfig
+-from images import Images
+-from g3widgets import *
+-from masterlist import MasterList
+-from graphpanel import GraphPanel
+-from detailspanel import DetailsPanel
+-from statuspanel import StatusPanel
+-from msgpanel import MessagePanel
+-from friendspanel import FriendsPanel
+-from searchpanel import SearchPopup
+-from g3taskbar import G3TaskBar
++from Rufus.btconfig import BTConfig
++from Rufus.images import Images
++from Rufus.g3widgets import *
++from Rufus.masterlist import MasterList
++from Rufus.graphpanel import GraphPanel
++from Rufus.detailspanel import DetailsPanel
++from Rufus.statuspanel import StatusPanel
++from Rufus.msgpanel import MessagePanel
++from Rufus.friendspanel import FriendsPanel
++from Rufus.searchpanel import SearchPopup
++from Rufus.g3taskbar import G3TaskBar
+ from BitTorrent import version
+-import friend
+-from g3peerid import CreatePeerId
+-from peerlistcache import PeerListCache
+-from g3rpcserver import G3RPCServer
++import Rufus.friend
++from Rufus.g3peerid import CreatePeerId
++from Rufus.peerlistcache import PeerListCache
++from Rufus.g3rpcserver import G3RPCServer
+ from BitTorrent.bencode import bencode, bdecode
+-from btsession import BTSession
+-from g3rss import RSSPanel
++from Rufus.btsession import BTSession
++from Rufus.g3rss import RSSPanel
+ from BitTorrent.encodedata import encodefile
+ import encodings
+ import gettext
+@@ -72,9 +72,9 @@ +
+ if win32_flag:
+ from os import startfile
+- from webbrowser import open_new
++ from Rufus.webbrowser import open_new
+ else:
+- from leoxv import startfile, open_new, echo_browser_test, unparseloadurl
++ from Rufus.leoxv import startfile, open_new, echo_browser_test, unparseloadurl
+
+ debug_flag = False
+
+@@ -491,7 +491,7 @@ +
+ def OnAbout(self, event):
+ pos = self.ClientToScreen( (70,30) )
+- from optiondlg import About_Box
++ from Rufus.optiondlg import About_Box
+ a = About_Box(self, self.btconfig, self.images, pos )
+ #self.notebook.SetSelection(5)
+
+@@ -511,14 +511,14 @@ + pos = self.ClientToScreen( (50,20) )
+ s = self.GetSession(id)
+ if s != None:
+- from optiondlg import SingleOption
++ from Rufus.optiondlg import SingleOption
+ option = SingleOption(self, pos, s.GetCfg(), option_class, self.images, self.cfg_visflag)
+
+
+ def OnPreferences(self, event):
+ """ Open preferences dialog """
+ if not self.cfg_visflag.isSet():
+- from optiondlg import Options
++ from Rufus.optiondlg import Options
+ pos = self.ClientToScreen( (50,20) )
+ self.optionswin = Options(self, pos, self.btconfig, self.images,
+ self.cfg_visflag, syncfunc = self.SyncSessionOptions)
+@@ -929,7 +929,7 @@ + def TrackerMngr(self, id):
+ s = self.GetSession(id)
+ if s != None and s.IsRunning():
+- from trackermngr import TrackerDlg
++ from Rufus.trackermngr import TrackerDlg
+ tmngr = TrackerDlg(self, id, self.btconfig, self.images,
+ s.download.SetAnnounceURLs, self.CmdAnnounce)
+ tmngr.Populate( s.download.GetAnnounceURLs() )
+@@ -939,7 +939,7 @@ + def DLOrderMngrDlg(self, id, manual=False):
+ s = self.GetSession(id)
+ if s != None and (manual or self.btconfig['use_multimngr']) and self.IsShown():
+- from dlordermngr import DLOrderMngr
++ from Rufus.dlordermngr import DLOrderMngr
+ manager = DLOrderMngr(self, self.btconfig, self.images,
+ s.GetFileRanges(), s.IsDLOrderRandom(), s.SetPieceRanges)
+
+@@ -947,7 +947,7 @@ + def ShowTorrentDlg(self, id):
+ s = self.GetSession(id)
+ if not s.spew and s != None and s.GetStatusData() != None:
+- from btdownloadgui import DownloadInfoFrame
++ from Rufus.btdownloadgui import DownloadInfoFrame
+ s.spew = True
+ self.prgdlgs[len(self.prgdlgs)] = DownloadInfoFrame(self, s, self.images,
+ self.pl_dnsloop.GetPeerInfo, self.FriendCatcher)
+@@ -1483,7 +1483,7 @@ + #need some temp place to put this
+ path = self.path
+
+- from urlfetch import T_FetchFile
++ from Rufus.urlfetch import T_FetchFile
+ geturl = T_FetchFile(self.InvokeLater, self.AddFromFile, url, path, referer)
+ geturl.start()
+ return True
+@@ -1730,7 +1730,7 @@ +
+ def OnNewVersion(self, new_version):
+ self.update_notified = True
+- from optiondlg import UpdateDlg
++ from Rufus.optiondlg import UpdateDlg
+ up_dlg = UpdateDlg(self, btconfig = BTConfig(), bmps=self.images, ver=version, new_ver=new_version)
+ up_mode = up_dlg.ShowModal()
+ if up_mode == wx.ID_OK:
+@@ -1743,7 +1743,7 @@ +
+
+ def CreateTorrent(self, event):
+- from btcompletedirgui import CreateTorrentDlg
++ from Rufus.btcompletedirgui import CreateTorrentDlg
+ pos = self.ClientToScreen( (50,20) )
+ frame = CreateTorrentDlg(self, self.btconfig, pos, self.AddFromFile)
+ frame.Show(True)
+@@ -1769,7 +1769,7 @@ + dlg.Destroy()
+
+ def NewTorrent_URL(self, event):
+- from urlfetch import URLDialog
++ from Rufus.urlfetch import URLDialog
+
+ data = None
+ data = wx.TextDataObject()
+@@ -1821,7 +1821,7 @@ + apply2all = False
+
+ if death_mode == -1:
+- from optiondlg import RemoveTorrentDlg
++ from Rufus.optiondlg import RemoveTorrentDlg
+ remove_dlg = RemoveTorrentDlg(self, btconfig = BTConfig(), bmps=self.images)
+ death_mode = remove_dlg.ShowModal()
+ remove_dlg.Destroy()
+@@ -2031,7 +2031,7 @@ + else:
+ print 'Another instance is already running'
+ if len(sys.argv[1:]) > 0:
+- from g3rpcclient import G3RPCCLient
++ from Rufus.g3rpcclient import G3RPCCLient
+ rpc = G3RPCCLient(dirname(sys.argv[0]))
+ rpc.AddTorrent(sys.argv[1:][0])
+ else:
+--- rufus.py.orig 2006-01-23 15:02:20.000000000 -0800 ++++ rufus.py 2006-01-23 15:03:38.000000000 -0800 +@@ -292,7 +292,6 @@ + self.lang_codes.append(i)
+ wx.EVT_MENU(self, lang_id, self.SetLanguage)
+ lang_id = lang_id + 1
+- menuBar.Append(menu1, _("&Language"))
+
+ menu1 = wx.Menu()
+ menu1.Append(207, _("A&bout\tCtrl+A"), _("About"))
+--- rufus.py.old 2006-02-04 13:45:13.000000000 -0800 ++++ rufus.py 2006-02-04 13:45:38.000000000 -0800 +@@ -154,7 +154,7 @@ + self.images = Images(path)
+ self.pl_dnsloop = PeerListCache(self.doneflag)
+
+- self.friends = friend.FriendList(self.btconfig)
++ self.friends = Rufus.friend.FriendList(self.btconfig)
+ self.friends.Load()
+
+ self.peer_id = CreatePeerId(self.btconfig.Get("nickname"))
diff --git a/net-p2p/rufus/metadata.xml b/net-p2p/rufus/metadata.xml new file mode 100644 index 000000000000..7454ce7672ad --- /dev/null +++ b/net-p2p/rufus/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-p2p</herd> + <description>A bittorrent client based off of g3torrent</description> +<maintainer> + <email>tsunam@gentoo.org</email> + <name>Joshua Jackson</name> +</maintainer> +</pkgmetadata> diff --git a/net-p2p/rufus/rufus-0.7.0.ebuild b/net-p2p/rufus/rufus-0.7.0.ebuild new file mode 100644 index 000000000000..37d0698aaadf --- /dev/null +++ b/net-p2p/rufus/rufus-0.7.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/rufus/rufus-0.7.0.ebuild,v 1.1 2006/02/11 02:31:25 tsunam Exp $ + +inherit distutils + +MY_PN=${PN/r/R} + +DESCRIPTION="A bittorrent client based off g3torrent" +HOMEPAGE="http://rufus.sourceforge.net/" +SRC_URI="http://www.tsunam.org/files/overlay/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="${RDEPEND} + app-arch/unzip" +RDEPEND=">=dev-lang/python-2.4.0 + >=dev-python/wxpython-2.6.1.0 + =dev-python/pyopenssl-0.6 + dev-libs/openssl" + +PROVIDE="virtual/bittorrent" + +PIXMAPLOC="/usr/share/rufus" +S="${WORKDIR}/${P/-/_}" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.patch +} + + + +src_install() { + distutils_src_install + dodir ${PIXMAPLOC} + insinto ${PIXMAPLOC} + doins rufus.py + + dodir ${PIXMAPLOC}/images + insinto ${PIXMAPLOC}/images + doins images/*.png images/*.bmp + + insinto /usr/share/pixmaps + doins images/rufus.png + + dodir ${PIXMAPLOC}/images/flags + insinto ${PIXMAPLOC}/images/flags + doins images/flags/* + + dobin rufus + + dodoc TODO.TXT CHANGELOG.TXT + +} |