def METHOD_NAME(self, portal, retried=False):
    # Configure five.globalrequest
    portal.REQUEST['PARENTS'] = [portal.__parent__]
    setRequest(portal.REQUEST)
    # Install into Plone site using portal_setup
    applyProfile(portal, 'plone.app.contenttypes:default')
    applyProfile(portal, 'plone.app.mosaic:default')
    applyProfile(portal, 'castle.cms:default')
    portal.portal_workflow.setDefaultChain('simple_publication_workflow')
    install.tiles(portal, portal.REQUEST)
    combine_bundles(portal)
    # Clear globalrequest
    clearRequest()