diff options
author | Joseph Ciurej <ciurej1@llnl.gov> | 2016-03-22 12:33:11 -0700 |
---|---|---|
committer | Joseph Ciurej <ciurej1@llnl.gov> | 2016-03-22 12:33:11 -0700 |
commit | 1728a0c3e60d55d1181f14ef5a677b1652a0680b (patch) | |
tree | 8726997703f9f4cb3a8736faa1e067ae345c0df0 | |
parent | d05e4581c9d249c0736d8d58b394860ca05f8402 (diff) | |
download | spack-1728a0c3e60d55d1181f14ef5a677b1652a0680b.tar.gz spack-1728a0c3e60d55d1181f14ef5a677b1652a0680b.tar.bz2 spack-1728a0c3e60d55d1181f14ef5a677b1652a0680b.tar.xz spack-1728a0c3e60d55d1181f14ef5a677b1652a0680b.zip |
Updated the 'crypto++' package to use an improved URL formation scheme (inspired by changes made to the 'Silo' package).
-rw-r--r-- | var/spack/repos/builtin/packages/cryptopp/package.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/cryptopp/package.py b/var/spack/repos/builtin/packages/cryptopp/package.py index 1693c4b160..743a3ac70f 100644 --- a/var/spack/repos/builtin/packages/cryptopp/package.py +++ b/var/spack/repos/builtin/packages/cryptopp/package.py @@ -8,8 +8,8 @@ class Cryptopp(Package): public-key encryption (RSA, DSA), and a few obsolete/historical encryption algorithms (MD5, Panama).""" - homepage = "http://www.cryptopp.com/" - url = "http://www.cryptopp.com/cryptopp563.zip" + homepage = "http://www.cryptopp.com" + base_url = "http://www.cryptopp.com" version('5.6.3', '3c5b70e2ec98b7a24988734446242d07') version('5.6.2', '7ed022585698df48e65ce9218f6c6a67') @@ -28,4 +28,4 @@ class Cryptopp(Package): version_tuple = tuple(v for v in iter(version)) version_string = reduce(lambda vs, nv: vs + str(nv), version_tuple, "") - return "%scryptopp%s.zip" % (Cryptopp.homepage, version_string) + return '%s/cryptopp%s.zip' % (Cryptopp.base_url, version_string) |