Gentoo Archives: gentoo-portage-dev

From: Tom Wijsman <TomWij@g.o>
To: SebastianLuther@×××.de
Cc: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH 1/3] Have repoman check if the packages to unpack rare archive formats from SRC_URI are present in DEPEND (bug #205909).
Date: Fri, 17 Jan 2014 23:01:17
Message-Id: 20140118000006.43e9136e@TOMWIJ-GENTOO
In Reply to: Re: [gentoo-portage-dev] [PATCH 1/3] Have repoman check if the packages to unpack rare archive formats from SRC_URI are present in DEPEND (bug #205909). by Sebastian Luther
1 On Fri, 17 Jan 2014 09:35:58 +0100
2 Sebastian Luther <SebastianLuther@×××.de> wrote:
3
4 > The "if entry not in system_set_atoms" line. You're using __contains__
5 > there (with the 'in'). You don't use the additional magic provided by
6 > PackageSet (which is a super class of PackagesSystemSet).
7
8 This is __contains__, which does what I want as far as I can see:
9 http://dev.gentoo.org/~zmedico/portage/doc/api/portage._sets.base-pysrc.html#PackageSet.__contains__
10 What is there wrong with this?
11
12 As for the additional magic, do you mean containsCPV? Looking at it:
13 http://dev.gentoo.org/~zmedico/portage/doc/api/portage._sets.base-pysrc.html#PackageSet.containsCPV
14 It seems more complex than is necessary, is there a benefit to this?
15
16 Sorry, I don't understand what is meant here; all the rest of your
17 feedback is clear and has been implemented and is in the v2 I plan to
18 send to the mailing list soon.
19
20 --
21 With kind regards,
22
23 Tom Wijsman (TomWij)
24 Gentoo Developer
25
26 E-mail address : TomWij@g.o
27 GPG Public Key : 6D34E57D
28 GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies