summaryrefslogtreecommitdiff
path: root/virtual/jdk
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-12-12 23:06:33 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-22 23:12:23 +0100
commit33380ad5e121a47375442de08fd9239b9102b1fa (patch)
tree1acd1d623815425130f5a8a6cb44dbd9a6471d27 /virtual/jdk
parentcb425a359834c89f8dd8572d5dfab7e08f01a2a0 (diff)
downloadgentoo-33380ad5e121a47375442de08fd9239b9102b1fa.tar.gz
gentoo-33380ad5e121a47375442de08fd9239b9102b1fa.tar.xz
python*-r1.eclass: Commonize PYTHON_COMPAT processing, cache the result
Introduce a common _python_set_impls function in python-utils-r1.eclass that validates and processes PYTHON_COMPAT, then stores the result in _PYTHON_SUPPORTED_IMPLS and _PYTHON_UNSUPPORTED_IMPLS variables. Reuse those variables in all python-r1 suite eclasses, effectively reducing code duplication and providing cache for repeated implementation support checks.
Diffstat (limited to 'virtual/jdk')
0 files changed, 0 insertions, 0 deletions