summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Cakebread <pythonhead@gentoo.org>2005-01-12 23:13:20 +0000
committerRob Cakebread <pythonhead@gentoo.org>2005-01-12 23:13:20 +0000
commit95844a029154dcee248fb150eb1b31efd2e306c6 (patch)
treea28e7b25628fd67ea789fed2c483d8fe56e399a2 /net-p2p/kenosis
parentStable on sparc (Manifest recommit) (diff)
downloadgentoo-2-95844a029154dcee248fb150eb1b31efd2e306c6.tar.gz
gentoo-2-95844a029154dcee248fb150eb1b31efd2e306c6.tar.bz2
gentoo-2-95844a029154dcee248fb150eb1b31efd2e306c6.zip
provides virtual/bittorrent. removed obsolete version. bug# 77720
Diffstat (limited to 'net-p2p/kenosis')
-rw-r--r--net-p2p/kenosis/ChangeLog8
-rw-r--r--net-p2p/kenosis/Manifest16
-rw-r--r--net-p2p/kenosis/files/digest-kenosis-0.92-r11
-rw-r--r--net-p2p/kenosis/kenosis-0.92-r1.ebuild57
-rw-r--r--net-p2p/kenosis/kenosis-0.92.ebuild23
5 files changed, 68 insertions, 37 deletions
diff --git a/net-p2p/kenosis/ChangeLog b/net-p2p/kenosis/ChangeLog
index 6345b7679a38..75141f2e5686 100644
--- a/net-p2p/kenosis/ChangeLog
+++ b/net-p2p/kenosis/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-p2p/kenosis
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/kenosis/ChangeLog,v 1.1 2005/01/11 21:55:03 pythonhead Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/kenosis/ChangeLog,v 1.2 2005/01/12 23:13:20 pythonhead Exp $
+
+*kenosis-0.92-r1 (12 Jan 2005)
+
+ 12 Jan 2005; Rob Cakebread <pythonhead@gentoo.org>
+ +kenosis-0.92-r1.ebuild, -kenosis-0.92.ebuild:
+ provides virtual/bittorrent. removed obsolete version. bug# 77720
*kenosis-0.92 (11 Jan 2005)
diff --git a/net-p2p/kenosis/Manifest b/net-p2p/kenosis/Manifest
index ade158ad2acb..2cba4b51fb0b 100644
--- a/net-p2p/kenosis/Manifest
+++ b/net-p2p/kenosis/Manifest
@@ -1,14 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 ae5a20e715b012a99bfd3b7fc0583a85 kenosis-0.92.ebuild 612
-MD5 394e0c0c7bd2a09de46482ff05c4eebc ChangeLog 347
MD5 760a55aa181d5c557b4912d88a300d50 metadata.xml 281
-MD5 3c5b1b91bb0c3f0df1944275718412d3 files/digest-kenosis-0.92 64
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFB5F4YI1lqEGTUzyQRAqL9AKCbuKL9Kw/tm2Tpg1mzOHRv1lyPBgCgx8gg
-7blIFIFd1mDZYarzoHw0xqk=
-=imMF
------END PGP SIGNATURE-----
+MD5 394e0c0c7bd2a09de46482ff05c4eebc ChangeLog 347
+MD5 b08ac0db23d1726666dcaf17c0c38585 kenosis-0.92-r1.ebuild 1408
+MD5 3c5b1b91bb0c3f0df1944275718412d3 files/digest-kenosis-0.92-r1 64
diff --git a/net-p2p/kenosis/files/digest-kenosis-0.92-r1 b/net-p2p/kenosis/files/digest-kenosis-0.92-r1
new file mode 100644
index 000000000000..029e966d2069
--- /dev/null
+++ b/net-p2p/kenosis/files/digest-kenosis-0.92-r1
@@ -0,0 +1 @@
+MD5 969f5fd77b57743c07336b796fc7c01d kenosis-0.92.tar.gz 107101
diff --git a/net-p2p/kenosis/kenosis-0.92-r1.ebuild b/net-p2p/kenosis/kenosis-0.92-r1.ebuild
new file mode 100644
index 000000000000..ff84407349cd
--- /dev/null
+++ b/net-p2p/kenosis/kenosis-0.92-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/kenosis/kenosis-0.92-r1.ebuild,v 1.1 2005/01/12 23:13:20 pythonhead Exp $
+
+inherit distutils
+
+DESCRIPTION="Fully-distributed p2p RPC system with modified bittorrent client"
+HOMEPAGE="http://sourceforge.net/projects/kenosis"
+SRC_URI="mirror://sourceforge/kenosis/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="X"
+DEPEND="X? ( <dev-python/wxpython-2.5* )
+ >=dev-lang/python-2.1
+ !virtual/bittorrent"
+PROVIDE="virtual/bittorrent"
+
+src_compile() {
+ mv kenosis_setup.py setup.py
+ distutils_src_compile
+ cd ${S}/bt
+ python setup.py build
+}
+
+src_install() {
+ cd ${S}
+ distutils_src_install
+ cd ${S}/bt
+ python setup.py install --root=${D}
+
+ if ! use X; then
+ rm ${D}/usr/bin/*gui.py
+ fi
+
+ 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
+ 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
+ fi
+}
diff --git a/net-p2p/kenosis/kenosis-0.92.ebuild b/net-p2p/kenosis/kenosis-0.92.ebuild
deleted file mode 100644
index 7adba285c57f..000000000000
--- a/net-p2p/kenosis/kenosis-0.92.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/kenosis/kenosis-0.92.ebuild,v 1.1 2005/01/11 21:55:03 pythonhead Exp $
-
-inherit distutils
-
-DESCRIPTION="Fully-distributed p2p RPC system built on top of XMLRPC/bittorrent"
-HOMEPAGE="http://sourceforge.net/projects/kenosis"
-SRC_URI="mirror://sourceforge/kenosis/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~x86"
-
-IUSE="X"
-DEPEND="X? ( <dev-python/wxpython-2.5* )
- >=dev-lang/python-2.1"
-
-
-src_compile() {
- mv kenosis_setup.py setup.py
- distutils_src_compile
-}