maybe we need a "constant function" to do this, e.g. `major_minor(pythonversion)`

it's not supported yet though, but it could be (cfr. https://github.com/hpcugent/easybuild-framework/pull/754)