'cpv_getkey@getCPFromCPV,endversion_keys,' + \
'suffix_value@endversion,pkgcmp,pkgsplit,vercmp,ververify',
'portage.xpak',
- 'portage._deprecated:dep_virtual,digestParseFile,pkgmerge',
+ 'portage._deprecated:dep_virtual,digestParseFile,getvirtuals,pkgmerge',
)
import portage.const
writemsg("\n\n", noiselevel=-1)
return True
-# gets virtual package settings
-def getvirtuals(myroot):
- """
- Calls portage.settings.getvirtuals().
- @deprecated: Use portage.settings.getvirtuals().
- """
- global settings
- warnings.warn("portage.getvirtuals() is deprecated",
- DeprecationWarning, stacklevel=2)
- return settings.getvirtuals()
-
def commit_mtimedb(mydict=None, filename=None):
if mydict is None:
global mtimedb
newsplit.append(x)
return newsplit
+def getvirtuals(myroot):
+ """
+ Calls portage.settings.getvirtuals().
+ @deprecated: Use portage.settings.getvirtuals().
+ """
+ warnings.warn("portage.getvirtuals() is deprecated",
+ DeprecationWarning, stacklevel=2)
+ return portage.settings.getvirtuals()
+
def pkgmerge(mytbz2, myroot, mysettings, mydbapi=None,
vartree=None, prev_mtimes=None, blockers=None):
"""will merge a .tbz2 file, returning a list of runtime dependencies