summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2018-09-18 21:29:18 -0500
committerscheibelp <scheibel1@llnl.gov>2018-09-18 19:29:18 -0700
commit133dd7a4ac7b621df9d2296ec933c2b44bcac3ed (patch)
treeae409035ec7442f25185b7c8e1cf9be4e1d26d29 /var
parent467d501060dbad60584a310ab75d9c85778b1ee6 (diff)
downloadspack-133dd7a4ac7b621df9d2296ec933c2b44bcac3ed.tar.gz
spack-133dd7a4ac7b621df9d2296ec933c2b44bcac3ed.tar.bz2
spack-133dd7a4ac7b621df9d2296ec933c2b44bcac3ed.tar.xz
spack-133dd7a4ac7b621df9d2296ec933c2b44bcac3ed.zip
Fix version parsing for cistem package (#9260)
Adds 'code' to the list of suffixes that are excluded from version parsing of URLs, such that if a URL contains the string 'cistem-1.0.0-beta-source-code', a version X will substitute in to produce a URL with cistem-X-source-code ('source' was already excluded). The 'cistem' package version is updated to make use of this (and fix a fetching bug with the cistem package). A unit test is added to check this parsing case.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cistem/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cistem/package.py b/var/spack/repos/builtin/packages/cistem/package.py
index 75a2dd30a9..b7e6e31bfa 100644
--- a/var/spack/repos/builtin/packages/cistem/package.py
+++ b/var/spack/repos/builtin/packages/cistem/package.py
@@ -34,7 +34,7 @@ class Cistem(AutotoolsPackage):
homepage = "https://cistem.org/"
url = "https://cistem.org/system/tdf/upload3/cistem-1.0.0-beta-source-code.tar.gz?file=1&type=cistem_details&id=37&force=0"
- version('1.0.0', '479f395b30ad630df3cbba9c56eb29c2')
+ version('1.0.0-beta', '479f395b30ad630df3cbba9c56eb29c2')
depends_on('wx@3.0.2')
depends_on('fftw')