Skip to content
Snippets Groups Projects
Unverified Commit 498c522a authored by Adam J. Stewart's avatar Adam J. Stewart Committed by GitHub
Browse files

Add url_for_version to pango package (#6939)

parent 48b127a2
Branches
Tags
No related merge requests found
......@@ -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'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment