remove hardware package.

    :param name: hardware package name (e.g. 'Sanguino')
    :rtype: None

def remove_hwpack(name):
    """remove hardware package.

    :param name: hardware package name (e.g. 'Sanguino')
    :rtype: None

    """
    targ_dlib = hwpack_dir() / name
    log.debug('remove %s', targ_dlib)
    targ_dlib.rmtree()