diff --git a/dev-python/Coherence/Coherence-0.6.2.ebuild b/dev-python/Coherence/Coherence-0.6.2.ebuild new file mode 100755 index 000000000..518d7bbad --- /dev/null +++ b/dev-python/Coherence/Coherence-0.6.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + + +inherit distutils + +MY_P="Coherence-${PV}" + +DESCRIPTION="Coherence is a framework written in Python for DLNA/UPnP components" +HOMEPAGE="https://coherence.beebits.net/" +SRC_URI="http://coherence.beebits.net/download/${MY_P}.tar.gz" +IUSE="web gstreamer" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +# dev-python/Louie is supplied inline now + +DEPEND=" + >=dev-lang/python-2.5 + dev-python/twisted + >=dev-python/configobj-4.3 + gstreamer? ( >=dev-python/gst-python-0.10.12 ) + web? ( dev-python/nevow ) + " +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack "${A}" + cd "${S}" +} + +src_install() { + distutils_src_install + dodoc docs/* +} + + diff --git a/dev-python/Coherence/Manifest b/dev-python/Coherence/Manifest index 81a77ab97..00852e14f 100644 --- a/dev-python/Coherence/Manifest +++ b/dev-python/Coherence/Manifest @@ -1,3 +1,5 @@ AUX 0.5.8-bind_if_detection.patch 514 RMD160 e27224ccc07b242dbfb3f4ff489e6ef80b664714 SHA1 fab535838fb4ded92379796885915c7b02c68da1 SHA256 398275d41d3e57f2cc2f92426d03fdc75b7646970431f66229d7d28b8d41bb0d DIST Coherence-0.5.8.tar.gz 283534 RMD160 6a7198d54aa6bef0f265d91ba4d494a1d5bd6951 SHA1 967652be0397c74846bcb306c71c5a1998dcf16a SHA256 9b3cdd69b4703c9fd39f3e06eaa75809e3a7c021862a907d5435a57450398256 +DIST Coherence-0.6.2.tar.gz 380490 RMD160 a3f33b05a65a460545ade50569ed3779ab0f3933 SHA1 2d453f9a36a9238d72af3635691ead33ceec3888 SHA256 1cb99720527ea0a5906f5e75152634b1797ff44bcc31f4014285bd5da41589cc EBUILD Coherence-0.5.8-r1.ebuild 824 RMD160 565a4c25f7d155fa05c871516da3b2b201051841 SHA1 18bf4ba4e5b6dd0dee28ae150600e83fa550b053 SHA256 0c1b6c43fa9479afc517f49c4aef618d2d67bc7c22152d531749e115ac1bbf06 +EBUILD Coherence-0.6.2.ebuild 772 RMD160 c4f2d0c348828e93612f7ca93ced9c26bcf27ce5 SHA1 f0437ce2195dad3f39fea02734a808bcaa5fe491 SHA256 f9aa33f2c7463ebee7cc5fa742dd33790d547feb54c4d288c17058991e0fdcbc diff --git a/dev-python/Coherence/files/0.5.8-bind_if_detection.patch b/dev-python/Coherence/files/0.5.8-bind_if_detection.patch new file mode 100644 index 000000000..5d95854bc --- /dev/null +++ b/dev-python/Coherence/files/0.5.8-bind_if_detection.patch @@ -0,0 +1,11 @@ +--- coherence/upnp/core/utils.py.old 2008-05-31 12:18:33.000000000 +0200 ++++ coherence/upnp/core/utils.py 2008-11-09 14:09:56.000000000 +0100 +@@ -116,7 +116,7 @@ + tmp = route.readline() + l = tmp.split('\t') + if (len(l) > 2): +- if l[2] != '00000000': #default gateway... ++ if l[1] == '00000000': #default route + route.close() + return get_ip_address(l[0]) + except IOerror, msg: