diff options
-rw-r--r-- | lib/spack/spack/test/url_parse.py | 2 | ||||
-rw-r--r-- | lib/spack/spack/url.py | 1 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/cistem/package.py | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/lib/spack/spack/test/url_parse.py b/lib/spack/spack/test/url_parse.py index 4a3550149d..9603a91213 100644 --- a/lib/spack/spack/test/url_parse.py +++ b/lib/spack/spack/test/url_parse.py @@ -43,6 +43,8 @@ from spack.version import Version ('jpegsrc.v9b', 'jpegsrc.v9b'), ('turbolinux702', 'turbolinux702'), ('converge_install_2.3.16', 'converge_install_2.3.16'), + # Download type - code, source + ('cistem-1.0.0-beta-source-code', 'cistem-1.0.0-beta'), # Download type - src ('apache-ant-1.9.7-src', 'apache-ant-1.9.7'), ('go1.7.4.src', 'go1.7.4'), diff --git a/lib/spack/spack/url.py b/lib/spack/spack/url.py index ed3867ba7b..ddcfe9c17e 100644 --- a/lib/spack/spack/url.py +++ b/lib/spack/spack/url.py @@ -169,6 +169,7 @@ def strip_version_suffixes(path): # Download type '[Ii]nstall', 'all', + 'code', 'src(_0)?', '[Ss]ources?', 'file', 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') |