diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/gtksourceview/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/gtksourceview/package.py | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/var/spack/repos/builtin/packages/gtksourceview/package.py b/var/spack/repos/builtin/packages/gtksourceview/package.py index 15732bc2c6..2288ce820f 100644 --- a/var/spack/repos/builtin/packages/gtksourceview/package.py +++ b/var/spack/repos/builtin/packages/gtksourceview/package.py @@ -16,30 +16,30 @@ class Gtksourceview(AutotoolsPackage): """ homepage = "https://projects.gnome.org/gtksourceview" - url = "https://download.gnome.org/sources/gtksourceview/4.2/gtksourceview-4.2.0.tar.xz" - - version('4.2.0', sha256='c431eb234dc83c7819e58f77dd2af973252c7750da1c9d125ddc94268f94f675') - version('3.24.11', sha256='691b074a37b2a307f7f48edc5b8c7afa7301709be56378ccf9cc9735909077fd') - - depends_on('m4', type='build') - depends_on('autoconf', type='build') - depends_on('automake', type='build') - depends_on('libtool', type='build') - depends_on('gobject-introspection', type='build') - depends_on('intltool', type='build') - depends_on('pkgconfig', type='build') - depends_on('gettext') - depends_on('glib@2.48.0:', when='@3.24.11:4.2.0') - depends_on('gtkplus@3.20.0:', when='@3.24.11:4.2.0') - depends_on('libxml2@2.6:', when='@3.24.11:4.2.0') - depends_on('pango') - depends_on('gdk-pixbuf') - depends_on('atk') - depends_on('iconv') + url = "https://download.gnome.org/sources/gtksourceview/4.2/gtksourceview-4.2.0.tar.xz" + + version("4.2.0", sha256="c431eb234dc83c7819e58f77dd2af973252c7750da1c9d125ddc94268f94f675") + version("3.24.11", sha256="691b074a37b2a307f7f48edc5b8c7afa7301709be56378ccf9cc9735909077fd") + + depends_on("m4", type="build") + depends_on("autoconf", type="build") + depends_on("automake", type="build") + depends_on("libtool", type="build") + depends_on("gobject-introspection", type="build") + depends_on("intltool", type="build") + depends_on("pkgconfig", type="build") + depends_on("gettext") + depends_on("glib@2.48.0:", when="@3.24.11:4.2.0") + depends_on("gtkplus@3.20.0:", when="@3.24.11:4.2.0") + depends_on("libxml2@2.6:", when="@3.24.11:4.2.0") + depends_on("pango") + depends_on("gdk-pixbuf") + depends_on("atk") + depends_on("iconv") def url_for_version(self, version): - url = 'https://download.gnome.org/sources/gtksourceview/' - url += '{0}/gtksourceview-{1}.tar.xz' + url = "https://download.gnome.org/sources/gtksourceview/" + url += "{0}/gtksourceview-{1}.tar.xz" return url.format(version.up_to(2), version) def setup_dependent_build_environment(self, env, dependent_spec): @@ -57,5 +57,5 @@ class Gtksourceview(AutotoolsPackage): # TODO: If https://github.com/spack/spack/pull/12344 is merged, this # method is unnecessary. def autoreconf(self, spec, prefix): - autoreconf = which('autoreconf') - autoreconf('-ifv') + autoreconf = which("autoreconf") + autoreconf("-ifv") |