diff options
author | Joseph Ciurej <ciurej1@llnl.gov> | 2016-03-22 15:55:54 -0700 |
---|---|---|
committer | Joseph Ciurej <ciurej1@llnl.gov> | 2016-03-22 15:55:54 -0700 |
commit | 474db2085e223b8226a6ae799232bb2fede3efde (patch) | |
tree | 63d9f84e97219ffb2569a879fef100b61702e022 | |
parent | 1728a0c3e60d55d1181f14ef5a677b1652a0680b (diff) | |
download | spack-474db2085e223b8226a6ae799232bb2fede3efde.tar.gz spack-474db2085e223b8226a6ae799232bb2fede3efde.tar.bz2 spack-474db2085e223b8226a6ae799232bb2fede3efde.tar.xz spack-474db2085e223b8226a6ae799232bb2fede3efde.zip |
Simplified the 'url_for_version' function for the 'Crypto++' package.
-rw-r--r-- | var/spack/repos/builtin/packages/cryptopp/package.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/cryptopp/package.py b/var/spack/repos/builtin/packages/cryptopp/package.py index 743a3ac70f..bc83cb2b65 100644 --- a/var/spack/repos/builtin/packages/cryptopp/package.py +++ b/var/spack/repos/builtin/packages/cryptopp/package.py @@ -25,7 +25,5 @@ class Cryptopp(Package): install('libcryptopp.a', prefix.lib) def url_for_version(self, version): - version_tuple = tuple(v for v in iter(version)) - version_string = reduce(lambda vs, nv: vs + str(nv), version_tuple, "") - + version_string = str(version).replace('.', '') return '%s/cryptopp%s.zip' % (Cryptopp.base_url, version_string) |