summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/gmt
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-10-28 20:27:54 -0500
committerGitHub <noreply@github.com>2019-10-28 20:27:54 -0500
commit2264e30d99d8b9fbdec8fa69b594e53d8ced15a1 (patch)
treeb361d4d420ab2668be84cf27efb808d364a2abc1 /var/spack/repos/builtin/packages/gmt
parent4367e16740ccd39515ad75e86cce9f65ac46ca69 (diff)
downloadspack-2264e30d99d8b9fbdec8fa69b594e53d8ced15a1.tar.gz
spack-2264e30d99d8b9fbdec8fa69b594e53d8ced15a1.tar.bz2
spack-2264e30d99d8b9fbdec8fa69b594e53d8ced15a1.tar.xz
spack-2264e30d99d8b9fbdec8fa69b594e53d8ced15a1.zip
Update URL parsing regexes and tests (#13411)
* Update URL parsing regexes and tests * Get rid of no longer used README * Merge py-udunits and py-cf-units * netcdf -> netcdf-c * setup_environment -> setup_*_environment * Fix doc tests * Few last minute fixes * Simplify prefix removal copypasta
Diffstat (limited to 'var/spack/repos/builtin/packages/gmt')
-rw-r--r--var/spack/repos/builtin/packages/gmt/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/gmt/package.py b/var/spack/repos/builtin/packages/gmt/package.py
index 045f4e11f6..c3dbbfc8e5 100644
--- a/var/spack/repos/builtin/packages/gmt/package.py
+++ b/var/spack/repos/builtin/packages/gmt/package.py
@@ -33,7 +33,7 @@ class Gmt(Package):
depends_on('ghostscript')
depends_on('subversion')
depends_on('cmake@2.8.5:', type='build', when='@5:')
- depends_on('netcdf@4:')
+ depends_on('netcdf-c@4:')
depends_on('curl', when='@5.4:')
# Optional dependencies
@@ -58,7 +58,7 @@ class Gmt(Package):
def install(self, spec, prefix):
args = [
'--prefix={0}'.format(prefix),
- '--enable-netcdf={0}'.format(spec['netcdf'].prefix),
+ '--enable-netcdf={0}'.format(spec['netcdf-c'].prefix),
'--enable-shared',
'--without-x'
]