commit: 4d2987df494105f00021c9fce9e503f673c19549
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 17 08:31:47 2015 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Feb 17 18:27:41 2015 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=4d2987df
binarytree: avoid unecessary index regeneration
Since commit f1c1b8a77eebf7713b32e5f9945690f60f4f46de, binarytree
regenerates the 'Packages' index unnecessarily, due to missing REQUIRES
and PROVIDES entries. These entries are not required, so use default
empty values in order to avoid the unnecessary regeneration.
Fixes: f1c1b8a77eeb ("Generate soname dependency metadata (bug 282639)")
Acked-by: Alexander Berntsen <bernalex <AT> gentoo.org>
---
pym/portage/dbapi/bintree.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py
index 583e208..cd30b67 100644
--- a/pym/portage/dbapi/bintree.py
+++ b/pym/portage/dbapi/bintree.py
@@ -348,7 +348,9 @@ class binarytree(object):
"PDEPEND" : "",
"PROPERTIES" : "",
"PROVIDE" : "",
+ "PROVIDES": "",
"RDEPEND" : "",
+ "REQUIRES": "",
"RESTRICT": "",
"SLOT" : "0",
"USE" : "",