code: def transform_conda_deps(deps):
      
      depends = []
      for dep in deps:
          dep = dep.strip()
          name_spec = dep.split(' ', 1)
          if len(name_spec) == 1:
              name, = name_spec
              depends.append({'name':name, 'specs': []})
          elif len(name_spec) == 2:
              name, spec = name_spec
              if spec.endswith('*'):  # Star does nothing in semver
                  spec = spec[:-1]
  
              match = specs_re.match(spec)
              if match:
                  op, spec = match.groups()
              else:
                  op = '=='
  
              depends.append({'name':name, 'specs': [[op, spec]]})
          elif len(name_spec) == 3:
              name, spec, build_str = name_spec
              if spec.endswith('*'):  # Star does nothing in semver
                  spec = spec[:-1]
  
              match = specs_re.match(spec)
              if match:
                  op, spec = match.groups()
              else:
                  op = '=='
  
              depends.append({'name':name, 'specs': [['==', '%s+%s' % (spec, build_str)]]})
  
      return {'depends': depends}
docs: Format dependencies into a common binstar format