The pdflib-5.0.2 ebuild depends on =dev-lang/python-2.2* if the python USE flag is set. However, if python 2.2 and 2.3 are both installed (which is quite possible, since they're in different slots) "emerge pdflib" compiles using python 2.3, if 2.3 is linked from /usr/bin/python. I compiled pdflib-5.0.2 successfully with python 2.3 on two of my systems, so if there's no problem in general, pdflib-5.0.2 should depend on >=dev-lang/python-2.2. This would be especially useful, since pdflib seems to be the only package on my system which depends on python 2.2. However, if there's a special reason why pdflib-5.0.2 needs python 2.2, the ebuild should make sure, that python 2.2 is used anyway.
scandium, can you change the depend for me please -- I'm still trying to recover my computer, so it'll be at least a day or so before I can get to it.
I changed the depend for the 5.x version to be >= instead of =, since I noticed an entry in the ChangeLog which says that 4.x needs to link against 2.2 explicitly. I just tried 4.x with python-2.3 and it compiled fine, so I don't know if that still applies, I will ask raker (who added that item to the ChangeLog) later when I see him.
hm, the changelog entry is from january 2003 and in the ebuild revision before it was >= python-2.0, so I guess this was a "it doesn't work with older versions"-change and not a "it won't work with new versions"-change. (Also looking at the fact that python-2.3 was release 6 months after he had made the change :) Anyway, I will talk to him if he can remember any details about it and - if possible - also change the = to >= in the latest 4.x ebuild
I verified as well as I could that pdflib-4 also works with python-2.3. I also changed the depend for pdflib-4.0.3-r1, no stable pdflib from either slot 4 or 5 now has a hard dep on python2.2 anymore, closing this bug.