def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def getPackageCommits(self):
		if self.sp_obj == None:
			return ""

		return self.sp_obj.getMacro("commit")