summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-02-11 22:10:30 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-02-11 22:10:30 +0000
commit3f0b0f5d2c6e201060cef49004d43d34b708974a (patch)
tree66e0282541690a3feff02fbf41455846cac62e3c /app-admin/pessulus
parentFix bug #209742 so that LDFLAGS are respected by the libraries AND binaries. (diff)
downloadgentoo-2-3f0b0f5d2c6e201060cef49004d43d34b708974a.tar.gz
gentoo-2-3f0b0f5d2c6e201060cef49004d43d34b708974a.tar.bz2
gentoo-2-3f0b0f5d2c6e201060cef49004d43d34b708974a.zip
* fix python eclass use, bug #207667
(Portage version: 2.1.4.1)
Diffstat (limited to 'app-admin/pessulus')
-rw-r--r--app-admin/pessulus/ChangeLog8
-rw-r--r--app-admin/pessulus/pessulus-2.16.3.ebuild14
2 files changed, 17 insertions, 5 deletions
diff --git a/app-admin/pessulus/ChangeLog b/app-admin/pessulus/ChangeLog
index fcf33a4d18ef..aab6b553d982 100644
--- a/app-admin/pessulus/ChangeLog
+++ b/app-admin/pessulus/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/pessulus
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/pessulus/ChangeLog,v 1.44 2007/11/27 03:37:39 jer Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/pessulus/ChangeLog,v 1.45 2008/02/11 22:10:30 eva Exp $
+
+ 10 Feb 2008; Gilles Dartiguelongue <eva@gentoo.org>
+ pessulus-2.16.3.ebuild:
+ fix python eclass use, bug #207667
27 Nov 2007; Jeroen Roovers <jer@gentoo.org> pessulus-2.16.3.ebuild:
Stable for HPPA (bug #199322).
diff --git a/app-admin/pessulus/pessulus-2.16.3.ebuild b/app-admin/pessulus/pessulus-2.16.3.ebuild
index b309f06b4363..5f27b464c685 100644
--- a/app-admin/pessulus/pessulus-2.16.3.ebuild
+++ b/app-admin/pessulus/pessulus-2.16.3.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/app-admin/pessulus/pessulus-2.16.3.ebuild,v 1.7 2007/11/27 03:37:39 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/pessulus/pessulus-2.16.3.ebuild,v 1.8 2008/02/11 22:10:30 eva Exp $
inherit gnome2 multilib python
@@ -23,9 +23,17 @@ DEPEND="${RDEPEND}
DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README TODO"
+src_unpack() {
+ gnome2_src_unpack
+
+ # disable pyc compiling
+ mv "${S}"/py-compile "${S}"/py-compile.orig
+ ln -s $(type -P true) "${S}"/py-compile
+}
+
pkg_postinst() {
python_version
- python_mod_optimize "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/Pessulus
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/Pessulus
}
pkg_postrm() {