Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372407 - kde-base/kdelibs: PYTHON_INSTALL macro should respect PYTHONDONTWRITEBYTECODE environmental variable
Summary: kde-base/kdelibs: PYTHON_INSTALL macro should respect PYTHONDONTWRITEBYTECODE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks: 365549
  Show dependency tree
 
Reported: 2011-06-20 21:19 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2011-06-21 20:41 UTC (History)
0 users

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


Attachments
Respect PYTHONDONTWRITEBYTECODE environmental variable in PYTHON_INSTALL macro (kdelibs-4.6.3-python_bytecompilation.patch,3.26 KB, patch)
2011-06-20 21:19 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.