python-utils-r1.eclass: python_wrapper_setup, fix exporting env
authorMichał Górny <mgorny@gentoo.org>
Sun, 26 Feb 2017 10:02:07 +0000 (11:02 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 8 Mar 2017 07:35:39 +0000 (08:35 +0100)
commitce87e4f32b37cd41d5f69d089b8ac454ea467974
treeb09e849f9d36aa74db4b1faa28e8bca043ff81d3
parent2815d61ee148bc442b450c017a9c9e7ad0a34c19
python-utils-r1.eclass: python_wrapper_setup, fix exporting env

Fix python_wrapper_setup function to move setting environment variables
for PATH and PKG_CONFIG_PATH outside the 'if'. Otherwise, they are only
set on the initial invocation of python_wrapper_setup for the particular
impl and do not apply to subsequent invocations (e.g. further
distutils-r1 phases).
eclass/python-utils-r1.eclass