version bump, #68538
authorJon Hood <squinky86@gentoo.org>
Fri, 22 Oct 2004 17:15:25 +0000 (17:15 +0000)
committerJon Hood <squinky86@gentoo.org>
Fri, 22 Oct 2004 17:15:25 +0000 (17:15 +0000)
net-p2p/bittornado/ChangeLog
net-p2p/bittornado/Manifest
net-p2p/bittornado/bittornado-0.3.8.ebuild [new file with mode: 0644]
net-p2p/bittornado/files/digest-bittornado-0.3.8 [new file with mode: 0644]

index a36ddb8783aefab742c785b325af2e27e54e043c..545b38a33a844d8a5a86e73b8632dddf1004c6a8 100644 (file)
@@ -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.26 2004/08/19 02:35:34 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.27 2004/10/22 17:15:25 squinky86 Exp $
+
+*bittornado-0.3.8 (22 Oct 2004)
+
+  22 Oct 2004; Jon Hood <squinky86@gentoo.org> +bittornado-0.3.8.ebuild:
+  Version bump, thanks Alexandru Toma <flash3001@yahoo.com>, #68538.
 
   18 Aug 2004; Tom Gall <tgall@gentoo.org> bittornado-0.3.7.ebuild:
   stable on ppc64, bug #58420
index 47334c1956aaa71e270a61a0922b5b56c5e52de0..2f46dc9892e1c38d1485acbdfe452995bae20eb0 100644 (file)
@@ -1,12 +1,24 @@
-MD5 33cc5fee93f3c6da2076730713837bac ChangeLog 3878
-MD5 fdd69111616413ea9558f277901ef1fa bittornado-0.3.1.ebuild 1730
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 MD5 8a93e02ec2bc436e8a1ec0da123a8751 bittornado-0.3.6.ebuild 1862
-MD5 6e3a3c66c3ac3b1428b7157f9fd9f85d bittornado-0.3.7.ebuild 2057
+MD5 fdd69111616413ea9558f277901ef1fa bittornado-0.3.1.ebuild 1730
+MD5 f0bf7072aa0ba6d4a4e6fb93b87a229b bittornado-0.3.8.ebuild 2058
+MD5 f5baea46d6532d8db21ff32a55e798e3 ChangeLog 4058
 MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
+MD5 6e3a3c66c3ac3b1428b7157f9fd9f85d bittornado-0.3.7.ebuild 2057
+MD5 7779a7eaf51eb9f84da8a588050f53fa files/favicon.ico 1406
 MD5 c7977a11c1bf8a5d7afb8772202af87d files/bittornado-wxpython-pre2.5-fix.patch 297
-MD5 5e0dbf4ae726b145dcec6fb57526e4c5 files/bttrack.conf 728
 MD5 a706406b4513eb97a4715be7a4b3cfd7 files/bttrack.rc 631
+MD5 5e0dbf4ae726b145dcec6fb57526e4c5 files/bttrack.conf 728
 MD5 1254611280cd18cac6f13a32910f6223 files/digest-bittornado-0.3.1 68
 MD5 f1a4de80647e7cd3d933739f47b78630 files/digest-bittornado-0.3.6 68
 MD5 a55efa8eb946333ce001f8f08b9d3f14 files/digest-bittornado-0.3.7 68
-MD5 7779a7eaf51eb9f84da8a588050f53fa files/favicon.ico 1406
+MD5 68ff80aa60200feb7a3c22a3ad17bbea files/digest-bittornado-0.3.8 68
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBeUA3cAgAdbxYsnERAoeUAJ9oieLvSFHZHecl3HbLs6hju3vRRgCfQ/q0
+JG/FZq35QOfE/mcwY0WZBkw=
+=wRS+
+-----END PGP SIGNATURE-----
diff --git a/net-p2p/bittornado/bittornado-0.3.8.ebuild b/net-p2p/bittornado/bittornado-0.3.8.ebuild
new file mode 100644 (file)
index 0000000..f08b034
--- /dev/null
@@ -0,0 +1,74 @@
+# 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.8.ebuild,v 1.1 2004/10/22 17:15:25 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://bittornado.com/download/${MY_P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~ppc64"
+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
+       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.8 b/net-p2p/bittornado/files/digest-bittornado-0.3.8
new file mode 100644 (file)
index 0000000..00f0104
--- /dev/null
@@ -0,0 +1 @@
+MD5 629f848c27d409cacd8ab23792fe3b54 BitTornado-0.3.8.tar.gz 220481