diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2008-02-10 22:18:58 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2008-02-10 22:18:58 +0000 |
commit | 5e06ae137db8ce7ab6f2b45ceffdaa17ba677d26 (patch) | |
tree | 9d2d85803ee9ac6c8a57a90d7b0bf417aeff9ef2 /x11-misc | |
parent | Stable on amd64, security bug #209293 (diff) | |
download | gentoo-2-5e06ae137db8ce7ab6f2b45ceffdaa17ba677d26.tar.gz gentoo-2-5e06ae137db8ce7ab6f2b45ceffdaa17ba677d26.tar.bz2 gentoo-2-5e06ae137db8ce7ab6f2b45ceffdaa17ba677d26.zip |
* fix tests and fix python eclass use, bug #207667
(Portage version: 2.1.4.1)
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/alacarte/ChangeLog | 6 | ||||
-rw-r--r-- | x11-misc/alacarte/alacarte-0.11.3-r1.ebuild | 22 |
2 files changed, 26 insertions, 2 deletions
diff --git a/x11-misc/alacarte/ChangeLog b/x11-misc/alacarte/ChangeLog index f2c43ac15b4f..10758443c785 100644 --- a/x11-misc/alacarte/ChangeLog +++ b/x11-misc/alacarte/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-misc/alacarte # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/alacarte/ChangeLog,v 1.43 2008/01/30 20:52:37 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/alacarte/ChangeLog,v 1.44 2008/02/10 22:18:58 eva Exp $ + + 10 Feb 2008; Gilles Dartiguelongue <eva@gentoo.org> + alacarte-0.11.3-r1.ebuild: + fix tests and fix python eclass use, bug #207667 30 Jan 2008; Daniel Gryniewicz <dang@gentoo.org> alacarte-0.11.3-r1.ebuild: diff --git a/x11-misc/alacarte/alacarte-0.11.3-r1.ebuild b/x11-misc/alacarte/alacarte-0.11.3-r1.ebuild index 055988984499..901974419c42 100644 --- a/x11-misc/alacarte/alacarte-0.11.3-r1.ebuild +++ b/x11-misc/alacarte/alacarte-0.11.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/alacarte/alacarte-0.11.3-r1.ebuild,v 1.12 2008/01/30 20:52:37 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/alacarte/alacarte-0.11.3-r1.ebuild,v 1.13 2008/02/10 22:18:58 eva Exp $ inherit gnome2 python eutils autotools @@ -35,6 +35,26 @@ src_unpack() { epatch "${FILESDIR}"/${P}-python-2.5.patch + # disable pyc compiling + mv py-compile py-compile.orig + ln -s $(type -P true) py-compile + + # fix tests + echo "alacarte.desktop.in" >> po/POTFILES.in + eautoreconf intltoolize --force } + +pkg_postinst() { + gnome2_pkg_postinst + python_version + python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/Alacarte +} + +pkg_postrm() { + gnome2_pkg_postrm + python_version + python_mod_cleanup +} + |