summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTomoyasu Nojiri <68096132+t-nojiri@users.noreply.github.com>2021-02-04 02:03:00 +0900
committerGitHub <noreply@github.com>2021-02-03 11:03:00 -0600
commit4d194dc5e449d7b7f5a7dc31ccb034ea56d6f0a8 (patch)
treea9c31d2e5739293c097d998c72862642b4cabb33 /var
parent6f4b7870f20865132040d2d301ea4d773db45434 (diff)
downloadspack-4d194dc5e449d7b7f5a7dc31ccb034ea56d6f0a8.tar.gz
spack-4d194dc5e449d7b7f5a7dc31ccb034ea56d6f0a8.tar.bz2
spack-4d194dc5e449d7b7f5a7dc31ccb034ea56d6f0a8.tar.xz
spack-4d194dc5e449d7b7f5a7dc31ccb034ea56d6f0a8.zip
http-get: Fix checksum error (#21458)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/http-get/package.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/http-get/package.py b/var/spack/repos/builtin/packages/http-get/package.py
index 9c174f7ef0..897f6f5fc1 100644
--- a/var/spack/repos/builtin/packages/http-get/package.py
+++ b/var/spack/repos/builtin/packages/http-get/package.py
@@ -12,15 +12,15 @@ class HttpGet(MakefilePackage):
It does not do gopher, ftp, file, news, or any other type of URL,
only HTTP. It can be configured to do HTTPS fetches as well."""
- homepage = "http://www.acme.com/software/http_get/"
- url = "http://www.acme.com/software/http_get/http_get_23May2018.tar.gz"
+ homepage = "https://www.acme.com/software/http_get/"
+ url = "https://www.acme.com/software/http_get/http_get_23May2018.tar.gz"
- version('2018-05-23', sha256='7d46ce25e53b6d3e27a99c1853c3054a046cc97d5e30a713a7ec986cfe7c4fe0')
+ version('2018-05-23', sha256='f04e9d911fbc0cdb7c4ebe91dae1cc951ea14b657f48309c3952dcc938bb2e0d')
def url_for_version(self, version):
ver = datetime.datetime.strptime(str(version), '%Y-%m-%d').date()
verstr = datetime.datetime.strftime(ver, '%d%b%Y')
- return "http://www.acme.com/software/http_get/http_get_{0}.tar.gz".format(verstr)
+ return "https://www.acme.com/software/http_get/http_get_{0}.tar.gz".format(verstr)
def edit(self, spec, prefix):
makefile = FileFilter("Makefile")