summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Kryczek <mkay@gentoo.org>2005-10-03 00:13:07 +0000
committerMarcin Kryczek <mkay@gentoo.org>2005-10-03 00:13:07 +0000
commit965e87c2a5072c790297a83bb0df3ff95d267e95 (patch)
tree54474e4897ef2bc7209078bf58044ffa2fde6fd3 /net-p2p/bittornado
parentfixed perl binding thanks to Yoann (diff)
downloadhistorical-965e87c2a5072c790297a83bb0df3ff95d267e95.tar.gz
historical-965e87c2a5072c790297a83bb0df3ff95d267e95.tar.bz2
historical-965e87c2a5072c790297a83bb0df3ff95d267e95.zip
Version bump
Package-Manager: portage-2.0.52-r1
Diffstat (limited to 'net-p2p/bittornado')
-rw-r--r--net-p2p/bittornado/ChangeLog7
-rw-r--r--net-p2p/bittornado/Manifest6
-rw-r--r--net-p2p/bittornado/bittornado-0.3.13.ebuild74
-rw-r--r--net-p2p/bittornado/files/digest-bittornado-0.3.131
4 files changed, 85 insertions, 3 deletions
diff --git a/net-p2p/bittornado/ChangeLog b/net-p2p/bittornado/ChangeLog
index 630ad537204b..a16d8d9848c1 100644
--- a/net-p2p/bittornado/ChangeLog
+++ b/net-p2p/bittornado/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-p2p/bittornado
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.42 2005/09/25 20:41:05 mkay Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.43 2005/10/03 00:13:07 mkay Exp $
+
+*bittornado-0.3.13 (03 Oct 2005)
+
+ 03 Oct 2005; <mkay@gentoo.org> +bittornado-0.3.13.ebuild:
+ Version bump
25 Sep 2005; <mkay@gentoo.org> bittornado-0.3.8.ebuild,
bittornado-0.3.10.ebuild, bittornado-0.3.12.ebuild:
diff --git a/net-p2p/bittornado/Manifest b/net-p2p/bittornado/Manifest
index c514a9840c78..b3f3f3dcbfe6 100644
--- a/net-p2p/bittornado/Manifest
+++ b/net-p2p/bittornado/Manifest
@@ -1,8 +1,9 @@
-MD5 520577f23c7a3c6bdaeba00bd87a0bbe ChangeLog 5931
+MD5 70f8c1a053adf4427fd61b5078809075 ChangeLog 6041
MD5 531aab1de27326c798ace924206120c2 bittornado-0.3.10.ebuild 2068
MD5 ce904358a52fe29a30ac03b0d22300c2 bittornado-0.3.12.ebuild 2064
-MD5 aca02f6014bfd515c600017d6c555782 bittornado-0.3.8.ebuild 2058
MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
+MD5 aca02f6014bfd515c600017d6c555782 bittornado-0.3.8.ebuild 2058
+MD5 5310490008ac12d6d4f855546b6f706b bittornado-0.3.13.ebuild 2081
MD5 c7977a11c1bf8a5d7afb8772202af87d files/bittornado-wxpython-pre2.5-fix.patch 297
MD5 5e0dbf4ae726b145dcec6fb57526e4c5 files/bttrack.conf 728
MD5 a706406b4513eb97a4715be7a4b3cfd7 files/bttrack.rc 631
@@ -10,3 +11,4 @@ MD5 709a3dae79ddb5cfc966cce563ed15d5 files/digest-bittornado-0.3.10 69
MD5 c3329d42b780ea4163ec94d1336d610b files/digest-bittornado-0.3.12 69
MD5 68ff80aa60200feb7a3c22a3ad17bbea files/digest-bittornado-0.3.8 68
MD5 7779a7eaf51eb9f84da8a588050f53fa files/favicon.ico 1406
+MD5 467bfdefa6920200b174d5cd8073a42a files/digest-bittornado-0.3.13 69
diff --git a/net-p2p/bittornado/bittornado-0.3.13.ebuild b/net-p2p/bittornado/bittornado-0.3.13.ebuild
new file mode 100644
index 000000000000..87bdfd9358ee
--- /dev/null
+++ b/net-p2p/bittornado/bittornado-0.3.13.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/bittornado-0.3.13.ebuild,v 1.1 2005/10/03 00:13:07 mkay 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="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gtk"
+
+RDEPEND="gtk? ( >=dev-python/wxpython-2.4 )
+ >=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 -pPR /etc/mailcap ${D}/etc/
+ MAILCAP_STRING="application/x-bittorrent; /usr/bin/btdownloadgui.py '%s'; test=test -n \"\$DISPLAY\""
+
+ if use gtk; then
+ dodir ${PIXMAPLOC}
+ insinto ${PIXMAPLOC}
+ doins icons/*.ico icons/*.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.13 b/net-p2p/bittornado/files/digest-bittornado-0.3.13
new file mode 100644
index 000000000000..6a5f6c95063b
--- /dev/null
+++ b/net-p2p/bittornado/files/digest-bittornado-0.3.13
@@ -0,0 +1 @@
+MD5 2ad36b3437778ecb635d02a35f3bfca9 BitTornado-0.3.13.tar.gz 197366