summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-03-28 12:22:42 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-03-28 12:22:42 +0000
commit64c1a866d4fb1c99c29465b1a653b439402fa7f3 (patch)
tree5b2754494b81acd8397061beec42e9792b4f217a /games-strategy/lightyears
parentFixed header locations for metis, added support for pkg-config for lapack and... (diff)
downloadgentoo-2-64c1a866d4fb1c99c29465b1a653b439402fa7f3.tar.gz
gentoo-2-64c1a866d4fb1c99c29465b1a653b439402fa7f3.tar.bz2
gentoo-2-64c1a866d4fb1c99c29465b1a653b439402fa7f3.zip
Fix python eclass usage
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-strategy/lightyears')
-rw-r--r--games-strategy/lightyears/ChangeLog7
-rw-r--r--games-strategy/lightyears/lightyears-1.2a.ebuild6
2 files changed, 8 insertions, 5 deletions
diff --git a/games-strategy/lightyears/ChangeLog b/games-strategy/lightyears/ChangeLog
index d0a97411adc0..a7ec85338b0f 100644
--- a/games-strategy/lightyears/ChangeLog
+++ b/games-strategy/lightyears/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/lightyears
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/lightyears/ChangeLog,v 1.4 2007/05/29 22:35:37 nyhm Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/lightyears/ChangeLog,v 1.5 2008/03/28 12:22:42 nyhm Exp $
+
+ 28 Mar 2008; Tristan Heaven <nyhm@gentoo.org> lightyears-1.2a.ebuild:
+ Fix python eclass usage
29 May 2007; Tristan Heaven <nyhm@gentoo.org> lightyears-1.2a.ebuild:
Byte compile .py files for some speedup, bug #180191
diff --git a/games-strategy/lightyears/lightyears-1.2a.ebuild b/games-strategy/lightyears/lightyears-1.2a.ebuild
index fc87843c816e..968767c638e1 100644
--- a/games-strategy/lightyears/lightyears-1.2a.ebuild
+++ b/games-strategy/lightyears/lightyears-1.2a.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/lightyears/lightyears-1.2a.ebuild,v 1.4 2007/05/29 22:35:37 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/lightyears/lightyears-1.2a.ebuild,v 1.5 2008/03/28 12:22:42 nyhm Exp $
inherit eutils python games
@@ -56,8 +56,8 @@ src_install() {
}
pkg_postinst() {
+ python_mod_optimize "${ROOT}$(games_get_libdir)/${PN}"
games_pkg_postinst
- python_mod_optimize "$(games_get_libdir)/${PN}"
}
pkg_postrm() {