summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/subversion/subversion-1.4.3-r1.ebuild')
-rw-r--r--dev-util/subversion/subversion-1.4.3-r1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-util/subversion/subversion-1.4.3-r1.ebuild b/dev-util/subversion/subversion-1.4.3-r1.ebuild
index b684c05b46c9..22234ea15a52 100644
--- a/dev-util/subversion/subversion-1.4.3-r1.ebuild
+++ b/dev-util/subversion/subversion-1.4.3-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/subversion-1.4.3-r1.ebuild,v 1.1 2007/05/15 18:44:40 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/subversion-1.4.3-r1.ebuild,v 1.2 2007/06/15 09:04:53 phreak Exp $
-inherit elisp-common libtool python eutils bash-completion flag-o-matic depend.apache perl-module java-pkg-opt-2
+inherit elisp-common libtool python eutils bash-completion flag-o-matic depend.apache perl-module java-pkg-opt-2 multilib
DESCRIPTION="A compelling replacement for CVS"
HOMEPAGE="http://subversion.tigris.org/"
@@ -336,6 +336,12 @@ pkg_postinst() {
pkg_postrm() {
use emacs && elisp-site-regen
use perl && perl-module_pkg_postrm
+
+ # Cleanup bytecompiled python stuff
+ if use python ; then
+ python_mod_optimize ${ROOT}usr/$(get_libdir)/python*/site-packages/svn
+ python_mod_optimize ${ROOT}usr/$(get_libdir)/python*/site-packages/libsvn
+ fi
}
pkg_config() {