summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2004-07-13 15:03:08 +0000
committerMartin Holzer <mholzer@gentoo.org>2004-07-13 15:03:08 +0000
commit7d6b92f9f9c4c66667da1ca3d8e59681b4da3c19 (patch)
tree94805ae3c5e9311b35c78a46ef13e00a8bac03fc /net-p2p
parentVersion bump (Manifest recommit) (diff)
downloadgentoo-2-7d6b92f9f9c4c66667da1ca3d8e59681b4da3c19.tar.gz
gentoo-2-7d6b92f9f9c4c66667da1ca3d8e59681b4da3c19.tar.bz2
gentoo-2-7d6b92f9f9c4c66667da1ca3d8e59681b4da3c19.zip
Version bumped. Closes 56706
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.6.ebuild66
-rw-r--r--net-p2p/bittornado/files/digest-bittornado-0.3.61
4 files changed, 81 insertions, 7 deletions
diff --git a/net-p2p/bittornado/ChangeLog b/net-p2p/bittornado/ChangeLog
index 4f589ddbf493..47fa06344d32 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.19 2004/07/07 16:51:43 lv Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.20 2004/07/13 15:03:08 mholzer Exp $
+
+*bittornado-0.3.6 (13 Jul 2004)
+
+ 13 Jul 2004; Martin Holzer <mholzer@gentoo.org> +bittornado-0.3.6.ebuild:
+ Version bumped. Closes 56706
07 Jul 2004; Travis Tilley <lv@gentoo.org> bittornado-0.3.1.ebuild:
stable on amd64
diff --git a/net-p2p/bittornado/Manifest b/net-p2p/bittornado/Manifest
index 680daec286fe..319ec524446a 100644
--- a/net-p2p/bittornado/Manifest
+++ b/net-p2p/bittornado/Manifest
@@ -1,11 +1,13 @@
MD5 2572f2be36a78c93347241358cf9db93 bittornado-0.3.4.ebuild 1858
-MD5 fdd69111616413ea9558f277901ef1fa bittornado-0.3.1.ebuild 1730
MD5 d17973e04ef37bc8809e94f36694bd33 bittornado-0.3.3.ebuild 1734
-MD5 0d5605280f698d0dcace111f5871c3a7 ChangeLog 2924
-MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
+MD5 2572f2be36a78c93347241358cf9db93 bittornado-0.3.6.ebuild 1858
+MD5 fdd69111616413ea9558f277901ef1fa bittornado-0.3.1.ebuild 1730
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 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
+MD5 0d5605280f698d0dcace111f5871c3a7 ChangeLog 2924
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
diff --git a/net-p2p/bittornado/bittornado-0.3.6.ebuild b/net-p2p/bittornado/bittornado-0.3.6.ebuild
new file mode 100644
index 000000000000..1859f223b8de
--- /dev/null
+++ b/net-p2p/bittornado/bittornado-0.3.6.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.6.ebuild,v 1.1 2004/07/13 15:03:08 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://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
+}
+
diff --git a/net-p2p/bittornado/files/digest-bittornado-0.3.6 b/net-p2p/bittornado/files/digest-bittornado-0.3.6
new file mode 100644
index 000000000000..2315d88378ef
--- /dev/null
+++ b/net-p2p/bittornado/files/digest-bittornado-0.3.6
@@ -0,0 +1 @@
+MD5 95e853cd1de24bbda740312c6784d726 BitTornado-0.3.6.tar.gz 176845