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

Bug 372407

Summary: kde-base/kdelibs: PYTHON_INSTALL macro should respect PYTHONDONTWRITEBYTECODE environmental variable
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
URL: https://bugs.kde.org/show_bug.cgi?id=276151
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 365549    
Attachments: Respect PYTHONDONTWRITEBYTECODE environmental variable in PYTHON_INSTALL macro

Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-06-20 21:19:56 UTC
Created attachment 277635 [details, diff]
Respect PYTHONDONTWRITEBYTECODE environmental variable in PYTHON_INSTALL macro

cmake/modules/PythonMacros.cmake defines PYTHON_INSTALL macro. This macro should not create/install byte-compiled Python modules (*.pyc) when PYTHONDONTWRITEBYTECODE environmental variable is set.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2011-06-21 20:41:46 UTC
Thanks - fixed in kdelibs-4.6.3-r3, 4.6.4-r1 and later.