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

        A set of distribution names and versions provided by this distribution.
        :return: A set of "name (version)" strings.
        
product/gradle-plugin/src/main/python/pip/_vendor/distlib/database.py