Gentoo Archives: gentoo-dev

From: Martin Schlemmer <azarah@g.o>
To: Gentoo-Dev <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] ebuild version parse debugging
Date: Sun, 18 Nov 2001 05:51:27
Message-Id: 1006084402.1077.3.camel@nosferatu.lan
In Reply to: [gentoo-dev] ebuild version parse debugging by Donny Davies
1 On Sun, 2001-11-18 at 00:42, Donny Davies wrote:
2 > Hi, devs
3 >
4 > Using portage-1.7.2, and an empty /etc/make.profile/packages
5 > file (just to eliminate that stuff from the equation), out of these 3
6 > choices:
7 >
8 > openssh-3.1.ebuild
9 > openssh-3.1_beta.ebuild
10 > openssh-3.1_pre5.ebuild
11 >
12 > portage is choosing openssh-3.1_pre5.ebuild
13 >
14
15 Hi
16
17 Did some scratching of my own, and it seems that the python
18 function .keys() do not parse things in the correct order.
19 Where "pre" should be checked before "p" (drobbins and other
20 portage hackers should know what im talking about) according
21 to the order in 'endversion', .keys() actually cause "p"
22 to be checked first, which causes this problem.
23
24 Attached is a patch that should fix this.
25
26
27 Greetings,
28
29 --
30
31 Martin Schlemmer
32 Gentoo Linux Developer, Desktop Team Developer
33 Cape Town, South Africa

Attachments

File name MIME type
portage.py.diff text/plain