aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2015-02-17 00:31:47 -0800
committerZac Medico <zmedico@gentoo.org>2015-02-17 10:27:41 -0800
commit4d2987df494105f00021c9fce9e503f673c19549 (patch)
tree12a2cd8fc5cec7d997d7ca67b7c32d4bad02f1c3
parentbin/eapi.sh: Invert condition in ___eapi_unpack_supports_absolute_paths(). (diff)
downloadportage-4d2987df494105f00021c9fce9e503f673c19549.tar.gz
portage-4d2987df494105f00021c9fce9e503f673c19549.tar.bz2
portage-4d2987df494105f00021c9fce9e503f673c19549.zip
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@gentoo.org>
-rw-r--r--pym/portage/dbapi/bintree.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py
index 583e208ad..cd30b67c1 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" : "",