diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2006-06-20 22:12:42 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2006-06-20 22:12:42 +0000 |
commit | bc68d83d8cedfc0e3aab26464261a0bfb9ba5365 (patch) | |
tree | aeb965048ca43a80ba4affebb2ed6e08136ec728 /dev-python/icepy/icepy-3.0.1.ebuild | |
parent | x11-themes/gtk-engines-rezlooks - Version bump to 0.6 (diff) | |
download | sunrise-bc68d83d8cedfc0e3aab26464261a0bfb9ba5365.tar.gz sunrise-bc68d83d8cedfc0e3aab26464261a0bfb9ba5365.tar.bz2 sunrise-bc68d83d8cedfc0e3aab26464261a0bfb9ba5365.zip |
New icepy Ebuild for bug 135207
svn path=/sunrise/; revision=158
Diffstat (limited to 'dev-python/icepy/icepy-3.0.1.ebuild')
-rw-r--r-- | dev-python/icepy/icepy-3.0.1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/icepy/icepy-3.0.1.ebuild b/dev-python/icepy/icepy-3.0.1.ebuild new file mode 100644 index 000000000..5c7f41678 --- /dev/null +++ b/dev-python/icepy/icepy-3.0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit distutils eutils + +MY_P=${PN/icepy/IcePy}-${PV} + +DESCRIPTION="ICE middleware Python bindings" +HOMEPAGE="http://www.zeroc.com/index.html" +SRC_URI="http://www.zeroc.com/download/Ice/3.0/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=dev-lang/python-2.4 + =dev-cpp/ice-${PV}*" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + + # This patch makes sure that only slice2py gets called during make + epatch "${FILESDIR}"/${P}-skip_compilation.patch + # ... and removes the dependency on ICE_HOME global env var + epatch "${FILESDIR}"/${P}-Make.rules.patch + + # The rest will be handled by our setup-script + cp "${FILESDIR}"/${P}-setup.py setup.py + + # This step calls slice2py and generates all the python files + emake || die "Failed to create the .py-Files" +} + |