python-utils-r1.eclass: Obtain include directory from the interpreter
authorMichał Górny <mgorny@gentoo.org>
Fri, 6 Nov 2015 22:21:37 +0000 (23:21 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 11 Nov 2015 10:21:09 +0000 (11:21 +0100)
commit6cdbddf775a921788d0aa3cd3f757c0a1ac8cd37
tree85ff5837395cb34a641c0e4fb9978d674169af8f
parent85b6221484774c97ba06fcac3451c711b3046b88
python-utils-r1.eclass: Obtain include directory from the interpreter

Obtain the Python include directory using the distutils.sysconfig module
of the Python interpreter rather than hardcoding values for it. This
makes the code more maintainable, and clears the way for re-enabling
ABIFLAGS on new Python versions.
eclass/python-utils-r1.eclass
eclass/tests/python-utils-r1.sh