Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 239930

Summary: [TRACKER] Packages using python_tkinter_exists should use EAPI=2 instead
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: jlec, pavel.bazika
Priority: High Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 244548, 244550, 244551, 244553, 260281, 260745, 260747, 260749, 260751    
Bug Blocks: 261562    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-05 11:39:02 UTC
As far as I can see, packages using python_tkinter_exists are candidate to EAPI=2 porting so that instead of dying at build, the proper dep would be stated (python[tk]).

HTH,
Diego
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2008-10-27 00:00:24 UTC
I've fixed packages maintained by python herd:
app-editors/leo
dev-python/pythong
media-sound/lilycomp (no herd ;)
net-im/msnlib

For the rest of the packages, I filed bugs which are dependencies of this one.
Comment 2 Pavel Bazika 2009-03-01 16:57:16 UTC
Filed other bugs as dependencies of this, which contain proposed patches converting some other ebuild to EAPI 2. These ebuilds use python_tkinter_exists function from "python" eclass or distutils_python_tkinter function from "distutils" eclass. 
After applying proposed patches, above mentioned functions are no longer needed (except not -r1 ebuilds for skencil and msnlib).
Comment 3 Jesus Rivero (RETIRED) gentoo-dev 2009-03-10 04:09:59 UTC
Hello, 

   I'm not much into this. I believe dev-lang/python is a bit tricky wrt use deps. I've stated this in -dev before. What I suggest while this issue is not worked around, is to use both checks (use deps and eclass functions) to check whether is true that the current active python version implements the use flag. 

   Just to refresh my concerns about this, when people have multiple versions of pythons installed in their systems, use deps checks are not reliable, meaning that the active version could be missing the flags if previous versions have it set. Consider this when python-2.6 gets unmasked.

   Best regards, 
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-14 22:51:36 UTC
*** Bug 261757 has been marked as a duplicate of this bug. ***
Comment 5 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-08-23 12:31:38 UTC
There is no usage of python_tkinter_exists in tree, so I consider this fixed.