summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-14 16:20:24 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-14 16:20:24 +0000
commit7e301ae20d7f388cd5c3bacd3efc05d6a37ba843 (patch)
tree40df6b3a0356bafbe667d3e487df2be8ea1642cc /net-fs
parentFix pkg_postrm(). (diff)
downloadgentoo-2-7e301ae20d7f388cd5c3bacd3efc05d6a37ba843.tar.gz
gentoo-2-7e301ae20d7f388cd5c3bacd3efc05d6a37ba843.tar.bz2
gentoo-2-7e301ae20d7f388cd5c3bacd3efc05d6a37ba843.zip
Fix usage of python_mod_optimize() and python_mod_cleanup().
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/samba/ChangeLog6
-rw-r--r--net-fs/samba/samba-4.0.0_alpha11.ebuild6
2 files changed, 8 insertions, 4 deletions
diff --git a/net-fs/samba/ChangeLog b/net-fs/samba/ChangeLog
index 2a511e137db4..f9b87b12d89c 100644
--- a/net-fs/samba/ChangeLog
+++ b/net-fs/samba/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-fs/samba
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.425 2010/06/23 19:50:21 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.426 2010/07/14 16:20:24 arfrever Exp $
+
+ 14 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ samba-4.0.0_alpha11.ebuild:
+ Fix usage of python_mod_optimize() and python_mod_cleanup().
*samba-3.5.4 (23 Jun 2010)
diff --git a/net-fs/samba/samba-4.0.0_alpha11.ebuild b/net-fs/samba/samba-4.0.0_alpha11.ebuild
index 594f3eadb17a..a5592e8091a5 100644
--- a/net-fs/samba/samba-4.0.0_alpha11.ebuild
+++ b/net-fs/samba/samba-4.0.0_alpha11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-4.0.0_alpha11.ebuild,v 1.3 2010/02/28 16:03:03 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-4.0.0_alpha11.ebuild,v 1.4 2010/07/14 16:20:24 arfrever Exp $
EAPI="2"
@@ -145,7 +145,7 @@ src_test() {
pkg_postinst() {
# Optimize the python modules so they get properly removed
- python_mod_optimize $(python_get_sitedir)/${PN}
+ use python && python_mod_optimize $(python_get_sitedir)/${PN}
# Warn that it's an alpha
ewarn "Samba 4 is an alpha and therefore not considered stable. It's only"
@@ -154,5 +154,5 @@ pkg_postinst() {
pkg_postrm() {
# Clean up the python modules
- python_mod_cleanup
+ use python && python_mod_cleanup $(python_get_sitedir)/${PN}
}