From 632f979db0e6aa943d7f89e43359533acc88cd86 Mon Sep 17 00:00:00 2001 From: Thomas Sachau Date: Sat, 23 Oct 2010 15:37:58 +0000 Subject: Use PYTHON_DEPEND, support multiple python ABIs, make static libs optional (Portage version: 2.2_rc99-r1/svn/Linux x86_64) --- .../python-elementary-9999.ebuild | 38 +++++++++++++++------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/dev-python/python-elementary/python-elementary-9999.ebuild b/dev-python/python-elementary/python-elementary-9999.ebuild index 235373e..1f9652b 100644 --- a/dev-python/python-elementary/python-elementary-9999.ebuild +++ b/dev-python/python-elementary/python-elementary-9999.ebuild @@ -1,25 +1,41 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -NEED_PYTHON="2.4" +EAPI=2 + +E_CYTHON=1 +SUPPORT_PYTHON_ABIS=1 +RESTRICT_PYTHON_ABIS="3.*" + ESVN_SUB_PROJECT="BINDINGS/python" -inherit enlightenment distutils +inherit enlightenment DESCRIPTION="Python bindings for elementary library" HOMEPAGE="http://www.enlightenment.org/" LICENSE="|| ( GPL-3 LGPL-3 )" -IUSE="" +IUSE="static-libs" -RDEPEND=">=dev-libs/eina-9999 - x11-libs/elementary" +RDEPEND=">=x11-libs/elementary-9999" DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.9.0 - dev-python/cython - dev-python/pyrex" + dev-util/pkgconfig + >=dev-python/python-evas-9999" + +src_prepare() { + enlightenment_src_prepare + python_copy_sources +} + +src_configure() { + python_execute_function -s enlightenment_src_configure +} + +src_compile() { + python_execute_function -s enlightenment_src_compile +} -src_unpack() { - enlightenment_src_unpack +src_install() { + python_execute_function -s enlightenment_src_install } -- cgit v1.2.3-18-g5258