summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2005-11-01 17:26:56 +0000
committerMartin Holzer <mholzer@gentoo.org>2005-11-01 17:26:56 +0000
commit18e3bcedd6c2155d3f4d67882e645f11c628ae65 (patch)
tree546dcb211d0caa5085ab37c380abf5b979607f6c /net-p2p/bittornado
parentStable on sparc wrt #111038 (diff)
downloadgentoo-2-18e3bcedd6c2155d3f4d67882e645f11c628ae65.tar.gz
gentoo-2-18e3bcedd6c2155d3f4d67882e645f11c628ae65.tar.bz2
gentoo-2-18e3bcedd6c2155d3f4d67882e645f11c628ae65.zip
Version bumped
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'net-p2p/bittornado')
-rw-r--r--net-p2p/bittornado/ChangeLog7
-rw-r--r--net-p2p/bittornado/Manifest6
-rw-r--r--net-p2p/bittornado/bittornado-0.3.14.ebuild74
-rw-r--r--net-p2p/bittornado/files/digest-bittornado-0.3.141
4 files changed, 85 insertions, 3 deletions
diff --git a/net-p2p/bittornado/ChangeLog b/net-p2p/bittornado/ChangeLog
index a16d8d9848c1..d1dcc8a2da0f 100644
--- a/net-p2p/bittornado/ChangeLog
+++ b/net-p2p/bittornado/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-p2p/bittornado
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.43 2005/10/03 00:13:07 mkay Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.44 2005/11/01 17:26:56 mholzer Exp $
+
+*bittornado-0.3.14 (01 Nov 2005)
+
+ 01 Nov 2005; Martin Holzer <mholzer@gentoo.org> +bittornado-0.3.14.ebuild:
+ Version bumped
*bittornado-0.3.13 (03 Oct 2005)
diff --git a/net-p2p/bittornado/Manifest b/net-p2p/bittornado/Manifest
index b3f3f3dcbfe6..2ac28990ba8e 100644
--- a/net-p2p/bittornado/Manifest
+++ b/net-p2p/bittornado/Manifest
@@ -1,9 +1,10 @@
MD5 70f8c1a053adf4427fd61b5078809075 ChangeLog 6041
MD5 531aab1de27326c798ace924206120c2 bittornado-0.3.10.ebuild 2068
MD5 ce904358a52fe29a30ac03b0d22300c2 bittornado-0.3.12.ebuild 2064
-MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
MD5 aca02f6014bfd515c600017d6c555782 bittornado-0.3.8.ebuild 2058
-MD5 5310490008ac12d6d4f855546b6f706b bittornado-0.3.13.ebuild 2081
+MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
+MD5 5310490008ac12d6d4f855546b6f706b bittornado-0.3.14.tar.gz 2081
+MD5 5310490008ac12d6d4f855546b6f706b bittornado-0.3.14.ebuild 2081
MD5 c7977a11c1bf8a5d7afb8772202af87d files/bittornado-wxpython-pre2.5-fix.patch 297
MD5 5e0dbf4ae726b145dcec6fb57526e4c5 files/bttrack.conf 728
MD5 a706406b4513eb97a4715be7a4b3cfd7 files/bttrack.rc 631
@@ -12,3 +13,4 @@ MD5 c3329d42b780ea4163ec94d1336d610b files/digest-bittornado-0.3.12 69
MD5 68ff80aa60200feb7a3c22a3ad17bbea files/digest-bittornado-0.3.8 68
MD5 7779a7eaf51eb9f84da8a588050f53fa files/favicon.ico 1406
MD5 467bfdefa6920200b174d5cd8073a42a files/digest-bittornado-0.3.13 69
+MD5 15de06eb1648815059fcf897ddf24601 files/digest-bittornado-0.3.14 69
diff --git a/net-p2p/bittornado/bittornado-0.3.14.ebuild b/net-p2p/bittornado/bittornado-0.3.14.ebuild
new file mode 100644
index 000000000000..ccbcbd4ecb2b
--- /dev/null
+++ b/net-p2p/bittornado/bittornado-0.3.14.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/bittornado-0.3.14.ebuild,v 1.1 2005/11/01 17:26:56 mholzer Exp $
+
+inherit distutils eutils
+
+MY_PN="BitTornado"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="TheShad0w's experimental BitTorrent client"
+HOMEPAGE="http://www.bittornado.com/"
+SRC_URI="http://bittornado.com/download/${MY_P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gtk"
+
+RDEPEND="gtk? ( >=dev-python/wxpython-2.4 )
+ >=dev-lang/python-2.1
+ !virtual/bittorrent"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ >=sys-apps/sed-4.0.5"
+PROVIDE="virtual/bittorrent"
+
+S="${WORKDIR}/${MY_PN}-CVS"
+PIXMAPLOC="/usr/share/pixmaps/bittornado"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # fixes wrong icons path
+ sed -i "s:os.path.abspath(os.path.dirname(os.path.realpath(sys.argv\[0\]))):\"${PIXMAPLOC}/\":" btdownloadgui.py
+ # fixes a bug with < wxpython-2.5 which is not yet available in portage
+ epatch ${FILESDIR}/${PN}-wxpython-pre2.5-fix.patch
+}
+
+src_install() {
+ distutils_src_install
+
+ dodir etc
+ cp -pPR /etc/mailcap ${D}/etc/
+ MAILCAP_STRING="application/x-bittorrent; /usr/bin/btdownloadgui.py '%s'; test=test -n \"\$DISPLAY\""
+
+ if use gtk; then
+ dodir ${PIXMAPLOC}
+ insinto ${PIXMAPLOC}
+ doins icons/*.ico icons/*.gif
+ if [ -n "`grep 'application/x-bittorrent' ${D}/etc/mailcap`" ]; then
+ # replace bittorrent entry if it already exists
+ einfo "updating bittorrent mime info"
+ sed -i "s,application/x-bittorrent;.*,${MAILCAP_STRING}," ${D}/etc/mailcap
+ else
+ # add bittorrent entry if it doesn't exist
+ einfo "adding bittorrent mime info"
+ echo "${MAILCAP_STRING}" >> ${D}/etc/mailcap
+ fi
+ else
+ # get rid of any reference to the not-installed gui version
+ sed -i '/btdownloadgui/d' ${D}/etc/mailcap
+ rm ${D}/usr/bin/*gui.py
+ fi
+ insinto /usr/share/bittorrent
+ doins ${FILESDIR}/favicon.ico
+
+ insinto /etc/conf.d
+ newins ${FILESDIR}/bttrack.conf bttrack
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/bttrack.rc bttrack
+}
+
diff --git a/net-p2p/bittornado/files/digest-bittornado-0.3.14 b/net-p2p/bittornado/files/digest-bittornado-0.3.14
new file mode 100644
index 000000000000..4f13e6927af6
--- /dev/null
+++ b/net-p2p/bittornado/files/digest-bittornado-0.3.14
@@ -0,0 +1 @@
+MD5 5ddccbbe466bb9cd90080a23be73248e BitTornado-0.3.14.tar.gz 188058