code: def del_repo(repo, **kwargs):
      '''
      Remove an XBPS repository from the system.
  
      repo
          url of repo to remove (persistent).
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt '*' pkg.del_repo <repo url>
      '''
  
      try:
          _locate_repo_files(repo, rewrite=True)
      except IOError:
          return False
      else:
          return Truf del_repo(repo, **kwargs):
      '''
      Remove an XBPS repository from the system.
  
      repo
          url of repo to remove (persistent).
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt '*' pkg.del_repo <repo url>
      '''
  
      try:
          _locate_repo_files(repo, rewrite=True)
      except IOError:
          return False
      else:
          return True
docs: Remove an XBPS repository from the system.
  
      repo
          url of repo to remove (persistent).
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt '*' pkg.del_repo <repo url>