summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMichael Kuhn <suraia@ikkoku.de>2019-01-31 03:53:08 +0100
committerPeter Scheibel <scheibel1@llnl.gov>2019-01-30 20:53:08 -0600
commitb1af6b43dc7a219a870308a4fbef98b22aee125a (patch)
tree4befbc2c9f9469cf164d7d3a1ae13708a2046240 /var
parent3ce0fba036630b0f635dc1868a009de7c2ca0103 (diff)
downloadspack-b1af6b43dc7a219a870308a4fbef98b22aee125a.tar.gz
spack-b1af6b43dc7a219a870308a4fbef98b22aee125a.tar.bz2
spack-b1af6b43dc7a219a870308a4fbef98b22aee125a.tar.xz
spack-b1af6b43dc7a219a870308a4fbef98b22aee125a.zip
gobject-introspection: add 1.56.1 and fix download (#10462)
Define url_for_version, since Spack's default substitution is not sufficient
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gobject-introspection/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gobject-introspection/package.py b/var/spack/repos/builtin/packages/gobject-introspection/package.py
index 4e479294f7..d60ec19921 100644
--- a/var/spack/repos/builtin/packages/gobject-introspection/package.py
+++ b/var/spack/repos/builtin/packages/gobject-introspection/package.py
@@ -15,6 +15,7 @@ class GobjectIntrospection(Package):
homepage = "https://wiki.gnome.org/Projects/GObjectIntrospection"
url = "http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/1.49/gobject-introspection-1.49.2.tar.xz"
+ version('1.56.1', '5b2875ccff99ff7baab63a34b67f8c920def240e178ff50add809e267d9ea24b')
version('1.49.2', 'c47a76b05b2d8438089f519922180747')
version('1.48.0', '01301fa9019667d48e927353e08bc218')
@@ -52,6 +53,10 @@ class GobjectIntrospection(Package):
# inserted into the scripts as they're generated.
patch("sbang.patch")
+ def url_for_version(self, version):
+ url = 'http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/{0}/gobject-introspection-{1}.tar.xz'
+ return url.format(version.up_to(2), version)
+
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
# we need to filter this file to avoid an overly long hashbang line