Version bump
authorRaúl Porcel <armin76@gentoo.org>
Mon, 8 Jan 2007 19:35:34 +0000 (19:35 +0000)
committerRaúl Porcel <armin76@gentoo.org>
Mon, 8 Jan 2007 19:35:34 +0000 (19:35 +0000)
Package-Manager: portage-2.1.1-r2

net-p2p/bittornado/ChangeLog
net-p2p/bittornado/Manifest
net-p2p/bittornado/bittornado-0.3.18.ebuild [new file with mode: 0644]
net-p2p/bittornado/files/digest-bittornado-0.3.18 [new file with mode: 0644]

index a5fbbb5af1460eca413621ef0a07448e73f4c6cc..a5e8e5e5da2a06386e4b3e6b19089fb5532b3624 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-p2p/bittornado
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.53 2006/11/22 02:15:38 squinky86 Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/ChangeLog,v 1.54 2007/01/08 19:35:34 armin76 Exp $
+
+*bittornado-0.3.18 (08 Jan 2007)
+
+  08 Jan 2007; Raúl Porcel (armin76) <armin76@gentoo.org>
+  +bittornado-0.3.18.ebuild:
+  Version bump
 
 *bittornado-0.3.17 (22 Nov 2006)
 
@@ -8,7 +14,7 @@
   +bittornado-0.3.17.ebuild:
   Version bump. Remove old version. Bug #151105.
 
-  20 Oct 2006; Bryan Østergaard <kloeri@gentoo.org>
+  20 Oct 2006; Bryan Ã\83Â\98stergaard <kloeri@gentoo.org>
   bittornado-0.3.15.ebuild:
   Stable on Alpha.
 
   04 Jul 2004; Martin Holzer <mholzer@gentoo.org> +bittornado-0.3.4.ebuild:
   Version bumped.
 
-  03 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> bittornado-0.3.1.ebuild,
+  03 Jul 2004; Bryan Ã\83Â\98stergaard <kloeri@gentoo.org> bittornado-0.3.1.ebuild,
   bittornado-0.3.2.ebuild, bittornado-0.3.3.ebuild:
   Change wxPython to wxpython.
 
index 477105c648ff4db8ea2f49e1ee8c90854a326403..3242855daf9632993e095f00391d3dbcced1a4cf 100644 (file)
@@ -16,6 +16,7 @@ RMD160 735b7ee87f222400b294866e323b281b4e9cdd70 files/favicon.ico 1406
 SHA256 ae5728b520add5961a8b7f8300058bf9571b9b14dba96dfaf64520d089e56c22 files/favicon.ico 1406
 DIST BitTornado-0.3.15.tar.gz 189992 RMD160 1967e1ec545f1c1dfa11d7525acb0abbdc2cedd2 SHA1 a9a40ada7227aab0b495afafa9c9a76e47740942 SHA256 829b7876a0951fa6ba7af0a6d42e0c6d9ec8b42239ad06885e5b270c5efab060
 DIST BitTornado-0.3.17.tar.gz 194718 RMD160 2ae8f00496263ee8e1f1a21b7d4a2124a61082f8 SHA1 3580394982f530d26235e5e280a1576068671322 SHA256 67ea8a64bc3867d9dbbe9dc8f4c15bb9b605f4bf246aeb1782a44b861de50294
+DIST BitTornado-0.3.18.tar.gz 189227 RMD160 77e61f01101c2878d4e993e0581365a71c375892 SHA1 64c65b69d112f76ba8a024ff5b8671058130b71a SHA256 d9e6ad0bf5b2e9820bab809c5a4fcd94e844a57f396ac51547fe47dbe255d9e0
 EBUILD bittornado-0.3.15.ebuild 2096 RMD160 e4e48a261e4ce70eb59151e8393f99af14f239fc SHA1 5aa728b461166b054625916757c373231675f6ab SHA256 0336286787e3bdf74ef7021bc32f5875f9e09cf94555c2cfda6728b794928147
 MD5 4d6f8e061a6220b483fc09d7d5e27f54 bittornado-0.3.15.ebuild 2096
 RMD160 e4e48a261e4ce70eb59151e8393f99af14f239fc bittornado-0.3.15.ebuild 2096
