'Makes a Meta class out of a dict of eval-able arguments.'

def make_meta(self, app, model, data, stub=False):

    results = {'app_label': app}
    for (key, code) in data.items():
        if (key in ['_bases', '_ormbases']):
            continue
        if (stub and (key in ['order_with_respect_to'])):
            continue
        try:
            results[key] = self.eval_in_context(code, app)
        except (NameError, AttributeError) as e:
            raise ValueError(("Cannot    successfully    create    meta    field    '%s'    for    model    '%s.%s':    %s." % (key, app, model, e)))
    return type('Meta', tuple(), results)
