summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-04-08 18:40:43 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-04-08 18:40:43 +0000
commitb2085c565e523a75c59e57d439c3813bfcf4c765 (patch)
tree3cb5de3716a1c6888508aa362f29545eddcfb1e6 /dev-util
parentapp-portage/layman: Trivial-bump to 1.3.3 (diff)
downloadgentoo-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')
-rw-r--r--dev-util/spe/ChangeLog8
-rw-r--r--dev-util/spe/spe-0.8.4h.ebuild47
2 files changed, 24 insertions, 31 deletions
diff --git a/dev-util/spe/ChangeLog b/dev-util/spe/ChangeLog
index fa98f9a611cf..2ecf5116de91 100644
--- a/dev-util/spe/ChangeLog
+++ b/dev-util/spe/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/spe
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/spe/ChangeLog,v 1.39 2009/02/04 16:04:45 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/spe/ChangeLog,v 1.40 2010/04/08 18:40:43 arfrever Exp $
+
+ 08 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ spe-0.8.4h.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
*spe-0.8.4h (04 Feb 2009)
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
}