Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 726658
Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +7 lines)
Line  Link Here
0
-- a/pym/gentoolkit/eclean/search.py   2020-05-02 13:30:12.958615228 +0200
0
++ b/pym/gentoolkit/eclean/search.py   2020-05-02 13:33:31.019597359 +0200
Lines 586-601 Link Here
586
                       if _deps_equal(binpkg_deps, ebuild_deps, cpv.eapi, uselist):
586
                       if _deps_equal(binpkg_deps, ebuild_deps, cpv.eapi, uselist):
587
                               continue
587
                               continue
588
588
589
               if destructive and var_dbapi.cpv_exists(cpv):
589
               if destructive and port_dbapi.cpv_exists(cpv):
590
                       # Exclude if an instance of the package is installed due to
590
                       # Exclude if an instance of the package is installed due to
591
                       # the --package-names option.
591
                       # the --package-names option.
592
                       if cp in installed and port_dbapi.cpv_exists(cpv):
592
                       if cp in installed and port_dbapi.cpv_exists(cpv):
593
                               continue
593
                               continue
594
594
595
                       # Exclude if BUILD_TIME of binpkg is same as vartree
595
                       if var_dbapi.cpv_exists(cpv):
596
                       buildtime = var_dbapi.aux_get(cpv, ['BUILD_TIME'])[0]
596
                               # Exclude if BUILD_TIME of binpkg is same as vartree
597
                       if buildtime == bin_dbapi.aux_get(cpv, ['BUILD_TIME'])[0]:
597
                               buildtime = var_dbapi.aux_get(cpv, ['BUILD_TIME'])[0]
598
                               continue
598
                               if buildtime == bin_dbapi.aux_get(cpv, ['BUILD_TIME'])[0]:
599
                                       continue
599
600
600
               binpkg_path = bin_dbapi.bintree.getname(cpv)
601
               binpkg_path = bin_dbapi.bintree.getname(cpv)
601
               dead_binpkgs.setdefault(cpv, []).append(binpkg_path)
602
               dead_binpkgs.setdefault(cpv, []).append(binpkg_path)

Return to bug 726658