summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2007-06-15 09:04:53 +0000
committerChristian Heim <phreak@gentoo.org>2007-06-15 09:04:53 +0000
commitd9aae9e56f8664c8c9a1bf3afe46a73e09f51a75 (patch)
tree7cd1d4955dc3cd29d72622ac890b7526b56cf6fb /dev-util/subversion
parentInitial import. (diff)
downloadgentoo-2-d9aae9e56f8664c8c9a1bf3afe46a73e09f51a75.tar.gz
gentoo-2-d9aae9e56f8664c8c9a1bf3afe46a73e09f51a75.tar.bz2
gentoo-2-d9aae9e56f8664c8c9a1bf3afe46a73e09f51a75.zip
Cleaning out the bytecompiled python modules on postrm (#177536, thanks to Jakub).
(Portage version: 2.1.3_rc1)
Diffstat (limited to 'dev-util/subversion')
-rw-r--r--dev-util/subversion/ChangeLog7
-rw-r--r--dev-util/subversion/subversion-1.4.3-r1.ebuild10
-rw-r--r--dev-util/subversion/subversion-1.4.4.ebuild7
3 files changed, 20 insertions, 4 deletions
diff --git a/dev-util/subversion/ChangeLog b/dev-util/subversion/ChangeLog
index 6322d8f8224c..30c15197e838 100644
--- a/dev-util/subversion/ChangeLog
+++ b/dev-util/subversion/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/subversion
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/ChangeLog,v 1.261 2007/06/14 18:37:30 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/ChangeLog,v 1.262 2007/06/15 09:04:53 phreak Exp $
+
+ 15 Jun 2007; Christian Heim <phreak@gentoo.org>
+ subversion-1.4.3-r1.ebuild, subversion-1.4.4.ebuild:
+ Cleaning out the bytecompiled python modules on postrm (#177536, thanks to
+ Jakub).
14 Jun 2007; Christoph Mende <angelos@gentoo.org>
subversion-1.3.2-r4.ebuild:
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() {
diff --git a/dev-util/subversion/subversion-1.4.4.ebuild b/dev-util/subversion/subversion-1.4.4.ebuild
index 2aecefa8c6f6..8fe01317052b 100644
--- a/dev-util/subversion/subversion-1.4.4.ebuild
+++ b/dev-util/subversion/subversion-1.4.4.ebuild
@@ -1,6 +1,6 @@
# 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.4.ebuild,v 1.1 2007/06/14 17:46:11 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/subversion-1.4.4.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
@@ -336,6 +336,11 @@ pkg_postinst() {
pkg_postrm() {
use emacs && elisp-site-regen
use perl && perl-module_pkg_postrm
+
+ 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() {