summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-07-17 03:18:30 +0000
committerJon Hood <squinky86@gentoo.org>2004-07-17 03:18:30 +0000
commitda6c69d6cdc1d43a6e64367cb67a989a53e52a48 (patch)
tree0d3d235469148c52b3158988173c4a6b1207d72b /net-p2p
parentversion bump, homepage fix, #57343 (diff)
downloadhistorical-da6c69d6cdc1d43a6e64367cb67a989a53e52a48.tar.gz
historical-da6c69d6cdc1d43a6e64367cb67a989a53e52a48.tar.bz2
historical-da6c69d6cdc1d43a6e64367cb67a989a53e52a48.zip
version bump, closes #57111
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/bittornado/ChangeLog7
-rw-r--r--net-p2p/bittornado/Manifest14
-rw-r--r--net-p2p/bittornado/bittornado-0.3.7.ebuild66
3 files changed, 80 insertions, 7 deletions
diff --git a/net-p2p/bittornado/ChangeLog b/net-p2p/bittornado/ChangeLog
index 47fa06344d32..6ec477f2c986 100644
--- a/net-p2p/bittornado/ChangeLog
+++ b/net-p2p/bittornado/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-p2p/bittornado
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.20 2004/07/13 15:03:08 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.21 2004/07/17 03:18:30 squinky86 Exp $
+
+*bittornado-0.3.7 (16 Jul 2004)
+
+ 16 Jul 2004; Jon Hood <squinky86@gentoo.org> +bittornado-0.3.7.ebuild:
+ version bump, closes #57111
*bittornado-0.3.6 (13 Jul 2004)
diff --git a/net-p2p/bittornado/Manifest b/net-p2p/bittornado/Manifest
index 8cdc42d10828..4fe59bb965fe 100644
--- a/net-p2p/bittornado/Manifest
+++ b/net-p2p/bittornado/Manifest
@@ -1,13 +1,15 @@
MD5 499b1ebc0e0822737c1452e3b4adc193 bittornado-0.3.4.ebuild 1860
-MD5 d17973e04ef37bc8809e94f36694bd33 bittornado-0.3.3.ebuild 1734
MD5 4e6e37147ac4bcd80d62815c6487c563 bittornado-0.3.6.ebuild 1861
MD5 fdd69111616413ea9558f277901ef1fa bittornado-0.3.1.ebuild 1730
-MD5 6f2fb3d4b4ad50d756847aa1eb886518 bittornado-0.3.2.ebuild 1734
+MD5 d17973e04ef37bc8809e94f36694bd33 bittornado-0.3.3.ebuild 1734
+MD5 91a97606ddba79f18ef3b88d40246d05 ChangeLog 3209
MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
-MD5 f35ed4280d9d454ef09d1f1c9f0b4a2a ChangeLog 3070
+MD5 8e1395ef874ab00953f42216709e7ed1 bittornado-0.3.7.ebuild 1863
+MD5 6f2fb3d4b4ad50d756847aa1eb886518 bittornado-0.3.2.ebuild 1734
+MD5 c7977a11c1bf8a5d7afb8772202af87d files/bittornado-wxpython-pre2.5-fix.patch 297
+MD5 1254611280cd18cac6f13a32910f6223 files/digest-bittornado-0.3.1 68
+MD5 42424b1ceb30e798c909cd377fbe78f8 files/digest-bittornado-0.3.2 68
MD5 29cd3bfcbae60e683be63fcf925d1aad files/digest-bittornado-0.3.3 68
MD5 ab4c8a45e77ce1f1c9c2210eafe64627 files/digest-bittornado-0.3.4 68
MD5 f1a4de80647e7cd3d933739f47b78630 files/digest-bittornado-0.3.6 68
-MD5 1254611280cd18cac6f13a32910f6223 files/digest-bittornado-0.3.1 68
-MD5 42424b1ceb30e798c909cd377fbe78f8 files/digest-bittornado-0.3.2 68
-MD5 c7977a11c1bf8a5d7afb8772202af87d files/bittornado-wxpython-pre2.5-fix.patch 297
+MD5 a55efa8eb946333ce001f8f08b9d3f14 files/digest-bittornado-0.3.7 68
diff --git a/net-p2p/bittornado/bittornado-0.3.7.ebuild b/net-p2p/bittornado/bittornado-0.3.7.ebuild
new file mode 100644
index 000000000000..11d6522a335c
--- /dev/null
+++ b/net-p2p/bittornado/bittornado-0.3.7.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/bittornado-0.3.7.ebuild,v 1.1 2004/07/17 03:18:30 squinky86 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://e.scarywater.net/bt/download/${MY_P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="X"
+
+RDEPEND="X? ( >=dev-python/wxpython-2.2 )
+ >=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 -a /etc/mailcap ${D}/etc/
+ MAILCAP_STRING="application/x-bittorrent; /usr/bin/btdownloadgui.py '%s'; test=test -n \"\$DISPLAY\""
+
+ if use X; then
+ dodir ${PIXMAPLOC}
+ insinto ${PIXMAPLOC}
+ doins *.ico *.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
+}
+