diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-04-08 18:40:43 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-04-08 18:40:43 +0000 |
commit | b2085c565e523a75c59e57d439c3813bfcf4c765 (patch) | |
tree | 3cb5de3716a1c6888508aa362f29545eddcfb1e6 /dev-util/spe/spe-0.8.4h.ebuild | |
parent | app-portage/layman: Trivial-bump to 1.3.3 (diff) | |
download | gentoo-2-b2085c565e523a75c59e57d439c3813bfcf4c765.tar.gz gentoo-2-b2085c565e523a75c59e57d439c3813bfcf4c765.tar.bz2 gentoo-2-b2085c565e523a75c59e57d439c3813bfcf4c765.zip |
Set SUPPORT_PYTHON_ABIS.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/spe/spe-0.8.4h.ebuild')
-rw-r--r-- | dev-util/spe/spe-0.8.4h.ebuild | 47 |
1 files changed, 18 insertions, 29 deletions
diff --git a/dev-util/spe/spe-0.8.4h.ebuild b/dev-util/spe/spe-0.8.4h.ebuild index 376c9d404ae3..ab90a77a6942 100644 --- a/dev-util/spe/spe-0.8.4h.ebuild +++ b/dev-util/spe/spe-0.8.4h.ebuild @@ -1,8 +1,12 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/spe/spe-0.8.4h.ebuild,v 1.1 2009/02/04 16:04:45 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/spe/spe-0.8.4h.ebuild,v 1.2 2010/04/08 18:40:43 arfrever Exp $ -inherit eutils python +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils eutils MY_PV="0.8.4.h" @@ -14,37 +18,22 @@ IUSE="" SLOT="0" LICENSE="GPL-3" KEYWORDS="~amd64 ~x86 ~ppc ~sparc" -DEPEND=">=dev-lang/python-2.5" -RDEPEND="${DEPEND} - =dev-python/wxpython-2.6* - >=dev-python/pychecker-0.8.18 - >=dev-util/wxglade-0.3.2" -S="${WORKDIR}/spe-${MY_PV}/" +DEPEND="" +RDEPEND=">=dev-python/pychecker-0.8.18 + >=dev-python/wxpython-2.6 + >=dev-util/wxglade-0.3.2" +RESTRICT_PYTHON_ABIS="3.*" -src_compile() { - python setup.py build || die "build failed" -} +S="${WORKDIR}/spe-${MY_PV}" + +PYTHON_MODNAME="_spe" src_install() { - python_version - local mypyconf - local site_pkgs=/usr/$(get_libdir)/python${PYVER}/site-packages - dodir ${site_pkgs} + distutils_src_install - python setup.py install --prefix=/usr --root="${D}" || die + doicon _spe/images/spe.png - doicon "${S}/build/lib/_spe/images/spe.png" insinto /usr/share/applications - doins "${S}/spe.desktop" -} - -pkg_postinst() { - python_version - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/ -} - -pkg_postrm() { - python_version - python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages/ + doins spe.desktop } |