On Sun, 28 May 2017 03:07:50 -0700
Zac Medico <zmed...@gentoo.org> wrote:

> With FEATURES=binpkg-multi-instance, it is normal to have some
> unused binary packages, so don't warn if the selected package
> is the latest version and the most recent build.
> 
   ^^^
is or isn't  the latest version?


> X-Gentoo-bug: 619620
> X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=619620
> ---
>  pym/_emerge/depgraph.py | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
> index 726835dd4..2dc432431 100644
> --- a/pym/_emerge/depgraph.py
> +++ b/pym/_emerge/depgraph.py
> @@ -876,6 +876,15 @@ class depgraph(object):
>                                       
> self._dynamic_config.ignored_binaries.pop(pkg)
>                                       break
>  
> +                             # NOTE: The Package.__ge__
> implementation accounts for
> +                             # differences in build_time, so the
> warning about "ignored"
> +                             # packages will be triggered if both
> packages are the same
> +                             # version and selected_pkg is not
> the most recent build.
> +                             if (selected_pkg.type_name ==
> "binary" and
> +                                     selected_pkg >= pkg):
> +
> self._dynamic_config.ignored_binaries.pop(pkg)
> +                                     break
> +
>                               if selected_pkg.installed and \
>                                       selected_pkg.cpv == pkg.cpv
> and \ selected_pkg.build_time == pkg.build_time:



-- 
Brian Dolbec <dolsen>


Reply via email to