WIP: single-threaded pybuild-using rules
As discussed in https://bugs.debian.org/911830, the parallel building in the packaging is buggy, resulting in FTBFS due to race conditions. The build also relies on some internal pybuild details in a fragile way.
In this patch:
-
parallel building steps are removed making the build slower but at least it now builds.
-
pybuild's documented hooks to run steps before or after build steps are used with the appropriate tokens to be replaced automatically by pybuild; internal pybuild details are no longer used.
Edited by Stuart Prescott