Disclaimer: this bug has been filed in a semi-automated manner.
When emerging the package x11-libs/pango-1.30.1, the following elog messages are displayed:
* In >=pango-1.30.1, default configuration file locations moved from
* ~/.pangorc and ~/.pangox_aliases to ~/.config/pango/pangorc and
Such messages should only be displayed when the package is upgraded from an old enough package (and possibly for new installs).
These situations can be checked in the ebuild as follows:
if has_version '<x11-libs/pango-1.0'; then
Or, if the message should also be displayed for new installs:
if !has_version 'x11-libs/pango' || has_version '<x11-libs/pango-1.0'; then
Remember to replace 1.0 with the right version number.
See the tracker bug 440214 for more details.
It is probably better to check this with EAPI 4/5 REPLACES_VERSION
fixed in latest versions