@@ -24,10 +25,14 @@ EBUILD bittornado-0.3.17.ebuild 2104 RMD160 65f23bc842cda7577dd268124dc10b18353e
 MD5 71bbbaffa4293959e9ec3de1bbb682a1 bittornado-0.3.17.ebuild 2104
 RMD160 65f23bc842cda7577dd268124dc10b18353e6728 bittornado-0.3.17.ebuild 2104
 SHA256 bc55772d491d0bbb06b357c1ff83bee700af28628504240e7b068a9feb754987 bittornado-0.3.17.ebuild 2104
-MISC ChangeLog 7417 RMD160 53084be155896965a07ca083701efda85d2e6165 SHA1 9cf1c9472c835f1ff619440f6dbaae570860157c SHA256 582e304ff8875dcf650aa45d38822cd03eb1f9080d0e4dcbcdfb01b6e9d95983
-MD5 1fe21aefcf6a7e238345aed9f39b8537 ChangeLog 7417
-RMD160 53084be155896965a07ca083701efda85d2e6165 ChangeLog 7417
-SHA256 582e304ff8875dcf650aa45d38822cd03eb1f9080d0e4dcbcdfb01b6e9d95983 ChangeLog 7417
+EBUILD bittornado-0.3.18.ebuild 2102 RMD160 5073a54c184703d3a1d3eb1acebfa39408dc5042 SHA1 3fad2f76b43dbd6bc4d18932ccd9780a293293bc SHA256 f95a201b956e7a202ba557e1200368002bc32717751df1dddd71f9022b635e19
+MD5 fb53ebfeb97a2eb6fb5d3774060396a5 bittornado-0.3.18.ebuild 2102
+RMD160 5073a54c184703d3a1d3eb1acebfa39408dc5042 bittornado-0.3.18.ebuild 2102
+SHA256 f95a201b956e7a202ba557e1200368002bc32717751df1dddd71f9022b635e19 bittornado-0.3.18.ebuild 2102
+MISC ChangeLog 7557 RMD160 4a29a8dbfcb48e2ca562b6a993784d38d4e6852f SHA1 e1abf8e452751d8cc7d140cd98259db5b6086f56 SHA256 b084601d3998fe586def5595eae6dc65bee6000f55b64a7e542c4f92bb5e36ec
+MD5 54c63e4db3d0a5ca45aa200d9f11c0cf ChangeLog 7557
+RMD160 4a29a8dbfcb48e2ca562b6a993784d38d4e6852f ChangeLog 7557
+SHA256 b084601d3998fe586def5595eae6dc65bee6000f55b64a7e542c4f92bb5e36ec ChangeLog 7557
 MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
 MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160
@@ -38,3 +43,6 @@ SHA256 945e05057654448ebb8e939e9e43ba0e6479f920a080fa67b94359cd38f31a77 files/di
 MD5 e88ce11c99daa9732803588459fab37c files/digest-bittornado-0.3.17 253
 RMD160 04cbda4b231d1749db8d6bd61c163339040fcd28 files/digest-bittornado-0.3.17 253
 SHA256 cf846e7ff7fe02bb267a87cd63024ae8c055166cd0492f7f30589d4e2170462f files/digest-bittornado-0.3.17 253
+MD5 a71e2168482debac2ca6b058eb25dbf3 files/digest-bittornado-0.3.18 253
+RMD160 c8f58828ac130e9aed8c033febe95454bcd0d05b files/digest-bittornado-0.3.18 253
+SHA256 87aac6c0975b752b676536769e6b6f4492bee8b9b7ee2aac6a3df6ad07a160db files/digest-bittornado-0.3.18 253
diff --git a/net-p2p/bittornado/bittornado-0.3.18.ebuild b/net-p2p/bittornado/bittornado-0.3.18.ebuild
new file mode 100644 (file)
index 0000000..05501a6
--- /dev/null
@@ -0,0 +1,74 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittornado/bittornado-0.3.18.ebuild,v 1.1 2007/01/08 19:35:34 armin76 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://download2.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 ${ROOT}/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.18 b/net-p2p/bittornado/files/digest-bittornado-0.3.18
new file mode 100644 (file)
index 0000000..15d579a
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 faeb137036cfaaeab91afc7f62c7dc30 BitTornado-0.3.18.tar.gz 189227
+RMD160 77e61f01101c2878d4e993e0581365a71c375892 BitTornado-0.3.18.tar.gz 189227
+SHA256 d9e6ad0bf5b2e9820bab809c5a4fcd94e844a57f396ac51547fe47dbe255d9e0 BitTornado-0.3.18.tar.gz 189227