--- uniconvw-1.1.5.ebuild 2010-08-09 01:53:44.000000000 +0800 +++ uniconvw-1.1.5.ebuild 2015-02-28 23:40:25.770238274 +0800 @@ -1,14 +1,12 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/uniconvw/uniconvw-1.1.5.ebuild,v 1.5 2010/08/08 17:53:44 jlec Exp $ -EAPI="2" +EAPI=5 -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" +PYTHON_COMPAT=( python2_7 ) -inherit distutils eutils +inherit distutils-r1 DESCRIPTION="Gtk frontend for UniConvertor" HOMEPAGE="http://sk1project.org/modules.php?name=Products&product=uniconvertor" @@ -20,15 +18,15 @@ IUSE="" RDEPEND=" - >=media-libs/sk1libs-0.9.1 - ~media-gfx/uniconvertor-${PV} - dev-python/pygtk:2" + >=media-libs/sk1libs-0.9.1[${PYTHON_USEDEP}] + ~media-gfx/uniconvertor-${PV}[${PYTHON_USEDEP}] + dev-python/pygtk:2[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" -src_prepare() { +python_prepare_all() { sed -i \ -e "s/'GNU_GPL_v2', 'GNU_LGPL_v2', 'COPYRIGHTS',//" \ setup.py || die - distutils_src_prepare + distutils-r1_python_prepare_all }