def __init__( self, env, namespaces, version, location ):
        self.__env = env
        self.__namespace_guard = "_".join( namespaces )
        self.__namespaces = namespaces
        self.__version = version
        self.__location = location

        location = cuppa.location.Location( env, location )

        self.__repository = location.repository()
        self.__branch     = location.branch()
        self.__revision   = location.revisions()[0]

        self.__variant = self.__env['variant'].name()
Example #2
0
    def __init__(self, env, namespaces, version, location):
        self.__env = env
        self.__namespace_guard = "_".join(namespaces)
        self.__namespaces = namespaces
        self.__version = version
        self.__location = location

        location = cuppa.location.Location(env, location)

        self.__repository = location.repository()
        self.__branch = location.branch()
        self.__revision = location.revisions()[0]

        self.__variant = self.__env['variant'].name()