Add url_for_version to pango package (#6939)
This commit is contained in:
parent
48b127a225
commit
498c522a31
1 changed files with 4 additions and 0 deletions
|
@ -51,6 +51,10 @@ class Pango(AutotoolsPackage):
|
|||
depends_on("glib")
|
||||
depends_on('gobject-introspection')
|
||||
|
||||
def url_for_version(self, version):
|
||||
url = "http://ftp.gnome.org/pub/GNOME/sources/pango/{0}/pango-{1}.tar.xz"
|
||||
return url.format(version.up_to(2), version)
|
||||
|
||||
def configure_args(self):
|
||||
args = []
|
||||
if self.spec.satisfies('+X'):
|
||||
|
|
Loading…
Reference in a new issue