'create custom versions strings'

@staticmethod
def add_custom_versions(versions):

    versions_dict = {}
    for (tech, version) in versions.items():
        if ('-' in version):
            version = version.split('-')[0]
        if version.startswith('v'):
            versions_dict[(tech + '_numeric')] = version[1:].split('+')[0]
            versions_dict[(tech + '_short')] = version[1:4]
    return versions_dict
