Re: [gentoo-portage-dev] [PATCH] binarytree: avoid unecessary index regeneration

2015-02-17 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 17/02/15 18:34, Brian Dolbec wrote:
 SURE!  just reply to the EASY one ;)
The other ones will take me a bit longer. Sorry.
- -- 
Alexander
berna...@gentoo.org
https://secure.plaimi.net/~alexander
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iF4EAREIAAYFAlTjfHwACgkQRtClrXBQc7WAkwD/RxFKW0+T97eWGJRAJ/DK2GH3
NFOqxlucHmnKPdY5lsEBAJ7lqmHI5v3h3ojaVrDmbhbbeZC54jv9duDWGTt5Djte
=xvS0
-END PGP SIGNATURE-



Re: [gentoo-portage-dev] [PATCH] binarytree: avoid unecessary index regeneration

2015-02-17 Thread Brian Dolbec
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On Tue, 17 Feb 2015 16:02:47 +0100
Alexander Berntsen berna...@gentoo.org wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 LGTM. Go ahead  push.
 
 - -- 
 Alexander
 berna...@gentoo.org
 https://secure.plaimi.net/~alexander
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2
 
 iF4EAREIAAYFAlTjWBYACgkQRtClrXBQc7V3CgEAjREJrZasgGrfP0fIdo7/oKZ7
 /dMazIA2rnu6+CfeLlABAI9kc06NR2msTo4a1XTq6dxzSIrgqXIYxBfy/oDNY+rh
 =Fl7x
 -END PGP SIGNATURE-
 

SURE!  just reply to the EASY one ;)

- -- 
Brian Dolbec dolsen

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0

iQJ8BAEBCgBmBQJU43u3XxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNUQ3Qzc0RTA4MUNDNzBEQjRBNEFBRjVG
QkJEMDg3Mjc1ODIwRUQ4AAoJEPu9CHJ1gg7YPZ0P/1qdw/OA63FNps/gJPXJ0/Px
m5W1uNoXFir4M9NYRGY4LxArPxskFUz7tPNFTzIe+SgcxoZ1z570RN/Yo8jf6Tbh
rbdVn4aNXh5Tmc1zvPPQGX8CuMDHstoDhJKTKz/BtmVXn/ozsmSU1R8TnYZvVayc
KpfetM9yYMlS51FU7SrI0jxWQ3hdpklnlcAM6/5DU920bM6Klhj04icF8MPD01kN
+nVrdTPFN+jd0drn7pPiFASUUDRxZaVzjoz3TVQ7nSGQCTNLmzesmc2OFKJGbuzE
ZMojnGGFMi/6X4TabKU9F9Z0hTkZRCTzUVD914ZXp16w3CBGNLMIDknVGMPS6VAf
VhOytqzOuX1cvaHDtPRgFsfcfFXsFR5kbJJrTA8vwsxSf6f2mteycTYyxavhH86j
pl5pQERPik4DRHGoIf2ir7NjgOuv/0z2rTjWEo8WRlfzi02QpqyiGnekbTB470M8
yFLjqQfcciCcd3NKmhIAh2J03ysPSQI1Y0SL/7zmBumlfAJefvtediKQtbAVyCT9
20ii3zawMyweWNGH78t9XXtyHs428jE91GOWZLgN4JVpaRcXp7WkJRN60LdpIaQD
OU+jtA5P5efNTeHyPa0tj1LrGn2LCek8hys/4Hl0/xKzIM+uTxKQbkAqfVgQ+v4V
hDXyB26lUNslv9PONvv8
=+r0T
-END PGP SIGNATURE-


[gentoo-portage-dev] [PATCH] binarytree: avoid unecessary index regeneration

2015-02-17 Thread Zac Medico
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))
---
 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 b98b26e..726a7a1 100644
--- a/pym/portage/dbapi/bintree.py
+++ b/pym/portage/dbapi/bintree.py
@@ -344,7 +344,9 @@ class binarytree(object):
PDEPEND : ,
PROPERTIES : ,
PROVIDE : ,
+   PROVIDES: ,
RDEPEND : ,
+   REQUIRES: ,
RESTRICT: ,
SLOT: 0,
USE : ,
-- 
2.0.5