diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2018-07-22 16:15:37 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-07-25 23:10:10 -0700 |
commit | 020c34e13665c508d5afe13da52042d791d22367 (patch) | |
tree | 041246e7575f7cc6dfbb0652842e7d00541bda6a /var/spack/repos/builtin/packages/r-affycompatible | |
parent | 6f7eaecfa0ee0a6bbe5652c9c1d5cc6c367b799a (diff) | |
download | spack-020c34e13665c508d5afe13da52042d791d22367.tar.gz spack-020c34e13665c508d5afe13da52042d791d22367.tar.bz2 spack-020c34e13665c508d5afe13da52042d791d22367.tar.xz spack-020c34e13665c508d5afe13da52042d791d22367.zip |
tests: add checks and tests for consistent version() arguments
- Previously, Spack didn't check the arguments you put in version()
directives.
- So, you could do something like this, where there are arguments for a
URL fetcher AND for a git fetcher:
version('1.0', md5='abc123', git='https://foo.bar', commit='feda2343')
- Now, we check the arguments before constructing a fetcher, to ensure
that each package has *only* arguments for a single type of fetcher.
- Also added `test_package_version_consistency()` to the `package_sanity`
test, so that all builtin packages are required to have valid
`version()` directives.
Diffstat (limited to 'var/spack/repos/builtin/packages/r-affycompatible')
-rw-r--r-- | var/spack/repos/builtin/packages/r-affycompatible/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/r-affycompatible/package.py b/var/spack/repos/builtin/packages/r-affycompatible/package.py index f0eea26606..3747cb7649 100644 --- a/var/spack/repos/builtin/packages/r-affycompatible/package.py +++ b/var/spack/repos/builtin/packages/r-affycompatible/package.py @@ -34,9 +34,9 @@ class RAffycompatible(RPackage): (AGCC)-compatible sample annotation files.""" homepage = "https://www.bioconductor.org/packages/AffyCompatible/" - url = "https://git.bioconductor.org/packages/AffyCompatible" + git = "https://git.bioconductor.org/packages/AffyCompatible" - version('1.36.0', 'https://git.bioconductor.org/packages/AffyCompatible', commit='dbbfd43a54ae1de6173336683a9461084ebf38c3') + version('1.36.0', commit='dbbfd43a54ae1de6173336683a9461084ebf38c3') depends_on('r@3.4.0:3.4.9', when=('@1.36.0')) depends_on('r-xml', type=('build', 'run')) |