summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-04-05 07:38:47 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-04-05 07:38:47 +0000
commit91fef5c41cbb2bdb643596df3722e2f1161ee3d6 (patch)
tree375d1f092612420887bbe3dc6d32a61ae2eb803a /net-p2p/bittornado
parentTesting portage. (diff)
downloadhistorical-91fef5c41cbb2bdb643596df3722e2f1161ee3d6.tar.gz
historical-91fef5c41cbb2bdb643596df3722e2f1161ee3d6.tar.bz2
historical-91fef5c41cbb2bdb643596df3722e2f1161ee3d6.zip
update
Diffstat (limited to 'net-p2p/bittornado')
-rw-r--r--net-p2p/bittornado/ChangeLog8
-rw-r--r--net-p2p/bittornado/Manifest2
-rw-r--r--net-p2p/bittornado/bittornado-0.1.3.ebuild63
-rw-r--r--net-p2p/bittornado/files/digest-bittornado-0.1.31
4 files changed, 73 insertions, 1 deletions
diff --git a/net-p2p/bittornado/ChangeLog b/net-p2p/bittornado/ChangeLog
index d95c7b9d6d0e..fd2be1f08faa 100644
--- a/net-p2p/bittornado/ChangeLog
+++ b/net-p2p/bittornado/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-p2p/bittornado
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.4 2004/03/20 18:13:14 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.5 2004/04/05 07:38:47 eradicator Exp $
+
+*bittornado-0.1.3 (05 Apr 2004)
+
+ 05 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ bittornado-0.1.3.ebuild:
+ Version bump. Closes bug #46804.
20 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org>
bittornado-0.0.1-r1.ebuild:
diff --git a/net-p2p/bittornado/Manifest b/net-p2p/bittornado/Manifest
index 10d10d791bc0..54ff9682bf4e 100644
--- a/net-p2p/bittornado/Manifest
+++ b/net-p2p/bittornado/Manifest
@@ -1,4 +1,6 @@
+MD5 54be2af48addac886cfa4a835b8ed2f7 bittornado-0.1.3.ebuild 1934
MD5 d8821b1dec9be921ddb1de21dd81a394 bittornado-0.0.1-r1.ebuild 1918
MD5 da2878ac06e45ed8b13ac58344649aa3 ChangeLog 1070
MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
MD5 7e5f7bd9dad3e54d2c6a0a25947d28ca files/digest-bittornado-0.0.1-r1 68
+MD5 2d1d5d689f62fda3bb1a5add823c4381 files/digest-bittornado-0.1.3 68
diff --git a/net-p2p/bittornado/bittornado-0.1.3.ebuild b/net-p2p/bittornado/bittornado-0.1.3.ebuild
new file mode 100644
index 000000000000..2382fea2d94e
--- /dev/null
+++ b/net-p2p/bittornado/bittornado-0.1.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/bittornado-0.1.3.ebuild,v 1.1 2004/04/05 07:38:47 eradicator Exp $
+
+inherit distutils
+inherit 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"
+IUSE="X"
+
+RDEPEND="X? ( >=dev-python/wxPython-2.2 )
+ >=dev-lang/python-2.0
+ !virtual/bittorrent"
+
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4.0.5"
+
+PROVIDE="virtual/bittorrent"
+
+S="${WORKDIR}/${MY_PN}-CVS"
+PIXMAPLOC="/usr/share/pixmaps/bittorrent"
+
+# Why did we do this???
+#src_unpack() {
+# unpack ${A}
+# sed -i "s:os.path.abspath(os.path.dirname(sys.argv\[0\])):\"${PIXMAPLOC}/\":" ${S}/btdownloadgui.py || die "sed failure 1"
+#}
+
+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
+}
diff --git a/net-p2p/bittornado/files/digest-bittornado-0.1.3 b/net-p2p/bittornado/files/digest-bittornado-0.1.3
new file mode 100644
index 000000000000..939bacd7128c
--- /dev/null
+++ b/net-p2p/bittornado/files/digest-bittornado-0.1.3
@@ -0,0 +1 @@
+MD5 45ebf9584906e69375549ff408fc3a4c BitTornado-0.1.3.tar.gz 160225