code: def provides(self):
          
          plist = self.metadata.provides
          s = '%s (%s)' % (self.name, self.version)
          if s not in plist:
              plist.append(s)
          return plist
docs: A set of distribution names and versions provided by this distribution.
          :return: A set of "name (version)" strings.