python3: avoid unnecessary rebuilds
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Wed, 4 Oct 2023 19:19:07 +0000 (16:19 -0300)
committerEneas U de Queiroz <cotequeiroz@gmail.com>
Wed, 4 Oct 2023 19:52:27 +0000 (16:52 -0300)
commitc230d7bd7f8a794032d2414588f1cdfc1a5ec74e
treee3fd1c62749434a5102c7f75f1dafb1950e20d3b
parent4dd49d7c3cd571107958154f1ed1ec8d8dba7464
python3: avoid unnecessary rebuilds

Move the order in which BuildPackage is called, so that the libpython
package is built ahead of the module packages, to avoid forcing a
clean-build of the package when 'make package/python3/compile' is called
a second time without changes.

The library must be built first, so that when the buildsystem checks for
ABI version changes using libpython3.version, its timestamp should be
older than the dependent package's STAMP_PREPARED file.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
lang/python/python3/Makefile