diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-06 18:30:55 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-06 18:30:55 +0000 |
commit | c1d38c1c4b945704c51888f5feefc77e943d62e6 (patch) | |
tree | 73b3e7d0c074be60c689fac5012b632364f01d49 /app-emulation | |
parent | Re-digest the re-rolled rc2 (#2), drop all patches as they are all upstreamed. (diff) | |
download | gentoo-2-c1d38c1c4b945704c51888f5feefc77e943d62e6.tar.gz gentoo-2-c1d38c1c4b945704c51888f5feefc77e943d62e6.tar.bz2 gentoo-2-c1d38c1c4b945704c51888f5feefc77e943d62e6.zip |
Fix installation (bug #264181). Use Python 2, call python_mod_optimize() and python_mod_cleanup() (bug #311205).
(Portage version: 2.2.0_alpha29_p10/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/wine-doors/ChangeLog | 9 | ||||
-rw-r--r-- | app-emulation/wine-doors/wine-doors-0.1.3.ebuild | 22 |
2 files changed, 25 insertions, 6 deletions
diff --git a/app-emulation/wine-doors/ChangeLog b/app-emulation/wine-doors/ChangeLog index 1d9a05fce8d6..56cece2222be 100644 --- a/app-emulation/wine-doors/ChangeLog +++ b/app-emulation/wine-doors/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/wine-doors -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine-doors/ChangeLog,v 1.2 2009/07/13 09:16:17 hanno Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine-doors/ChangeLog,v 1.3 2011/04/06 18:30:55 arfrever Exp $ + + 06 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + wine-doors-0.1.3.ebuild: + Fix installation (bug #264181). Use Python 2, call python_mod_optimize() and + python_mod_cleanup() (bug #311205). 13 Jul 2009; Hanno Boeck <hanno@gentoo.org> wine-doors-0.1.3.ebuild: Add dependency to gconf-python, fix #267381. diff --git a/app-emulation/wine-doors/wine-doors-0.1.3.ebuild b/app-emulation/wine-doors/wine-doors-0.1.3.ebuild index 902fbe78fa04..1991b36a62c4 100644 --- a/app-emulation/wine-doors/wine-doors-0.1.3.ebuild +++ b/app-emulation/wine-doors/wine-doors-0.1.3.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine-doors/wine-doors-0.1.3.ebuild,v 1.2 2009/07/13 09:16:17 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine-doors/wine-doors-0.1.3.ebuild,v 1.3 2011/04/06 18:30:55 arfrever Exp $ -EAPI=2 +EAPI=3 +PYTHON_DEPEND="2" inherit distutils @@ -26,11 +27,24 @@ DEPEND="dev-python/pycairo RDEPEND="${DEPEND} dev-python/gconf-python" +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + src_compile() { einfo "nothing to compile" } src_install() { - distutils_src_install --temp="${D}" + USER="root" distutils_src_install --temp="${D}" keepdir /etc/wine-doors } + +pkg_postinst() { + python_mod_optimize /usr/share/wine-doors +} + +pkg_postrm() { + python_mod_cleanup /usr/share/wine-doors +} |