summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-05-21 18:12:04 +0000
committerJon Hood <squinky86@gentoo.org>2004-05-21 18:12:04 +0000
commit32f47b0a59e332a088513b3f48b1b471705b7a28 (patch)
treea81994f119c3f53b136fa714fc1182f03fcee207 /net-p2p
parentFixing BUG #44409 (again). (Manifest recommit) (diff)
downloadgentoo-2-32f47b0a59e332a088513b3f48b1b471705b7a28.tar.gz
gentoo-2-32f47b0a59e332a088513b3f48b1b471705b7a28.tar.bz2
gentoo-2-32f47b0a59e332a088513b3f48b1b471705b7a28.zip
version bump, closes #51618
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/bittornado/ChangeLog7
-rw-r--r--net-p2p/bittornado/Manifest8
-rw-r--r--net-p2p/bittornado/bittornado-0.3.1.ebuild69
-rw-r--r--net-p2p/bittornado/files/digest-bittornado-0.3.11
4 files changed, 81 insertions, 4 deletions
diff --git a/net-p2p/bittornado/ChangeLog b/net-p2p/bittornado/ChangeLog
index 47eca4c0a305..72649a48dbe9 100644
--- a/net-p2p/bittornado/ChangeLog
+++ b/net-p2p/bittornado/ChangeLog
@@ -1,6 +1,11 @@
# 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.10 2004/05/16 14:20:53 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.11 2004/05/21 18:12:04 squinky86 Exp $
+
+*bittornado-0.3.1 (21 May 2004)
+
+ 21 May 2004; Jon Hood <squinky86@gentoo.org> +bittornado-0.3.1.ebuild:
+ version bump, closes #51618
*bittornado-0.3.0 (16 May 2004)
diff --git a/net-p2p/bittornado/Manifest b/net-p2p/bittornado/Manifest
index b3cc4254ba5c..49ce3a39acf1 100644
--- a/net-p2p/bittornado/Manifest
+++ b/net-p2p/bittornado/Manifest
@@ -1,8 +1,10 @@
-MD5 0bbc53a6eb4ccc541820ced976e27d81 bittornado-0.3.0.ebuild 1859
+MD5 0bbc53a6eb4ccc541820ced976e27d81 bittornado-0.3.1.ebuild 1859
MD5 83c2494af12cdb5b60839b64e7c03ac1 bittornado-0.2.0.ebuild 1784
-MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
MD5 1b87e2b3a8e45fdfd147a2efde4751e2 bittornado-0.1.4.ebuild 1778
+MD5 0bbc53a6eb4ccc541820ced976e27d81 bittornado-0.3.0.ebuild 1859
MD5 9146ff4f1b0dab82ccc67502716de900 ChangeLog 1835
-MD5 665ef382ea622c9b32b506053a3986bc files/digest-bittornado-0.2.0 68
+MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
MD5 16d6cc2e9327cc900ebc88f064ac428f files/digest-bittornado-0.1.4 68
+MD5 665ef382ea622c9b32b506053a3986bc files/digest-bittornado-0.2.0 68
MD5 28f41e964823c678f90c061fa88bcbe5 files/digest-bittornado-0.3.0 68
+MD5 1254611280cd18cac6f13a32910f6223 files/digest-bittornado-0.3.1 68
diff --git a/net-p2p/bittornado/bittornado-0.3.1.ebuild b/net-p2p/bittornado/bittornado-0.3.1.ebuild
new file mode 100644
index 000000000000..a8523a6e6834
--- /dev/null
+++ b/net-p2p/bittornado/bittornado-0.3.1.ebuild
@@ -0,0 +1,69 @@
+# 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.3.1.ebuild,v 1.1 2004/05/21 18:12:04 squinky86 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 ~ppc"
+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/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
+
+ #Fix to get installed
+ sed -i 's:"btdownloadlibrary.py",::' setup.py
+}
+
+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.1 b/net-p2p/bittornado/files/digest-bittornado-0.3.1
new file mode 100644
index 000000000000..535f8a9bce08
--- /dev/null
+++ b/net-p2p/bittornado/files/digest-bittornado-0.3.1
@@ -0,0 +1 @@
+MD5 2033bd80e5678a495609119578373091 BitTornado-0.3.1.tar.gz 173921