summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2012-05-21 18:10:33 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2012-05-21 18:10:33 +0000
commit13f7a365d2c89c51f7c39f62a5f20c5d9bb42f03 (patch)
treeafc9864f4303efe86bbad3d91eb5b743c46ed73f
parentAdd missing inheritance of eutils.eclass (diff)
downloadgentoo-2-13f7a365d2c89c51f7c39f62a5f20c5d9bb42f03.tar.gz
gentoo-2-13f7a365d2c89c51f7c39f62a5f20c5d9bb42f03.tar.bz2
gentoo-2-13f7a365d2c89c51f7c39f62a5f20c5d9bb42f03.zip
Add information about automatic run of python-distutils-ng_redoscript.
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/python-distutils-ng.eclass4
2 files changed, 8 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 0ce4f887aa1d..07ca4d6c6cde 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.260 2012/05/21 17:34:53 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.261 2012/05/21 18:10:33 nelchael Exp $
+
+ 21 May 2012; Krzysztof Pawlik <nelchael@gentoo.org>
+ python-distutils-ng.eclass:
+ Add information about automatic run of python-distutils-ng_redoscript.
21 May 2012; Michał Górny <mgorny@gentoo.org> autotools-utils.eclass:
Fix to match autotools.eclass API changes.
diff --git a/eclass/python-distutils-ng.eclass b/eclass/python-distutils-ng.eclass
index a905a1294b3c..c9900656a21d 100644
--- a/eclass/python-distutils-ng.eclass
+++ b/eclass/python-distutils-ng.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/python-distutils-ng.eclass,v 1.22 2012/05/21 17:33:09 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-distutils-ng.eclass,v 1.23 2012/05/21 18:10:33 nelchael Exp $
# @ECLASS: python-distutils-ng
# @MAINTAINER:
@@ -200,6 +200,8 @@ _python-distutils-ng_default_distutils_install() {
# Reinstall script installed already by setup.py. This works by first moving the
# script to ${T} directory and later running python-distutils-ng_doscript on it.
# script_file_path has to be a full path relative to ${D}.
+# Warning: this function can be run automatically by the eclass in src_install,
+# see python-distutils-ng_src_install and PYTHON_DISABLE_SCRIPT_REDOS variable.
python-distutils-ng_redoscript() {
local sbn="$(basename "${1}")"
mkdir -p "${T}/_${sbn}/" || die "failed to create directory"