summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-04-14 15:02:26 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-04-14 15:02:26 +0200
commit97ed62a4372c1f86f6dfbe42ab13cea97d0920a7 (patch)
tree6ff4155bdb77ebf44aa1b40c6f0e1447d42138d1
parent91dd077b4d06a46ae09e47b2bec2670f78eda6c0 (diff)
downloadportato-97ed62a4372c1f86f6dfbe42ab13cea97d0920a7.tar.gz
portato-97ed62a4372c1f86f6dfbe42ab13cea97d0920a7.tar.bz2
portato-97ed62a4372c1f86f6dfbe42ab13cea97d0920a7.zip
Also update dependency categories
-rw-r--r--portato/gui/queue.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/portato/gui/queue.py b/portato/gui/queue.py
index f203920..78a4b41 100644
--- a/portato/gui/queue.py
+++ b/portato/gui/queue.py
@@ -290,7 +290,7 @@ class EmergeQueue:
# open tty
if self.console:
self.console.reset()
-
+
def pre ():
os.setsid() # new session
if self.console:
@@ -300,6 +300,9 @@ class EmergeQueue:
os.dup2(self.pty[1], 1)
os.dup2(self.pty[1], 2)
+ # get all categories that are being touched during the emerge process
+ cats = set(map(lambda x: x.split("/")[0], it.iterkeys()))
+
# start emerge
self.process = Popen(command+options+packages, shell = False, env = system.get_environment(), preexec_fn = pre)
@@ -342,7 +345,7 @@ class EmergeQueue:
@plugin.hook("after_emerge", packages = packages, retcode = ret)
def update_packages():
if self.db:
- for cat in unique_array([system.split_cpv(p)[0] for p in packages if p not in ["world", "system"]]):
+ for cat in cats:
self.db.reload(cat)
debug("Category %s refreshed", cat)
llow=1'>clip: wait longer for slow systemsJason A. Donenfeld2-2/+2 2014-03-22gpg: allow the use of gpg1 with or without agentJason A. Donenfeld1-10/+15 Suggested-by: Matthieu Weber <mweber@free.fr> 2014-03-22clip: rename SELECTION to X_SELECTIONJason A. Donenfeld2-6/+6 2014-03-22Version bump ahead of release.Jason A. Donenfeld1-1/+1 2014-03-22Makefile: do not use recursion and organizeJason A. Donenfeld12-9/+7 2014-03-22clip: suppress kill errorJason A. Donenfeld2-3/+3 2014-03-22clip: do not race on osxJason A. Donenfeld1-5/+5 2014-03-22clip: use pkill instead of procJason A. Donenfeld1-1/+1 2014-03-20Keepass import should include root-level entriesErik Mackdanz1-0/+1 Repro steps: 1. In KeePass, add some entries as children of the root node 2. Export the KeePass to foo.xml 3. 'keepass2pass.py -f foo.xml' Expect: all entries imported Actual: root-level entries are skipped 2014-03-20keepassx2pass: friendly title fieldPhilip Chase1-1/+24 This patch removes several special characters while attempting to preserve as much meaning in the filename as possible. These changes are made to the KeepassX title before it is used as a file password store filename: - Spaces between words in file names are replaced with camelCasing. - The characters \ | ( ) are each replaced with a hyphen. - Trailing hypens are removed. - @ is replaced with "At" - ' is removed