Gentoo Archives: gentoo-dev

From: "Harald van Dijk" <truedfx@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Minor changes in python.eclass and distutils.eclass
Date: Mon, 05 Jul 2010 17:38:50
Message-Id: 20100705173856.GA14008@boostbox
In Reply to: Re: [gentoo-dev] Minor changes in python.eclass and distutils.eclass by Arfrever Frehtes Taifersar Arahesis
On Mon, Jul 05, 2010 at 07:01:27PM +0200, Arfrever Frehtes Taifersar Arahesis wrote:
> 2010-07-05 18:36:09 Tomáš Chvátal napisał(a): > > Dne 5.7.2010 18:34, Arfrever Frehtes Taifersar Arahesis napsal(a): > > > python.eclass uses colors for build time outputting, which doesn't communicate anything for users. > > > > > + echo " ${_RED}*${_NORMAL} ${_RED}Deprecation Warning: NEED_PYTHON > > variable is deprecated and will be banned on 2010-10-01.${_NORMAL}" > > + echo " ${_RED}*${_NORMAL} ${_RED}Use PYTHON_DEPEND variable instead of > > NEED_PYTHON variable.${_NORMAL}" > > + echo " ${_RED}*${_NORMAL} ${_RED}The ebuild needs to be fixed. Please > > report a bug, if it has not been already reported.${_NORMAL}" > > > > The above is build outputting since when? > > The colored, non-logged output in deprecation warnings is used as exception to increase > the chance that ebuild maintainers will be notified earlier about the necessity of changes > in given ebuilds.
einfo/ewarn/eerror output is repeated by default when emerge exits. By not using einfo/ewarn/eerror, you are making it less likely that others will be reading your deprecation notices.

Replies