[entropy.spm] PortagePlugin, xpaktools: drop append_xpak()

This commit is contained in:
Fabio Erculiani
2012-11-04 10:36:55 +01:00
parent df13dbdd2b
commit 26b7d9cb54
2 changed files with 0 additions and 21 deletions

View File

@@ -3,7 +3,6 @@ Backlog (raw)
1.0:
- solo branch:
drop "append_xpak()" in xpaktools
equo unused -> add to "equo query unused"
move etpConst['install_sources'] to entropy.db
test unicode with solo conf update (and others)

View File

@@ -174,26 +174,6 @@ def suck_xpak(tbz2file, xpakpath):
db.flush()
db.close()
def append_xpak(tbz2file, atom):
"""
docstring_title
@param tbz2file:
@type tbz2file:
@param atom:
@type atom:
@return:
@rtype:
"""
text = TextInterface()
spm = get_default_instance(text)
dbbuild = spm.get_installed_package_build_script_path(atom)
dbdir = os.path.dirname(dbbuild)
if os.path.isdir(dbdir):
tbz2 = xpak.tbz2(tbz2file)
tbz2.recompose(dbdir)
return tbz2file
def aggregate_xpak(tbz2file, xpakfile):
"""
Aggregate xpakfile content to tbz2file