Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 438390 Details for
Bug 586658
app-portage/gentoolkit: let eclean handle binpkgs with .xpak suffix
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for eclean
eclean-allow-xpak.patch (text/plain), 1.08 KB, created by
Manuel Mommertz
on 2016-06-22 06:17:04 UTC
(
hide
)
Description:
Patch for eclean
Filename:
MIME Type:
Creator:
Manuel Mommertz
Created:
2016-06-22 06:17:04 UTC
Size:
1.08 KB
patch
obsolete
>--- gentoolkit-0.3.0.9/pym/gentoolkit/eclean/search.py 2012-12-23 12:04:26.000000000 +0100 >+++ gentoolkit-0.3.0.9/pym/gentoolkit/eclean/search.py 2016-05-10 11:29:53.615082551 +0200 >@@ -540,18 +540,22 @@ > if root[-3:] == 'All': > continue > for file in files: >- if not file[-5:] == ".tbz2": >- # ignore non-tbz2 files >+ if file[-5:] == ".tbz2": >+ category = os.path.basename(root) >+ cpv = category+"/"+file[:-5] >+ elif file[-5:] == ".xpak": >+ category = os.path.basename(os.path.dirname(root)) >+ cpv = category+"/"+file.rpartition('-')[0] >+ else: >+ # ignore other files > continue > path = os.path.join(root, file) >- category = os.path.split(root)[-1] >- cpv = category+"/"+file[:-5] > st = os.lstat(path) > if time_limit and (st[stat.ST_MTIME] >= time_limit): > # time-limit exclusion > continue > # dict is cpv->[files] (2 files in general, because of symlink) >- clean_me[cpv] = [path] >+ clean_me.setdefault(cpv,[]).append(path) > #if os.path.islink(path): > if stat.S_ISLNK(st[stat.ST_MODE]): > clean_me[cpv].append(os.path.realpath(path))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 586658
: 438390 |
438640
|
438670
|
438818
|
438834