Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610010 - mozcoreconf-*.eclass: PYTHON_COMPAT set in eclass
Summary: mozcoreconf-*.eclass: PYTHON_COMPAT set in eclass
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-19 12:26 UTC by Michał Górny
Modified: 2020-08-22 19:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-19 12:26:10 UTC
Please move PYTHON_COMPAT from eclass to ebuilds. Having it set in eclass breaks our tools.
Comment 1 Jory A. Pratt gentoo-dev 2017-08-26 18:09:03 UTC
(In reply to Michał Górny from comment #0)
> Please move PYTHON_COMPAT from eclass to ebuilds. Having it set in eclass
> breaks our tools.

Define what tools break and how so.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-08-26 18:26:25 UTC
gpy-showimpls and other impl-handling tools from app-portage/gpyutils. Since it can't run complete ebuild environment, it relies on being able to read PYTHON_COMPAT from .ebuild files.

$ gpy-showimpls firefox
www-client/firefox:0
          52.2.0: S a
          52.3.0: ~ a
          55.0.2: ~ a

vs for a package defining PYTHON_COMPAT correctly:

$ gpy-showimpls llvm
sys-devel/llvm:0
      3.4.2-r100: ~ a # 2.7                            
      3.5.2-r100: ~ a # 2.7                            
      3.6.2-r100: ~ a # 2.7                            
        3.7.1-r3: S s   2.7                            
        3.8.1-r2: ~ s # 2.7                            
        3.9.1-r1: S s   2.7                            
sys-devel/llvm:4
           4.0.1: ~ a   2.7                            
sys-devel/llvm:5
        5.0.9999:   a   2.7                            
sys-devel/llvm:6
            9999:   a   2.7