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
commit9b0d71b481af10cb994d61d90cbc4f3449e1b098 (patch)
tree0b163d45ca5042dbe8278fda49c31ce10f08a54e /net-p2p
parentStable on sparc (diff)
downloadhistorical-9b0d71b481af10cb994d61d90cbc4f3449e1b098.tar.gz
historical-9b0d71b481af10cb994d61d90cbc4f3449e1b098.tar.bz2
historical-9b0d71b481af10cb994d61d90cbc4f3449e1b098.zip
provides virtual/bittorrent. removed obsolete version. bug# 77720
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/kenosis/ChangeLog8
-rw-r--r--net-p2p/kenosis/Manifest14
-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, 72 insertions, 31 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..96ebba86737a 100644
--- a/net-p2p/kenosis/Manifest
+++ b/net-p2p/kenosis/Manifest
@@ -1,14 +1,14 @@
-----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
+MD5 785d2aa2263c32f7ae843624cf883c30 ChangeLog 550
+MD5 da387629644054028511d0f0613114d1 kenosis-0.92-r1.ebuild 1512
+MD5 3c5b1b91bb0c3f0df1944275718412d3 files/digest-kenosis-0.92-r1 64
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
+Version: GnuPG v1.4.0 (GNU/Linux)
-iD8DBQFB5F4YI1lqEGTUzyQRAqL9AKCbuKL9Kw/tm2Tpg1mzOHRv1lyPBgCgx8gg
-7blIFIFd1mDZYarzoHw0xqk=
-=imMF
+iD8DBQFB5a89z2gxt1z4IGYRAg/0AKDLTbpZgFjQlu28qTc6Gqb+0bN/DgCgsNVJ
+xmnzQs34L2hCa2XpHnjxy1k=
+=xoZX
-----END PGP SIGNATURE-----
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
-}