summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-03-02 12:54:31 +0000
committerMichał Górny <mgorny@gentoo.org>2013-03-02 12:54:31 +0000
commit7edb15329c57348fcf92d18808dac39b43b671c4 (patch)
treef3525d4385933e1c2ef1085d2bf3b54905a397d8 /eclass
parentAdded skiptest.patch for 1.2.1 versions skipping tests set to fail, wrt Bug #... (diff)
downloadgentoo-2-7edb15329c57348fcf92d18808dac39b43b671c4.tar.gz
gentoo-2-7edb15329c57348fcf92d18808dac39b43b671c4.tar.bz2
gentoo-2-7edb15329c57348fcf92d18808dac39b43b671c4.zip
Remove deprecation warnings wrt bug #452160. The code will not be removed anymore since the eclass will be deprecated at some point.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/python.eclass16
2 files changed, 7 insertions, 15 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 12ea07303154..0cec392ddbe3 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.698 2013/03/02 07:17:50 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.699 2013/03/02 12:54:31 mgorny Exp $
+
+ 02 Mar 2013; Michał Górny <mgorny@gentoo.org> python.eclass:
+ Remove deprecation warnings wrt bug #452160. The code will not be removed
+ anymore since the eclass will be deprecated at some point.
02 Mar 2013; Michał Górny <mgorny@gentoo.org> distutils-r1.eclass:
Run *_all() phases in best-impl sources, in an in-source build.
diff --git a/eclass/python.eclass b/eclass/python.eclass
index f83f2c24f183..b40990dc1431 100644
--- a/eclass/python.eclass
+++ b/eclass/python.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.164 2012/12/20 06:34:57 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.165 2013/03/02 12:54:31 mgorny Exp $
# @ECLASS: python.eclass
# @MAINTAINER:
@@ -3001,12 +3001,6 @@ python_mod_optimize() {
fi
else
# Deprecated part of python_mod_optimize()
- ewarn
- ewarn "Deprecation Warning: Usage of ${FUNCNAME}() in packages not supporting installation"
- ewarn "for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01."
- ewarn "Use EAPI >=3 and call ${FUNCNAME}() with paths having appropriate syntax."
- ewarn "The ebuild needs to be fixed. Please report a bug, if it has not been already reported."
- ewarn
local myroot mydirs=() myfiles=() myopts=() return_code="0"
@@ -3166,12 +3160,6 @@ python_mod_cleanup() {
done
else
# Deprecated part of python_mod_cleanup()
- ewarn
- ewarn "Deprecation Warning: Usage of ${FUNCNAME}() in packages not supporting installation"
- ewarn "for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01."
- ewarn "Use EAPI >=3 and call ${FUNCNAME}() with paths having appropriate syntax."
- ewarn "The ebuild needs to be fixed. Please report a bug, if it has not been already reported."
- ewarn
search_paths=("${@#/}")
search_paths=("${search_paths[@]/#/${root}/}")