summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-03-09 13:13:02 +0000
committerMichał Górny <mgorny@gentoo.org>2013-03-09 13:13:02 +0000
commit36c74744b7c0fcbc0b577e87cafa4de9c8eecfcc (patch)
tree8c84cbfeb7839f97ea598b31df1ed69f8d962d78 /eclass
parentRemove the python_configure hack since bug 460016 was fixed. (diff)
downloadhistorical-36c74744b7c0fcbc0b577e87cafa4de9c8eecfcc.tar.gz
historical-36c74744b7c0fcbc0b577e87cafa4de9c8eecfcc.tar.bz2
historical-36c74744b7c0fcbc0b577e87cafa4de9c8eecfcc.zip
Use doins instead of dodoc to install examples, due to PMS limitations. Bug #460516.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/distutils-r1.eclass9
2 files changed, 9 insertions, 6 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index d2d3973a6098..0ae0011d7ed9 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.720 2013/03/09 12:07:50 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.721 2013/03/09 13:13:02 mgorny Exp $
+
+ 09 Mar 2013; Michał Górny <mgorny@gentoo.org> distutils-r1.eclass:
+ Use doins instead of dodoc to install examples, due to PMS limitations. Bug
+ #460516.
09 Mar 2013; Sven Vermeulen <swift@gentoo.org> selinux-policy-2.eclass:
Do not load unconfined module with strict policy
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 0de211dfc59f..264ce9c93a44 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.62 2013/03/04 19:29:43 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.63 2013/03/09 13:13:02 mgorny Exp $
# @ECLASS: distutils-r1
# @MAINTAINER:
@@ -508,10 +508,9 @@ distutils-r1_python_install_all() {
fi
if declare -p EXAMPLES &>/dev/null; then
- local DOCDESTTREE=examples
- dodoc -r "${EXAMPLES[@]}"
-
- docompress -x /usr/share/doc/${PF}/examples
+ local INSDESTTREE=/usr/share/doc/${PF}/examples
+ doins -r "${EXAMPLES[@]}"
+ docompress -x "${INSDESTTREE}"
fi
}