<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def buildpack(self, url):
 """Add a buildpack by URL."""

        cmd = ["heroku", "buildpacks:add", url, "--app", self.name]
        self._run(cmd)