| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This is necessary since portage probes functions in globals() and
treats functions it finds as commands. Also, use lazy import to
minimize global scope imports.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Something like this was requested in bug #157357. Now that Gentoo has
migrated all virtuals to GLEP 37 new-style virtuals, this kind of
function may be helpful in order to resolve the currently installed
provider of a particular virtual in scripts like bootstrap.sh.
Usage:
portageq expand_virtual <root> <atom>
Returns a \n separated list of atoms expanded from a
given virtual atom, excluding blocker atoms. Satisfied
virtual atoms are not included in the output, since
they are expanded to real atoms which are displayed.
Unsatisfied virtual atoms are displayed without
any expansion. The "match" command can be used to
resolve the returned atoms to specific installed
packages.
Example input/output:
$ portageq expand_virtual / virtual/jre
=dev-java/sun-jdk-1.6.0*
$ portageq expand_virtual / virtual/jre:1.5
dev-java/gcj-jdk
$ portageq expand_virtual / virtual/package-manager
sys-apps/portage
$ portageq expand_virtual / virtual/libc
sys-libs/glibc:2.2
$ portageq expand_virtual / virtual/os-headers
sys-kernel/linux-headers:0
|
| |
|
|
|
|
|
| |
This is the same convention that bash uses for returncodes of
processes that are killed by signals.
|
| |
|
|
|
|
|
| |
Instead of calling die as in bug #340387, just call eqawarn for the
time being.
|
| |
|
|
|
|
| |
Thanks to Jeremy Olexa <darkside@g.o> for the suggestion.
|
| |
|
|
|
|
| |
is False.
|
|
|
|
|
|
| |
trying to minimize the diff between the master branch and upcoming
2.1.9 branch which will not have preserve-libs support but will
still have the code in private and disabled form.
|
| |
|
| |
|
|
|
|
| |
in globals() (such as imported modules) as a valid command.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Arfrever for reporting.
svn path=/main/trunk/; revision=15214
|
|
|
|
| |
svn path=/main/trunk/; revision=15212
|
|
|
|
|
|
| |
best_version arguments, using the USE environment variable.
svn path=/main/trunk/; revision=15211
|
|
|
|
|
|
| |
instead of ValueError.
svn path=/main/trunk/; revision=14577
|
|
|
|
|
|
|
|
| |
dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3.
(2to3-3.1 -f dict -nw ${FILES})
svn path=/main/trunk/; revision=14327
|
|
|
|
|
|
|
|
| |
portage._unicode_decode().
Update decoding in some files.
svn path=/main/trunk/; revision=14321
|
|
|
|
|
|
| |
(2to3-3.1 -f xrange -nw ${FILES})
svn path=/main/trunk/; revision=14317
|
|
|
|
| |
svn path=/main/trunk/; revision=14291
|
|
|
|
|
|
| |
(2to3-3.1 -f print -nw ${FILES})
svn path=/main/trunk/; revision=14290
|
|
|
|
|
|
| |
(2to3-3.1 -f except -nw ${FILES})
svn path=/main/trunk/; revision=14289
|
|
|
|
|
|
| |
_unicode_encode() and _unicode_decode() where appropriate.
svn path=/main/trunk/; revision=13993
|
|
|
|
| |
svn path=/main/trunk/; revision=13953
|
|
|
|
|
|
| |
writemsg_stdout imports for safe unicode output.
svn path=/main/trunk/; revision=13952
|
|
|
|
| |
svn path=/main/trunk/; revision=13951
|
|
|
|
|
|
| |
since shlex.split() doesn't behave well with unicode strings.
svn path=/main/trunk/; revision=13939
|
|
|
|
|
|
| |
names passed to the owners command).
svn path=/main/trunk/; revision=13906
|
|
|
|
| |
svn path=/main/trunk/; revision=13862
|
|
|
|
|
|
|
|
| |
It is natural to support this since the vartree already maintains a basename
-> owner index anyway. There are plans for the packagekit backend is to
support this type of search.
svn path=/main/trunk/; revision=13681
|
|
|
|
| |
svn path=/main/trunk/; revision=11460
|
|
|
|
| |
svn path=/main/trunk/; revision=11459
|
|
|
|
|
|
| |
error.
svn path=/main/trunk/; revision=11458
|
|
|
|
| |
svn path=/main/trunk/; revision=11457
|
|
|
|
|
|
|
|
| |
works by reading filenames from stdin and writing to stdout only the
filenames that are protected. This allows an unlimited number of files
to be checked via a single portageq call.
svn path=/main/trunk/; revision=11456
|
|
|
|
|
|
| |
applies to a given file, using logic identical to the merge code.
svn path=/main/trunk/; revision=11453
|
|
|
|
| |
svn path=/main/trunk/; revision=11179
|
|
|
|
| |
svn path=/main/trunk/; revision=11178
|
|
|
|
|
|
| |
order to avoid sandbox violations after python upgrade.
svn path=/main/trunk/; revision=11175
|
|
|
|
| |
svn path=/main/trunk/; revision=10929
|
|
|
|
|
|
| |
handling.
svn path=/main/trunk/; revision=10919
|
|
|
|
| |
svn path=/main/trunk/; revision=10837
|
|
|
|
|
|
| |
best_version() are called from inside the ebuild environment.
svn path=/main/trunk/; revision=10835
|
|
|
|
|
|
|
|
|
|
|
| |
initialization of portage.settings (via ObjectProxy) allows us
to rely on being able to access the portage.exception namespace
before portage.settings is initialized.
* Use portage.settings["ROOT"] instead of portage.root to avoid
potential ObjectProxy compatibility issues.
svn path=/main/trunk/; revision=10804
|