original_docstring: Pseudo-builder for package containing other components.
  
    Args:
      self: Environment in which we were called.
      package_name: Name of package.
      dest_dir: Destination directory for package.
      kwargs: Keyword arguments.
  
    Returns:
      The alias node for the package.
    
docstring: Pseudo-builder for package containing other components.
docstring_tokens: Pseudo - builder for package containing other components .
code: def ComponentPackage(self, package_name, dest_dir, **kwargs):
    """Pseudo-builder for package containing other components.
  
    Args:
      self: Environment in which we were called.
      package_name: Name of package.
      dest_dir: Destination directory for package.
      kwargs: Keyword arguments.
  
    Returns:
      The alias node for the package.
    """
    # Clone and modify environment
    env = _ComponentPlatformSetup(self, 'ComponentPackage', **kwargs)
  
    env.Replace(
        PACKAGE_NAME=package_name,
        PACKAGE_DIR=dest_dir,
    )
  
    # Add an empty alias for the package and add it to the right groups
    a = env.Alias(package_name, [])
    for group in env['COMPONENT_PACKAGE_GROUPS']:
      SCons.Script.Alias(group, a)
  
    # Store list of components for this program
    env._StoreComponents(package_name)
  
    # Let component_targets know this target is available in the current mode
    env.SetTargetProperty(package_name, TARGET_PATH=dest_dir)
  
    # Set up deferred call to replicate resources
    env.Defer(ComponentPackageDeferred)
  
    # Return the alias, since it's the only node we have
    return a
code_tokens: def ComponentPackage ( self , package_name , dest_dir , ** kwargs ) : env = _ComponentPlatformSetup ( self , 'ComponentPackage' , ** kwargs ) env . Replace ( PACKAGE_NAME = package_name , PACKAGE_DIR = dest_dir , ) a = env . Alias ( package_name , [ ] ) for group in env [ 'COMPONENT_PACKAGE_GROUPS' ] : SCons . Script . Alias ( group , a ) env . _StoreComponents ( package_name ) env . SetTargetProperty ( package_name , TARGET_PATH = dest_dir ) env . Defer ( ComponentPackageDeferred ) return a
short_docstring: Pseudo-builder for package containing other components.
short_docstring_tokens: Pseudo - builder for package containing other components .
comment: """Pseudo-builder for package containing other components.
  
    Args:
      self: Environment in which we were called.
      package_name: Name of package.
      dest_dir: Destination directory for package.
      kwargs: Keyword arguments.
  
    Returns:
      The alias node for the package.
    """$SEP$# Clone and modify environment$SEP$# Add an empty alias for the package and add it to the right groups$SEP$# Store list of components for this program$SEP$# Let component_targets know this target is available in the current mode$SEP$# Set up deferred call to replicate resources$SEP$# Return the alias, since it's the only node we have