distutils-r1.eclass: make *_install_for_testing install proper egg-info
authorMathy Vanvoorden <mathy@vanvoorden.be>
Fri, 4 Nov 2016 23:01:51 +0000 (00:01 +0100)
committerMichał Górny <mgorny@gentoo.org>
Mon, 14 Nov 2016 08:58:06 +0000 (09:58 +0100)
commit733fbcdcf08b74153bb6c3786e8f79ba031cb339
tree5349f3946e11c4ac30daec3c68a8fe91f7ac4559
parentd3247f8b5286183a503240dc53b0b6f664eab619
distutils-r1.eclass: make *_install_for_testing install proper egg-info

Currently distutils_install_for_testing does not install the complete
egg-info into ${TEST_DIR}. This was first noticed by W. Trevor King
and reported in bug #524322. Based on info found in the related upstream
setuptools bug I added the necessary call to setuptools to create
the complete egg_info.

Without this certain packages (like cryptography) fail during testing
because they use introspection but the metadata isn't available.

Bug: https://bugs.gentoo.org/524322
eclass/distutils-r1.eclass