summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorKelly (KT) Thompson <kgt@lanl.gov>2016-08-01 22:54:51 -0600
committerKelly (KT) Thompson <kgt@lanl.gov>2016-08-01 22:54:51 -0600
commit9433e8477657c54e8377b6131e0b3eeb56386c79 (patch)
treec1bcddbc404004ccd7d17848d48684769b42a910 /var
parent17f0eb51483b13270219e70b0c7e405f191b9d86 (diff)
downloadspack-9433e8477657c54e8377b6131e0b3eeb56386c79.tar.gz
spack-9433e8477657c54e8377b6131e0b3eeb56386c79.tar.bz2
spack-9433e8477657c54e8377b6131e0b3eeb56386c79.tar.xz
spack-9433e8477657c54e8377b6131e0b3eeb56386c79.zip
Formatting changes for flake8.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/atk/package.py3
-rw-r--r--var/spack/repos/builtin/packages/glib/package.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/atk/package.py b/var/spack/repos/builtin/packages/atk/package.py
index 361ea24b96..d5b6933ec3 100644
--- a/var/spack/repos/builtin/packages/atk/package.py
+++ b/var/spack/repos/builtin/packages/atk/package.py
@@ -41,7 +41,8 @@ class Atk(Package):
def url_for_version(self, version):
"""Handle atk's version-based custom URLs."""
- return 'http://ftp.gnome.org/pub/gnome/sources/atk/%s/atk-%s.tar.xz' % (version.up_to(2), version)
+ url = 'http://ftp.gnome.org/pub/gnome/sources/atk'
+ return 'url+/%s/atk-%s.tar.xz' % (version.up_to(2), version)
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
diff --git a/var/spack/repos/builtin/packages/glib/package.py b/var/spack/repos/builtin/packages/glib/package.py
index 3450791124..98704eaa4c 100644
--- a/var/spack/repos/builtin/packages/glib/package.py
+++ b/var/spack/repos/builtin/packages/glib/package.py
@@ -49,7 +49,8 @@ class Glib(Package):
def url_for_version(self, version):
"""Handle glib's version-based custom URLs."""
- return 'http://ftp.gnome.org/pub/gnome/sources/glib/%s/glib-%s.tar.xz' % (version.up_to(2), version)
+ url = 'http://ftp.gnome.org/pub/gnome/sources/glib'
+ return url+'/%s/glib-%s.tar.xz' % (version.up_to(2), version)
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)