projects
/
portpeek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b3f4af8
)
Use get_iuse instead of get_flags for package.use processing
author
Mike Pagano
<mpagano@gentoo.org>
Sat, 1 Sep 2012 15:16:33 +0000
(11:16 -0400)
committer
Mike Pagano
<mpagano@gentoo.org>
Sat, 1 Sep 2012 15:16:33 +0000
(11:16 -0400)
portpeek
patch
|
blob
|
history
diff --git
a/portpeek
b/portpeek
index 6fb2b874df675a80f3445145f0b323bfd92615b1..c4c0356566f2188ec7cd012f276ce7f638958e31 100755
(executable)
--- a/
portpeek
+++ b/
portpeek
@@
-27,7
+27,7
@@
from portage.versions import catpkgsplit,pkgcmp,pkgsplit
from portage.exception import InvalidAtom
from gentoolkit.cpv import CPV
from gentoolkit.query import Query
-from gentoolkit.flag import get_
flags
+from gentoolkit.flag import get_
iuse
# support python 2
try:
@@
-814,7
+814,7
@@
def show_all_versions(pkg, filename):
def get_useflags(package):
- iuse
, final_use = get_flags(package.cpv, final_setting=True
)
+ iuse
= get_iuse(package.cpv
)
return iuse
def check_useflags_all_versions(pkgs, line, check_pkgs):