distutils-r1.eclass: Pass --skip-build when installing
authorMichał Górny <mgorny@gentoo.org>
Sun, 22 Mar 2020 05:54:44 +0000 (06:54 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 14 Apr 2020 05:33:07 +0000 (07:33 +0200)
commit180fa85d7d00aea463c399f70348beaad9166eb7
tree8b48c51a04cad103fb8451feec905a44d2c2dc89
parent25852a4c585cab855c5f96a8d3776aebbd62ef4b
distutils-r1.eclass: Pass --skip-build when installing

Explicitly pass --skip-build in order to prevent distutils from
rebuilding files when installing.  This is especially relevant to some
packages that build extensions, and the extensions get built again
in src_install().

Technically, this can break some customized build systems that write
implementation-specific data into source directory, and right now
the implied rebuild caused it to be rewritten when installing.  With
this patch, the newest version of the file would be installed for all
interpreters.  I am not aware of any such packages, though.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
eclass/distutils-r1.eclass