Lines 1-14
Link Here
|
1 |
# Copyright 1999-2010 Gentoo Foundation |
1 |
# Copyright 1999-2015 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/uniconvw/uniconvw-1.1.5.ebuild,v 1.5 2010/08/08 17:53:44 jlec Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/uniconvw/uniconvw-1.1.5.ebuild,v 1.5 2010/08/08 17:53:44 jlec Exp $ |
4 |
|
4 |
|
5 |
EAPI="2" |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
PYTHON_DEPEND="2" |
7 |
PYTHON_COMPAT=( python2_7 ) |
8 |
SUPPORT_PYTHON_ABIS="1" |
|
|
9 |
RESTRICT_PYTHON_ABIS="3.*" |
10 |
|
8 |
|
11 |
inherit distutils eutils |
9 |
inherit distutils-r1 |
12 |
|
10 |
|
13 |
DESCRIPTION="Gtk frontend for UniConvertor" |
11 |
DESCRIPTION="Gtk frontend for UniConvertor" |
14 |
HOMEPAGE="http://sk1project.org/modules.php?name=Products&product=uniconvertor" |
12 |
HOMEPAGE="http://sk1project.org/modules.php?name=Products&product=uniconvertor" |
Lines 20-34
Link Here
|
20 |
IUSE="" |
18 |
IUSE="" |
21 |
|
19 |
|
22 |
RDEPEND=" |
20 |
RDEPEND=" |
23 |
>=media-libs/sk1libs-0.9.1 |
21 |
>=media-libs/sk1libs-0.9.1[${PYTHON_USEDEP}] |
24 |
~media-gfx/uniconvertor-${PV} |
22 |
~media-gfx/uniconvertor-${PV}[${PYTHON_USEDEP}] |
25 |
dev-python/pygtk:2" |
23 |
dev-python/pygtk:2[${PYTHON_USEDEP}]" |
26 |
DEPEND="${RDEPEND}" |
24 |
DEPEND="${RDEPEND}" |
27 |
|
25 |
|
28 |
src_prepare() { |
26 |
python_prepare_all() { |
29 |
sed -i \ |
27 |
sed -i \ |
30 |
-e "s/'GNU_GPL_v2', 'GNU_LGPL_v2', 'COPYRIGHTS',//" \ |
28 |
-e "s/'GNU_GPL_v2', 'GNU_LGPL_v2', 'COPYRIGHTS',//" \ |
31 |
setup.py || die |
29 |
setup.py || die |
32 |
|
30 |
|
33 |
distutils_src_prepare |
31 |
distutils-r1_python_prepare_all |
34 |
} |
32 |
} |