summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2013-03-30 18:19:54 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2013-03-30 18:19:54 +0000
commitb3ec07be6f9933c5bd4c09f1d9f752e884e7ef56 (patch)
tree214720788a6d090384a0671ac713029b5866e45a /app-accessibility/accerciser
parentStable for HPPA (bug #457238). (diff)
downloadgentoo-2-b3ec07be6f9933c5bd4c09f1d9f752e884e7ef56.tar.gz
gentoo-2-b3ec07be6f9933c5bd4c09f1d9f752e884e7ef56.tar.bz2
gentoo-2-b3ec07be6f9933c5bd4c09f1d9f752e884e7ef56.zip
Fixup python handling, policy, keywords.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Diffstat (limited to 'app-accessibility/accerciser')
-rw-r--r--app-accessibility/accerciser/ChangeLog5
-rw-r--r--app-accessibility/accerciser/accerciser-3.8.0.ebuild19
2 files changed, 13 insertions, 11 deletions
diff --git a/app-accessibility/accerciser/ChangeLog b/app-accessibility/accerciser/ChangeLog
index ab0a35e1f7af..76a579607c57 100644
--- a/app-accessibility/accerciser/ChangeLog
+++ b/app-accessibility/accerciser/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-accessibility/accerciser
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/accerciser/ChangeLog,v 1.31 2013/03/28 16:25:40 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/accerciser/ChangeLog,v 1.32 2013/03/30 18:19:54 eva Exp $
+
+ 30 Mar 2013; Gilles Dartiguelongue <eva@gentoo.org> accerciser-3.8.0.ebuild:
+ Fixup python handling, policy, keywords.
*accerciser-3.8.0 (28 Mar 2013)
diff --git a/app-accessibility/accerciser/accerciser-3.8.0.ebuild b/app-accessibility/accerciser/accerciser-3.8.0.ebuild
index cab8536e8916..fae3e4026005 100644
--- a/app-accessibility/accerciser/accerciser-3.8.0.ebuild
+++ b/app-accessibility/accerciser/accerciser-3.8.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/accerciser/accerciser-3.8.0.ebuild,v 1.1 2013/03/28 16:25:40 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/accerciser/accerciser-3.8.0.ebuild,v 1.2 2013/03/30 18:19:54 eva Exp $
EAPI="5"
GCONF_DEBUG="no"
@@ -14,7 +14,7 @@ HOMEPAGE="http://live.gnome.org/Accerciser"
LICENSE="BSD CC-BY-SA-3.0"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
@@ -41,13 +41,17 @@ DEPEND="${RDEPEND}
"
src_prepare() {
- G2CONF="${G2CONF} ITSTOOL=$(type -P true)"
gnome2_src_prepare
+
+ # Leave shebang alone
+ sed 's:@PYTHON@:/usr/bin/python:' -i src/accerciser.in || die
+
python_copy_sources
}
src_configure() {
- python_foreach_impl run_in_build_dir gnome2_src_configure
+ python_foreach_impl run_in_build_dir gnome2_src_configure \
+ ITSTOOL=$(type -P true)
}
src_compile() {
@@ -57,12 +61,7 @@ src_compile() {
src_install() {
installing() {
gnome2_src_install
+ python_doscript src/accerciser
}
python_foreach_impl run_in_build_dir installing
}
-
-run_in_build_dir() {
- pushd "${BUILD_DIR}" > /dev/null || die
- "$@"
- popd > /dev/null
-}