I implemented the flexibility support for `osdependencies`, see https://github.com/hpcugent/easybuild-framework/pull/846.