Draft: main/py3-*: Depend on compatible python3 version
A python3 module build with python3 version 3.x.y will only work with
python3>=3.x.0 python3<3.$((x+1)).0
, so this adds this as dependency.
This will avoid a broken python installation when updating shortly
after python3
is updated and before all py3-*
have already been
rebuild.
Note: This extracts the python3 version used for building by invoking
python3
; hence python3
needs to already be installed at the time
this happens. This is why this is done as late as in the package()
function.