diff options
author | Ali Polatel <hawking@gentoo.org> | 2008-05-29 16:28:47 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2008-05-29 16:28:47 +0000 |
commit | a2a1c7570e852cebaa59c4bbaaed67b20f44efe3 (patch) | |
tree | 6532402f897fc14a6587d070cd2b0e49a3c7401d /dev-python/pygtksourceview | |
parent | Use get_libdir. (diff) | |
download | gentoo-2-a2a1c7570e852cebaa59c4bbaaed67b20f44efe3.tar.gz gentoo-2-a2a1c7570e852cebaa59c4bbaaed67b20f44efe3.tar.bz2 gentoo-2-a2a1c7570e852cebaa59c4bbaaed67b20f44efe3.zip |
python_mod_optimize is ROOT aware. Run python_mod_cleanup in pkg_postrm.
(Portage version: 2.1.5.2)
Diffstat (limited to 'dev-python/pygtksourceview')
-rw-r--r-- | dev-python/pygtksourceview/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pygtksourceview/pygtksourceview-2.0.0-r1.ebuild | 7 | ||||
-rw-r--r-- | dev-python/pygtksourceview/pygtksourceview-2.2.0.ebuild | 7 |
3 files changed, 11 insertions, 9 deletions
diff --git a/dev-python/pygtksourceview/ChangeLog b/dev-python/pygtksourceview/ChangeLog index 96b8f8940a7b..d37c1b39b764 100644 --- a/dev-python/pygtksourceview/ChangeLog +++ b/dev-python/pygtksourceview/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pygtksourceview # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtksourceview/ChangeLog,v 1.9 2008/03/11 00:24:01 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtksourceview/ChangeLog,v 1.10 2008/05/29 16:28:47 hawking Exp $ + + 29 May 2008; Ali Polatel <hawking@gentoo.org> + pygtksourceview-2.0.0-r1.ebuild, pygtksourceview-2.2.0.ebuild: + python_mod_optimize is ROOT aware. Run python_mod_cleanup in pkg_postrm. *pygtksourceview-2.2.0 (11 Mar 2008) diff --git a/dev-python/pygtksourceview/pygtksourceview-2.0.0-r1.ebuild b/dev-python/pygtksourceview/pygtksourceview-2.0.0-r1.ebuild index 5a475c8be22f..f84e6656e1ea 100644 --- a/dev-python/pygtksourceview/pygtksourceview-2.0.0-r1.ebuild +++ b/dev-python/pygtksourceview/pygtksourceview-2.0.0-r1.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/dev-python/pygtksourceview/pygtksourceview-2.0.0-r1.ebuild,v 1.8 2007/12/11 16:45:53 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtksourceview/pygtksourceview-2.0.0-r1.ebuild,v 1.9 2008/05/29 16:28:47 hawking Exp $ NEED_PYTHON=2.3.5 @@ -36,6 +36,5 @@ pkg_postinst() { } pkg_postrm() { - python_version - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/ + python_mod_cleanup } diff --git a/dev-python/pygtksourceview/pygtksourceview-2.2.0.ebuild b/dev-python/pygtksourceview/pygtksourceview-2.2.0.ebuild index be9e2081745a..501782e1c7e6 100644 --- a/dev-python/pygtksourceview/pygtksourceview-2.2.0.ebuild +++ b/dev-python/pygtksourceview/pygtksourceview-2.2.0.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/dev-python/pygtksourceview/pygtksourceview-2.2.0.ebuild,v 1.1 2008/03/11 00:24:01 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtksourceview/pygtksourceview-2.2.0.ebuild,v 1.2 2008/05/29 16:28:47 hawking Exp $ NEED_PYTHON=2.3.5 @@ -32,10 +32,9 @@ pkg_setup() { pkg_postinst() { python_version - python_mod_optimize "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/ + python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/ } pkg_postrm() { - python_version - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/ + python_mod_cleanup } |