diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2018-05-23 13:29:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-23 13:29:08 -0500 |
commit | 8f3d717a3019233ae1aeb888b2fa6e3c4ece7861 (patch) | |
tree | 75bdda64cce2eaafeefa65de601fe9d6b5b10e63 /var | |
parent | 0ea8c4f3b2d1bdb5ff7ab8e606c42355a075ede0 (diff) | |
download | spack-8f3d717a3019233ae1aeb888b2fa6e3c4ece7861.tar.gz spack-8f3d717a3019233ae1aeb888b2fa6e3c4ece7861.tar.bz2 spack-8f3d717a3019233ae1aeb888b2fa6e3c4ece7861.tar.xz spack-8f3d717a3019233ae1aeb888b2fa6e3c4ece7861.zip |
Add PROJ 5.0.1 (#8233)
* Add PROJ 5.0.1
* proj-datumgrid resource must be placed in nad directory
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/proj/package.py | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/proj/package.py b/var/spack/repos/builtin/packages/proj/package.py index 4df976d149..5c017daafe 100644 --- a/var/spack/repos/builtin/packages/proj/package.py +++ b/var/spack/repos/builtin/packages/proj/package.py @@ -26,12 +26,31 @@ from spack import * class Proj(AutotoolsPackage): - """Cartographic Projections""" - homepage = "https://github.com/OSGeo/proj.4/wiki" - url = "http://download.osgeo.org/proj/proj-4.9.2.tar.gz" + """PROJ is a generic coordinate transformation software, that transforms + geospatial coordinates from one coordinate reference system (CRS) to + another. This includes cartographic projections as well as geodetic + transformations.""" + homepage = "https://proj4.org/" + url = "http://download.osgeo.org/proj/proj-5.0.1.tar.gz" + + version('5.0.1', '15c8d7d6a8cb945c7878d0ff322a232c') version('4.9.2', '9843131676e31bbd903d60ae7dc76cf9') version('4.9.1', '3cbb2a964fd19a496f5f4265a717d31c') version('4.8.0', 'd815838c92a29179298c126effbb1537') version('4.7.0', '927d34623b52e0209ba2bfcca18fe8cd') version('4.6.1', '7dbaab8431ad50c25669fd3fb28dc493') + + # https://github.com/OSGeo/proj.4#distribution-files-and-format + # https://github.com/OSGeo/proj-datumgrid + resource( + name='proj-datumgrid', + url='https://download.osgeo.org/proj/proj-datumgrid-1.7.tar.gz', + md5='6799bd8ac411b8a78724e34850c206c4', + placement='nad' + ) + + def configure_args(self): + return [ + 'PROJ_LIB={0}'.format(join_path(self.stage.source_path, 'nad')) + ] |